bouledecat2 Posted April 20, 2018 Share Posted April 20, 2018 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now