Skip to main content

Configuration

You can configure the program by calling shoptoken.setConfig(config_options_object). Here are the configuration options:

OptionValueDetails
useCustomSignUpFlowboolean (Default - false)Set to true if you are controlling the user sign up flow
showLauncherButtonboolean (Default - false)Set to true to make the launch button visible
isHeadlessboolean (Default - false)Set to true for headless setup
bannerIdstring (Default - 'shoptoken-banner')Id where our banner sign up offer will be injected in the order confirmation page