Skip to content
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 @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Draft
- Fix shipment info showing for cancelled orders [#2654](https://github.com/bigcommerce/cornerstone/pull/2654)
- Render backorder prompts on My Account "Your orders" page [#2650](https://github.com/bigcommerce/cornerstone/pull/2650)
Comment thread
bc-yevhenii-buliuk marked this conversation as resolved.

## 6.19.1 (04-09-2026)
- Update stencil-utils versionto 6.23.0 [#2638](https://github.com/bigcommerce/cornerstone/pull/2638)
Expand Down
16 changes: 16 additions & 0 deletions assets/scss/components/stencil/account/_account.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,22 @@
margin-bottom: 0;
}

.account-product-backorder-prompts {
font-size: fontSize("smaller");
margin-bottom: spacing("quarter");

&:last-of-type {
margin-bottom: 0;
}
}

.account-order-backorder-expectation {
color: color("greys", "light");
font-size: fontSize("smaller");
margin-bottom: 0;
margin-top: spacing("base");
}

.account-product-details {
@include grid-row($behavior: "nest");
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions templates/components/account/order-contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,15 @@ <h6>{{brand.name}}</h6>
</dd>
</dl>
{{/if}}
{{#if quantity_backordered '>' 0}}
{{#if (subtract quantity quantity_backordered) '>' 0}}
<p class="account-product-backorder-prompts">{{lang 'products.quantity_on_hand' quantity=(subtract quantity quantity_backordered)}}</p>
{{/if}}
<p class="account-product-backorder-prompts">{{lang 'products.quantity_backordered' quantity=quantity_backordered}}</p>
{{#if backorder_message}}
<p class="account-product-backorder-prompts">{{backorder_message}}</p>
{{/if}}
{{/if}}
{{#if refunded}}
<p class="account-product-refundQty">{{lang 'account.orders.refunded_quantity' qty=refunded_qty}}</p>
{{else}}
Expand Down
6 changes: 6 additions & 0 deletions templates/pages/account/orders/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ <h3 class="account-heading">{{lang 'account.orders.details.ship_to'}}</h3>
<li>{{{ sanitize order.shipping_address.city}}}, {{{ sanitize order.shipping_address.state}}} {{{ sanitize order.shipping_address.zip}}}</li>
<li>{{{ sanitize order.shipping_address.country}}}</li>
</ul>
{{#if order.backorder_shipping_expectation_message}}
<p class="account-order-backorder-expectation">{{order.backorder_shipping_expectation_message}}</p>
{{/if}}
</section>
{{/if}}
{{#if order.pickup_addresses}}
Expand Down Expand Up @@ -112,6 +115,9 @@ <h3 class="account-heading">{{lang 'account.orders.details.ship_to'}}</h3>
<div class="account-order-address">
{{lang 'account.orders.details.ship_to_multi_text'}}
</div>
{{#if order.backorder_shipping_expectation_message}}
<p class="account-order-backorder-expectation">{{order.backorder_shipping_expectation_message}}</p>
{{/if}}
</section>
{{/if}}
{{/if}}
Expand Down
Loading