Jump to content

where is the {products} template located


Recommended Posts

HELP

I'm using prestashop 1.4.9. I have modified the order_conf.html email so that none of the table data is used for the display of the products ordered, such as table row titles, shipping, total price etc. This was relatively easy as all the table code was in the order_conf.html email.

 

However there is a tag in the template that I assume pulls in another template file to actually didplay the products purchased. Within the order_conf.html is this tag:

 

{products}

 

Does anyone know where the template for this file is located so I can edit this file.

 

I do not want to display all the sales information to a customer, I just want to show a summary list of the products purchased with no prices, quantity shipping, tax etc.

 

Please help!

 

Thanks

 

Lee

Link to comment
Share on other sites

Within the order_conf.html is this tag:

{products}

Does anyone know where the template for this file is located so I can edit this file.

 

It is not a template but a short code which is assigned within a PHP file and passed to a mail function within an array parameter. /classes/PaymentModule.php, assigned on line 505

 

'{products}' => $productsList,

 

In turn $productsList variable is built and assigned on lines 173, 318, 329

 

Hope that helps!

 

Marty Shue

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