From 1853cddd14c2781858fb8d47bd64cd133985ffce Mon Sep 17 00:00:00 2001 From: bc-apostoliuk Date: Tue, 16 Jun 2026 17:24:30 +0300 Subject: [PATCH 1/3] feat(account): BACK-692 show picklist backorder prompts on order details Render per-picklist-option backorder prompts on the account order details page so each backordered bundle option shows its own "N will be backordered" message plus the backorder message, mirroring the PDP bundle backorder display. Item-level backorder prompts are unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 1 + templates/components/account/order-contents.html | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45865adab8..6d1caa2321 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft +- Render per-picklist-option backorder prompts (backordered quantity and backorder message) on the account order details page, mirroring the PDP bundle backorder display - Refine backorder layout and colors on the account order details page [#2677](https://github.com/bigcommerce/cornerstone/pull/2677) - Make the cart Shipping row label span the full width of the totals row so the shipping expectation prompt is no longer constrained to the narrow label column - Respect `unlimited_backorder` on PDP so the backorder quantity message and availability prompt render, and the Add to Cart quantity cap is lifted for products with unlimited backorder diff --git a/templates/components/account/order-contents.html b/templates/components/account/order-contents.html index bd474c8c25..11563add77 100644 --- a/templates/components/account/order-contents.html +++ b/templates/components/account/order-contents.html @@ -58,7 +58,15 @@
{{brand.name}}
{{#each options}}
{{name}}:
-
{{> components/common/product-options}}
+
+ {{> components/common/product-options}} + {{#if quantity_backordered '>' 0}} + + {{#if backorder_message}} + + {{/if}} + {{/if}} +
{{/each}}
{{/if}} From 359d5fe61dedae8ec3ff86dea046c71baa462c7d Mon Sep 17 00:00:00 2001 From: bc-apostoliuk Date: Wed, 17 Jun 2026 10:26:19 +0300 Subject: [PATCH 2/3] fix(account): BACK-692 show parent backorder prompts under product title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The order details item-level backorder block previously rendered after the options/gift-wrapping/event-date list, so the parent product's backorder prompts (ready to ship / N backordered / message) visually attached to the last bundle option. Move it directly under the product title so it is clearly attributed to the parent product, with per-picklist-option backorder prompts still rendered under each option — matching the PDP layout where the main product and each bundle show their backorder status separately. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 2 +- .../components/account/order-contents.html | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d1caa2321..6ce4fb4af4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft -- Render per-picklist-option backorder prompts (backordered quantity and backorder message) on the account order details page, mirroring the PDP bundle backorder display +- Show backorder prompts on the account order details page for both the parent product (under the product title) and each picklist option, mirroring the PDP backorder display - Refine backorder layout and colors on the account order details page [#2677](https://github.com/bigcommerce/cornerstone/pull/2677) - Make the cart Shipping row label span the full width of the totals row so the shipping expectation prompt is no longer constrained to the narrow label column - Respect `unlimited_backorder` on PDP so the backorder quantity message and availability prompt render, and the Add to Cart quantity cap is lifted for products with unlimited backorder diff --git a/templates/components/account/order-contents.html b/templates/components/account/order-contents.html index 11563add77..323d1d00a8 100644 --- a/templates/components/account/order-contents.html +++ b/templates/components/account/order-contents.html @@ -54,6 +54,15 @@ {{#if brand}}
{{brand.name}}
{{/if}} + {{#if quantity_backordered '>' 0}} + {{#if (subtract quantity quantity_backordered) '>' 0}} + + {{/if}} + + {{#if backorder_message}} + + {{/if}} + {{/if}} {{#if options}}
{{#each options}} @@ -87,15 +96,6 @@
{{brand.name}}
{{/if}} - {{#if quantity_backordered '>' 0}} - {{#if (subtract quantity quantity_backordered) '>' 0}} - - {{/if}} - - {{#if backorder_message}} - - {{/if}} - {{/if}} {{#if refunded}} {{else}} From 921b45611e8bc8e11fccd4bd4610cad3c501eb3c Mon Sep 17 00:00:00 2001 From: bc-apostoliuk Date: Wed, 17 Jun 2026 10:34:01 +0300 Subject: [PATCH 3/3] refactor(account): BACK-692 drop dead per-option backorder block MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The storefront order object exposes only name and value per picklist option (verified against a live bundle order) — no per-option quantity_backordered or backorder_message. The per-option backorder block could therefore never render, so remove it. Parent-product backorder prompts under the product title remain the only backorder data the order payload supports. Co-Authored-By: Claude Opus 4.8 (1M context) --- templates/components/account/order-contents.html | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/templates/components/account/order-contents.html b/templates/components/account/order-contents.html index 323d1d00a8..9674df35db 100644 --- a/templates/components/account/order-contents.html +++ b/templates/components/account/order-contents.html @@ -67,15 +67,7 @@
{{brand.name}}
{{#each options}}
{{name}}:
-
- {{> components/common/product-options}} - {{#if quantity_backordered '>' 0}} - - {{#if backorder_message}} - - {{/if}} - {{/if}} -
+
{{> components/common/product-options}}
{{/each}}
{{/if}}