setPage
Sets the current view of the vouchers widget.
info
If navigating to customization
page, additionaly supply the payload as in the addToCart command.
Example
rpt({ widget: "giftcards", command: "setPage", payload: { page: "shop" } });
Payload
Property | Type | Description |
---|---|---|
page | enum | 'shop' | 'customization' | 'cart' |