Skip to content

BuyButton

BuyButton(__namedParameters): Element | null

The ebitex-buy-button-template body: adds the variant the shopper has chosen to the cart. It reads the same product as the price and the picker next to it (pinned, or the address’s), is disabled with “choose an option” until every option has a value and with “sold out” when the variant is out of stock and not on backorder, and says “added” politely. It draws nothing when the provider has no cart.

BuyButtonContent

Record<string, unknown>

Element | null