Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 741 Bytes

2021-10-02-replace-twig-line-item-types-with-constants.md

File metadata and controls

9 lines (9 loc) · 741 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Replace Twig LineItem types with constants
issue: NEXT-17683
author: Ioannis Pourliotis
author_email: [email protected]
author_github: @PheysX
---

Storefront

  • Changed the Twig templates src/Storefront/Resources/views/storefront/component/checkout/offcanvas-item.html.twig, src/Storefront/Resources/views/storefront/page/account/order-history/order-detail-list-item.html.twig, src/Storefront/Resources/views/storefront/page/account/order-history/order-item.html.twig, src/Storefront/Resources/views/storefront/page/checkout/checkout-aside-item.html.twig and src/Storefront/Resources/views/storefront/page/checkout/checkout-item.html.twig to use the constants defined in src/Core/Checkout/Cart/LineItem/LineItem.php.