Jump to content

Problema con SmartyCompiler


FabiusM

Recommended Posts

Ciao, 

ho ricevuto un errore quando ho avviato uno script... la directory da cui lo lancio è '/modules/custommodules/cron/script.php'

includo questi file prima di eseguirlo

include_once(_PS_ENGFATT_MODULE_DIR_ . '/../../../config/config.inc.php');
include_once(_PS_ENGFATT_MODULE_DIR_ . '/../../../init.php');
include_once(_PS_ENGFATT_MODULE_DIR_ . '/../../../config/settings.inc.php');

l'errore è il seguente

Syntax error in template "file:/.../pdf/order-slip.product-tab.tpl" on line 56 "- {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl}" unknown tag 'displayPrice'

nello specifico quando istanzio questo oggetto:

$htmlPrintSlip = new HTMLTemplateOrderSlip($slip, Context::getContext()->smarty);
$htmlPrintSlip->getContent();

cosa sbaglio?

 

grazie mille!

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...