Missing product title - product variable title visible

Created on 11 June 2023, over 1 year ago
Updated 10 July 2024, 6 months ago

Problem

Sending the shipping confirmating using commerce-shipment-confirmation.html.twig the product title and sku is missing but the product variable title is visible. The product title is important to show the unique product because some product variable titles are the same. This can confuse customers when 2 products have the same variable title while the product tile is invisible. They also have no sku reference.
After many attempts I found no method via tokens to add the sku and product title. Those token fields appear empty.

Steps to reproduce

Add extra tokens in "commerce-shipment-confirmation.html.twig" like this and create the final shipping confirmation

{% for shipment_item in shipment_entity.getItems() %}

Proposed resolution

A method to be able to add these tokens and use them in "commerce-shipment-confirmation.html.twig"

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom Rob-PS

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024