Skip to main content

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

PropertyTypeDescription
pageenum'shop' | 'customization' | 'cart'