Configuration
You can configure the program by calling shoptoken.setConfig(config_options_object)
. Here are the configuration options:
Option | Value | Details |
---|---|---|
useCustomSignUpFlow | boolean (Default - false) | Set to true if you are controlling the user sign up flow |
showLauncherButton | boolean (Default - false) | Set to true to make the launch button visible |
isHeadless | boolean (Default - false) | Set to true for headless setup |
bannerId | string (Default - 'shoptoken-banner') | Id where our banner sign up offer will be injected in the order confirmation page |