Jump to content

[RISOLTO] Allegati per email ordini


PandAttack

Recommended Posts

Se può servire a qualcuno ho trovato la soluzione su questo post:

 

https://www.prestashop.com/forums/topic/532204-solved-attach-an-extra-pdf-to-order-confirmation-e-mail/

 

l'unica cosa a cui fare attenzione è di modificare questa riga 

 

$extra_pdf['content'] = Tools::file_get_contents(_PS_ROOT_DIR_.'extradocs/nomeFile.pdf');
 
mettendo davanti a extradocs lo slash, in pratica
 
$extra_pdf['content'] = Tools::file_get_contents(_PS_ROOT_DIR_.'/extradocs/nomeFile.pdf');
 
 
Link to comment
Share on other sites

  • 2 months later...
  • 1 year later...

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