Cart option labels follow the cart’s locale on Stencil storefronts
On multi-language Stencil storefronts, product option and modifier labels on the cart page and the cart Quick View modal now render in the cart’s stored locale, matching the option values and product name on the same line item. This fixes a bug that affected carts created through the REST Carts API (POST /v3/carts).
- What was wrong — Labels were read live from the catalog in the language of the current request, while the values came from the cart itself. When a cart’s locale differed from the request’s locale, the label fell back to the store’s default language while the value stayed translated, for example
Color: Bleuinstead ofCouleur: Bleu. - Who was affected — Carts created with the REST Carts API Create a Cart endpoint (
POST /v3/carts) using an explicitlocale, then opened through aredirect_urlslink that resolves to a different storefront language. - What changed — The
nameof each entry in thecartobject’sitems[].options[]array now comes from the cart’s own snapshot of the selected options, the same source the checkout page uses. - Action required — None. Themes that render
{{name}}for cart item options, as Cornerstone does, pick up the fix automatically. Single-language stores and carts viewed in the language they were created in are unaffected.
For the cart object properties, see the Stencil object reference.