Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / PREFILL_TOKENS

Variable: PREFILL_TOKENS

const PREFILL_TOKENS: readonly ["product", "url", "order", "store"]

The placeholders a prefill template may carry, resolved from the page the widget renders on.

The same tokens the dashboard offers as insert buttons. A token the dashboard offers and the storefront does not resolve is a merchant seeing {total} in a sent message.