Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(checkout): CHECKOUT-7557 display fees on cart page #2376

Merged
merged 1 commit into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added ACH payment method section to My Account -> Payment Methods page [#2362](https://github.com/bigcommerce/cornerstone/pull/2362)
- Remove data_tag_enabled check from everywhere [#2369][https://github.com/bigcommerce/cornerstone/pull/2369]
- Fix add product to cart on iphone x (iphone version 11) [#2370][https://github.com/bigcommerce/cornerstone/pull/2370]
- Display fees on cart page [#2360](https://github.com/bigcommerce/cornerstone/pull/2376)

## 6.11.0 (05-24-2023)
- Reverted fix for sold-out badge appearance [#2354](https://github.com/bigcommerce/cornerstone/pull/2354)
Expand Down
12 changes: 12 additions & 0 deletions templates/components/cart/totals.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@
</div>
</li>
{{/if}}
{{#if cart.fees}}
{{#each cart.fees}}
huntario marked this conversation as resolved.
Show resolved Hide resolved
<li class="cart-total">
<div class="cart-total-label">
<strong>{{display_name}}:</strong>
</div>
<div class="cart-total-value">
<span>{{cost.formatted}}</span>
</div>
</li>
{{/each}}
{{/if}}
{{#if cart.shipping_handling.show_estimator}}
<li class="cart-total">
<div class="cart-total-label">
Expand Down