Jump to content

Plugin tag "convertPrice" already registered


Recommended Posts

Bonjour,

J'essaye actuellement de générer une facture après la validation de la commande sur mon prestashop 1.7.2.4 . Mon code ci-desssous :

$context = Context::getContext();
$order = new Order($id_order);
$invoice = $order->getInvoicesCollection();
$file_attachement = array();
Hook::exec('actionPDFInvoiceRender', array('order_invoice_list' => $invoice));
$pdf = new PDF($invoice, PDF::TEMPLATE_INVOICE, $context->smarty);

Mais j'ai toujours la même erreur (ci-dessous) en retour et je n'arrive pas à résoudre mon problème.

SmartyException in smarty_internal_templatebase.php line 449: Plugin tag "convertPrice" already registered

 

Pourriez-vous m'aider?

Merci

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...