Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 844 Bytes

2022-10-21-add-order-tax-state-footnote-in-customer-order-history.md

File metadata and controls

11 lines (11 loc) · 844 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: Add order tax state footnote in customer's order history
issue: NEXT-28673
author: Joshua Behrens
author_email: code@joshua-behrens.de
author_github: @JoshuaBehrens
---

Storefront

  • Added overridable variable showVatNotice to @Storefront/storefront/layout/footer/footer.html.twig to show or hide the VAT notice. It is still shown by default
  • Added override for block base_footer_inner to @Storefront/storefront/page/account/order-history/index.html.twig and pass showVatNotice as false to hide the global VAT notice on order history pages
  • Added VAT section to order history item matching the order VAT state. It is wrapped by block page_account_order_item_detail_table_footnote after page_account_order_item_detail_table_labels_summary in @Storefront/storefront/page/account/order-history/order-detail.html.twig