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: Bleu instead of Couleur: Bleu.
  • Who was affected — Carts created with the REST Carts API Create a Cart endpoint (POST /v3/carts) using an explicit locale, then opened through a redirect_urls link that resolves to a different storefront language.
  • What changed — The name of each entry in the cart object’s items[].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.