Skip to content

LABEL_KEYS

const LABEL_KEYS: readonly ["in-stock", "backorder", "out-of-stock", "stock-count", "price-from", "tax-included", "tax-excluded", "choose-option", "option-unavailable", "sku", "load-more", "search-products", "no-results", "loading", "image-position", "view-product", "add-to-cart", "adding", "added-to-cart", "sold-out", "quantity", "increase-quantity", "decrease-quantity", "remove-line", "cart", "cart-count", "open-cart", "close", "view-cart", "line-unavailable", "subtotal", "shipping", "shipping-needs-address", "shipping-unavailable", "tax", "total", "email", "name", "country", "region", "postal-code", "sign-in-consent", "pay", "paying", "test-order", "order-number", "order-waiting", "order-paid", "try-again", "recipient", "address-line-1", "address-line-2", "city", "phone"]

The interface strings the storefront draws, and their English defaults.

The kit’s ebitex-storefront holder Component carries these as a ebitex-store-labels value, localizable in Content and edited without a deploy. An empty or missing label falls back to the English here; a labels object given to CommerceProvider wins over both. A label is plain text: a {count}, {position} or {total} in it is filled in, and nothing else is interpreted (markup in a label is shown as text).