Skip to content

Commit d94fdae

Browse files
fix(storefront): TRAC-633 show ship-to address only fo completed or shipped orders
1 parent 4f525a0 commit d94fdae

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## Draft
8+
- Update ship to message based on order status [#2647](https://github.com/bigcommerce/cornerstone/pull/2647)
89

910
## 6.19.1 (04-09-2026)
1011
- Update stencil-utils versionto 6.23.0 [#2638](https://github.com/bigcommerce/cornerstone/pull/2638)

templates/components/account/order-contents.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@ <h3 class="account-heading">{{lang 'account.orders.details.order_contents'}}</h3
22

33
<ul class="account-list">
44
{{#each order.items}}
5-
{{#if shipping_rows.length}}
5+
{{#and ../order.is_complete shipping_rows.length}}
66
{{#each shipping_rows}}
7-
{{#if is_shipping}}
8-
<li class="account-listShipping">
9-
<h5 class="account-listShipping-title">{{lang 'account.orders.details.ship_to_multi' street=address city=city state=state zip=zip country=country}}</h5>
10-
</li>
11-
{{/if}}
7+
<li class="account-listShipping">
8+
<h5 class="account-listShipping-title">{{lang 'account.orders.details.ship_to_multi' street=address city=city state=state zip=zip country=country}}</h5>
9+
</li>
1210
{{/each}}
13-
{{/if}}
11+
{{/and}}
1412
<li class="account-listItem">
1513
<div class="account-product account-product--alignMiddle">
1614
<div class="account-product-checkItem">

0 commit comments

Comments
 (0)