How can I make a discount coupon? And how can I make the invoice date? In the image:
{ADVERTISER_NAME} - ADAG_ADVERTISER_NAME
{PACKAGE_NAME} - ADAG_PACKAGE_NAME
{AMOUNT} - ADAG_PACKAGE_PRICE
{REFERENCE_ID} - ADAG_REFERENCE_ID
{CURRENCY}...
The discount is *_ad_agency_promocodes how to get him out?
Added to the file: /models/adagencyplugin.php
$email_body = str_replace("{PACKAGE_DATESS}", $order_details["0"]["order_date"], $email_body);
$email_body = str_replace("{PACKAGE_PROMOCODE}", $order_details["0"]["promocodeid"], $email_body);
$email_body = str_replace("{PACKAGE_COMPANY}", $order_details["0"]["company"], $email_body);
$email_body = str_replace("{ADRESS_COMPANY}", $order_details["0"]["description"], $email_body
)order_date - ok
promocodeid - ?
company -?
description -?
Please help to show the calculation of the discount, the name and address of the company!