diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e43a0fafd..3ae904a4bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Move Tax Field under Grand Total on Cart when Tax inclusive. [#1903](https://github.com/bigcommerce/cornerstone/pull/1903) - Added styling config for the PayPal SPB on checkout page [#1866](https://github.com/bigcommerce/cornerstone/pull/1866) ## 4.12.1 (11-10-2020) diff --git a/lang/en.json b/lang/en.json index 42d3797ca2..c120bd0883 100755 --- a/lang/en.json +++ b/lang/en.json @@ -71,6 +71,7 @@ "coupon_code": "Coupon Code", "discount": "Discount", "gift_certificate": "Gift Certificate", + "included_in_total": " Included in Total", "remove_file": "Remove this file", "freeshipping": "Free Shipping", "reconfigure_product": "Configure '{name}'", diff --git a/templates/components/cart/totals.html b/templates/components/cart/totals.html index 236343e598..2194ee8a65 100644 --- a/templates/components/cart/totals.html +++ b/templates/components/cart/totals.html @@ -30,14 +30,16 @@ {{/if}} {{#each cart.taxes}} -
  • -
    - {{name}}: -
    -
    - {{cost.formatted}} -
    -
  • + {{#unless included}} +
  • +
    + {{name}}: +
    +
    + {{cost.formatted}} +
    +
  • + {{/unless}} {{/each}} {{#if cart.discount }}
  • @@ -104,4 +106,16 @@ {{/or}}
  • + {{#each cart.taxes}} + {{#if included}} +
  • +
    + {{concat name (lang 'cart.included_in_total')}}: +
    +
    + {{cost.formatted}} +
    +
  • + {{/if}} + {{/each}}