Cart button options

Property
Type
Description
button-style

'inline' | 'icon'

Button style. If left blank, the button is unstyled.

label

string

For non-icon style buttons, the text to render inside the button. Defaults to "Cart"

suffix

string

Optional suffix, which can include the order item count and/or the order subtotal value with string substitution. If substitutions are found and the order has no items, it’s omitted. Supported substitutions are {count} and {subtotal} Examples: " ({count})" Cart (5) " | {subtotal}" Cart | $50