Jump to content

Add item weight on New Order email template


Recommended Posts

Hi!

I'm running Prestashop V.1.7.8

I want to change the template on the New Order email I get when someone orders something. 
I would like to add a new column on the product details table below with the total weight of the product (item weight x quantity).

How can I do that? I would really appreciate some help on this, thank you!

image.png.0416da8a2556d9d2bf23068d00adb6ec.png

Link to comment
Share on other sites

On 4/10/2025 at 9:30 AM, ComGrafPL said:

You could try with add something like: You want it in order confirmation for client either new order for admin?

{$product.weight * $product.quantity}

Thank you for the response! 

I just need it for admin new order confirmation. Could you please help me identify the file that I need to adjust?

 

Link to comment
Share on other sites

  • 3 weeks later...
On 4/16/2025 at 3:50 PM, xDani said:

Thank you for the response! 

I just need it for admin new order confirmation. Could you please help me identify the file that I need to adjust?

 

You need to make changes in the files below.

You need to add a new column header in this file: ROOT_DIR/mails/en/order_conf.html

& need to add related value in this file: ROOT_DIR/mails/_partials/order_conf_product_list.tpl

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