Install Route for BigCommerce
The Route integration enables shoppers to purchase shipping insurance for their orders. Merchants can add Route as a product add-on after they set up their Bolt integration.
INFO
These instructions are only for merchants using BigCommerce.
Prerequisites
- Install one of the following BigCommerce integrations:
- • Fraud Only
- • Checkout
- • BigCommerce One-Click
- Add Bolt Scripts to your BigCommerce store.
- Submit your Route Public Key to Bolt.
- Grant Bolt’s team access to your BigCommerce store via
dev@bolt.com
. - Contact your Bolt customer success manager (CSM) and request that they enable Route. A Bolt admin will enable the following feature flags:
- •
product add-ons at checkout
- •
Enable Route integration
- •
Installation
- Install the Route App to your BigCommerce storefront.
- Add the following to all
connect.js
scripts across your pages:
data-storefront-api-token="{{settings.storefront_api.token}}"
route-public-token="PUT ROUTE PUBLIC TOKEN HERE"
- Review the script. It should look like this:
<script
id="bolt-connect"
type="text/javascript"
src="https://connect.bolt.com/connect-bigcommerce.js"
data-publishable-key="PUBLISHABLE KEY"
data-shopping-cart-id="BigCommerce"
data-storefront-api-token="{{settings.storefront_api.token}}"
route-public-token="PUT ROUTE PUBLIC TOKEN HERE"
- Make sure that the script for automatically reloading the Bolt cart is correct. The correct script should include the following code snippet:
if (newPrice !== totalPrice && window.BoltCheckout && window.BoltCheckout.reloadBigCommerceCart ) {
window.BoltCheckout.reloadBigCommerceCart();
}
- Publish the theme.
Add Route as Bolt Product Add-on
- Log in to the Bolt Merchant Dashboard.
- Navigate to Settings > Checkout.
- Find Product Add-Ons in Checkout and toggle + Enable Route Integration to
Enabled
. - A module appears in the add-ons section with Route configurations pre-filled.
- Click
Add
and enter your Route Public Key into the provided field. - Click
Save
.
Shoppers can now see dynamically priced Route shipping insurance as an add-on during checkout.