Skip to content

Commit 8dfc586

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

3 files changed

Lines changed: 8 additions & 9 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 shipping message for order page [#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)

lang/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
"heading": "Order #{number}",
361361
"order_contents": "Order Contents",
362362
"ship_to": "Ship To",
363-
"ship_to_multi": "Items shipped to {street}, {city}, {state}, {zip}, {country}",
363+
"ship_to_multi": "Ship to {street}, {city}, {state}, {zip}, {country}",
364364
"ship_to_multi_text": "Order will be shipped to multiple addresses",
365365
"pickup_details": "Pickup Details",
366366
"bill_to": "Bill To",

templates/components/account/order-contents.html

Lines changed: 6 additions & 8 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}}
6-
{{#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}}
12-
{{/each}}
5+
{{#each shipping_rows}}
6+
{{#if is_shipping}}
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>
1310
{{/if}}
11+
{{/each}}
1412
<li class="account-listItem">
1513
<div class="account-product account-product--alignMiddle">
1614
<div class="account-product-checkItem">

0 commit comments

Comments
 (0)