#472 Questions regarding order email template

Posted in ‘Technical Support / Bugs’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by ulric gress on Wednesday, 24 September 2025 05:36 UTC

ulric gress

Hi Olivier,

Everything is working on our side – great! I just have a couple of questions:

1. The customer has requested that the product **SKU** is added to the email template. When I look at the available shortcodes, I don’t see SKU as an option. Do you have a suggestion? Should I perhaps use custom fields for this?

2. The email sent to both the order handler and the customer currently does **not include the product image** in the table overview. Do you have any thoughts on how to add this?

That’s all for now. Thanks a lot in advance!

Best regards,
Ulric

Olivier

Hello Ulric,

the information you need is in the 'order item' section of the template. 

As far as the product image, you can set it in the configuration of J2Commerce. In the 'Order' tab, you have the option 'Product Thumbnail image in email template'.

Then I believe the remaining options are similar to product and cart views. For instance, 'Show sku' in the 'Product' tab of the configuration.

If you need to make changes to the order item table, you can do so by creating an override. You can find more information at https://docs.j2commerce.com/design/email-templates#how-to-create-a-template-override-for-the-items-table-showing-in-the-order-email-

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

ulric gress

Hi Olivier,

Thanks for your reply earlier.

The customer would like SKU shown **outside the [items] table**, in the “Order Information” block together with Order ID, date, status, etc.

From what I can see, the Simple Email Editor can only show SKU inside the [items] table (or through an override of that table). Is there a shortcode/token available for the Order Information block, or would the only solution be to switch to Advanced/PHP and create an override there?

If no token exists, it probably makes the most sense to keep SKU in the [items] table and simply let the customer know that the SKU is listed there under each product in the order.

Thanks!

Best regards,
Ulric

Olivier

Ulric,

I am afraid this was the only way to do it.

If several products were purchased at one time, there is not one sku for the order but several and we need to loop through the products. One sku shortcode would not be correct in those cases.

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

ulric gress

Olivier,

Thanks for clarifying. The request came from the customer, who wanted SKU shown in the Order Information block. But you’re right — a single SKU shortcode at order level doesn’t make sense when there can be multiple products.

I’ll explain this to the customer and let them know that SKU is correctly displayed in the [items] table under each product, which is the proper solution.

Best regards,
Ulric

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.