I need to add an affiliate tag to the receipt template. How can I get the price without shipping and tax.
Include the 'NumericOrderTotalCGI' variable in your reciept template.
-Edit Orderscript.pl in the Site folder using a text editor such as Notepad.
-Search for 'NUMERICORDERTOTALCGI'.
-You should see the lines...
@Response = ActinicOrder::FormatPrice($nTotal, $::FALSE, $::g_pCatalogBlob);
if ($Response[0] != $::SUCCESS)
{
return (@Response);
}
$::s_VariableTable{$::VARPREFIX.'NUMERICORDERTOTALCGI'} = ACTINIC::EncodeText2($Response[2]);
-Change the first line to...
@Response = ActinicOrder::FormatPrice($nSubTotal, $::FALSE, $::g_pCatalogBlob);
SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.
Include the 'NumericOrderTotalCGI' variable in your reciept template.
-Edit Orderscript.pl in the Site folder using a text editor such as Notepad.
-Search for 'NUMERICORDERTOTALCGI'.
-You should see the lines...
@Response = ActinicOrder::FormatPrice($nTotal, $::FALSE, $::g_pCatalogBlob);
if ($Response[0] != $::SUCCESS)
{
return (@Response);
}
$::s_VariableTable{$::VARPREFIX.'NUMERICORDERTOTALCGI'} = ACTINIC::EncodeText2($Response[2]);
-Change the first line to...
@Response = ActinicOrder::FormatPrice($nSubTotal, $::FALSE, $::g_pCatalogBlob);
SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.