0

How can I add this part ( it is a variant of parent product which customer bought)

enter image description here

Into a transation email. Right now I have only The basic name and the sku enter image description here

3
  • Same question as magento.stackexchange.com/questions/269899/… but differnet user? Please consider my comment in that question and check your customizations
    – HelgeB
    Commented Apr 15, 2019 at 10:45
  • I paste this code into items.phtml and still got nothing in the email. Can You tell me where is the mistake:
    – DLH
    Commented Apr 16, 2019 at 11:18
  • <?php if ($this->getItemOptions()): ?> <dl style="margin:0; padding:0;"> <?php foreach ($this->getItemOptions() as $option): ?> <dt><strong><em><?php echo $option['label'] ?></em></strong></dt> <dd style="margin:0; padding:0 0 0 9px;"> <?php echo nl2br($option['value']) ?> </dd> <?php endforeach ?> </dl> <?php endif ?>
    – DLH
    Commented Apr 16, 2019 at 11:19

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.