Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Cover the price list products card and note the parity

Damian Legawiec054755d9deda
diff --git a/docs/plans/6.0-volume-pricing.md b/docs/plans/6.0-volume-pricing.md
index 717634e52b..d8005e2a59 100644
--- a/docs/plans/6.0-volume-pricing.md
+++ b/docs/plans/6.0-volume-pricing.md
@@ -225,6 +225,11 @@ bands on the adjustment cover it with the implemented semantics).
in the editor. The one thing the service does not check is the sign of an
amount — it trusts its callers — so the row processor refuses a negative
or unparsable figure itself before handing the row over.
+- The price-list page's products card reached parity with the catalog's on
+ 2026-09-08 (follow-up PR): the same per-variant rows, source badge and
+ ladder preview, read through the same resolver built from the list
+ directly rather than through a catalog, so a draft list shows the rows
+ being typed. One column set serves both pages; only the copy differs.
- A band of exactly 0% is refused rather than stored: a factor of 1 makes the
list decline to price the line at all, so a band meaning "no further
discount here" would fall through to the next list. Removing the band is how
diff --git a/docs/user/manage-products/price-lists.mdx b/docs/user/manage-products/price-lists.mdx
index f00bd857b3..ce16db53f2 100644
--- a/docs/user/manage-products/price-lists.mdx
+++ b/docs/user/manage-products/price-lists.mdx
@@ -62,7 +62,7 @@ Next, you’ll need to add some products to the price list. To do so, click **Ad
Search for products by name or SKU, select one or more products and click **Add Selected** to add them to the price list.
-The selected products will now appear in the product list.
+The selected products will now appear in the product list. Each product lists its variants beneath it with what this list charges for each one, where that amount comes from, and how many quantity breaks it carries; hover the tier count to see the full ladder.
### Setting Prices
diff --git a/packages/dashboard/e2e/price-lists.spec.ts b/packages/dashboard/e2e/price-lists.spec.ts
index d1a2220558..16eb4f2f0c 100644
--- a/packages/dashboard/e2e/price-lists.spec.ts
+++ b/packages/dashboard/e2e/price-lists.spec.ts
@@ -360,6 +360,20 @@ test.describe('price lists', () => {
'25.25',
{ timeout: 15_000 },
)
+ await page
+ .getByRole('dialog')
+ .getByRole('button', { name: /^close$/i })
+ .click()
+
+ // The products card reads the same ladder: the variant row shows the
+ // list's amount, its tier count, and the ladder with the fixed-tiers
+ // note on hover — the catalog's reading, on the list's own page.
+ await expect(page.getByText('$30.00')).toBeVisible({ timeout: 15_000 })
+ const badge = page.getByRole('button', { name: /\+1 tier$/i })
+ await expect(badge).toBeVisible()
+ await badge.hover()
+ await expect(page.getByText('$25.25')).toBeVisible({ timeout: 15_000 })
+ await expect(page.getByText(/percentage adjustment does not apply here/i)).toBeVisible()
})
// The list's prices travel as a CSV keyed by SKU, one rung per row: the