Jump to content

Prestashop 8.2: Add customization text to order_conf


Recommended Posts

Hello,

I use Prestashop 8.2.

I have an article which allows for individual text added to it. How can I adapt my order confirmation email, so that it contains the individual text?

What is the variable and where does it need to go?

 

Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

You can edit the file "\classes\PaymentModule.php", where you will find function "validateOrder". See code around line 625, where all variables are declared and add your var....

 

However the best way to do this is by making override of Payment class and edit the code.

Best of luck 😊

  • Like 1
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...