Integrate with Checkout Page (*Shopify Plus Only*)
To place the Customer Round-Up widget on the theme’s checkout page you are required to be a Shopify Plus store. You may also be required to request access to the checkout page theme files from Shopify Support. This can be done by accessing support in your store settings.
- Ask Shopify Support for access to the checkout.liquid
- Access your checkout.liquid: https://help.shopify.com/en/themes/development/layouts/checkout
- Place the widget script directly where you want it
- The widget script can be found in the Campaigns > Customer Round-Up > Widget Embed Code section of your Change Commerce app
Note: The widget will appear where the script tag is placed.
Optional: Expanding Mobile Checkout Page View to Show Billing Page Details
To create an optimal experience for mobile users and ensure the users see the option to round up their purchase on the billing page, you can set the details to expand by default. To do so:
- Navigate to “Online Store > Preferences “Google analytics”
- Place your widget script below your google analytics script:
if(typeof Checkout === 'object'){
if(typeof Checkout.$ === 'function'){
Checkout.$('button.order-summary-toggle.order-summary-toggle--show').trigger("click"); }
}