Skip to content
Open
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 @@ -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
- Refine backorder display on the account order details page: top-align all product row cells (checkbox, image, body) so rows stay readable with or without backorder text, remove the extra vertical gap between backorder rows, and use `#757575` for all backorder text (qty ready to ship, qty backordered, backorder message, and shipping expectation message)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you create a more concise description here? Also add please the link in the end.

- 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
- Keep PDP "N will be backordered" message visible when the requested quantity exceeds `available_to_sell` (still clamped by `available_for_backorder`), so shoppers see why the qty was clamped alongside the "maximum purchasable quantity" error
Expand Down
17 changes: 9 additions & 8 deletions assets/scss/components/stencil/account/_account.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
// ACCOUNT (CSS)
// =============================================================================

// Backorder copy colour (BACK-699). No Citadel greys token matches this value,
// so the design-specified hex is kept as a single named local variable.
$account-backorder-textColor: #757575;


// Account navigation
// -----------------------------------------------------------------------------
Expand Down Expand Up @@ -150,16 +154,13 @@
}

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

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

.account-order-backorder-expectation {
color: color("greys", "light");
color: $account-backorder-textColor;
font-size: fontSize("smaller");
margin-bottom: 0;
margin-top: spacing("base");
Expand Down Expand Up @@ -225,7 +226,7 @@
.account-product-checkItem {
display: table-cell;
position: relative;
vertical-align: middle;
vertical-align: top;
width: 2rem;

@include breakpoint("large") {
Expand All @@ -243,6 +244,7 @@
.account-product-figure,
.account-product-body {
display: table-cell;
vertical-align: top;
}

.account-product-figure {
Expand All @@ -256,7 +258,6 @@

.account-product-body {
padding-left: 2rem;
vertical-align: middle;

@include breakpoint("large") {
padding-left: 0;
Expand Down
Loading