Jump to content

Email template modification


kepak

Recommended Posts

I got prestashop 9.0.2

I want to modify email template for new order. 

In the ps_emailalerts -> new order there are list of ordered product

<th style="border:1px solid #D6D4D4;">{{ 'Reference'|trans({}, 'Emails.Body', locale)|raw }}</th>
<th style="border:1px solid #D6D4D4;">{{ 'Product'|trans({}, 'Emails.Body', locale)|raw }}</th>
<th style="border:1px solid #D6D4D4;">{{ 'Unit price'|trans({}, 'Emails.Body', locale)|raw }}</th>
<th style="border:1px solid #D6D4D4;">{{ 'Quantity'|trans({}, 'Emails.Body', locale)|raw }}</th>
<th style="border:1px solid #D6D4D4;">{{ 'Total price'|trans({}, 'Emails.Body', locale)|raw }}</th>

I got added feature in products called "Company Owned" I want to insert to this mail

 

I assume that I should edit file prestashop/mails/themes/classic/modules/ps_emailalerts/new_order.html.twig and somehow add this , but is this possible to get value of a product feature?

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