This powerful cross-border solution enhances your international customers' shopping experience while removing the common pains encountered by ecommerce retailers when selling cross-border.
Click here to view Zonos Checkout in the BigCommerce Apps marketplace.
It’s quick and easy to install Checkout for BigCommerce.
Hello must be installed to get the full features of Checkout.
Once you’ve installed both apps, see below to learn how to configure your settings.
Store ID / Store Secret: Please contact inquire@zonos.com for your store credentials.
If you have a completed agreement prior to installation, these credentials will auto-populate.
Zonos Checkout: Select the radio button to either enable or disable the Zonos Checkout. You will need your Store ID and Store Secret to enable this. You can find your credentials in Dashboard at https://dashboard.zonos.com/settings/integrate
Test Mode: Select the radio button to either have test mode enabled or disabled. When this mode is enabled, you must append ?zonos=true
to the URL to enable Zonos functionality.
Make sure to hit Update Settings when you’re finished with configuration.
Install the app on a staging site for testing before pushing live.
Ensure you ship items DDP (Delivered Duty Paid) if taxes were paid in advance. Otherwise, your customer will be billed at checkout and upon delivery as well.
Orders may be delayed on import if they are in a fraud review (validating) state to make sure fraudulent orders are not shipped out.
Stencil setup
If Storefront > Footer Scripts is an option, your store is using a Stencil theme.
If the Zonos Checkout is in test mode or set to live (and the checkout buttons are not redirecting to Zonos), it may be the checkout button selectors. Our Zonos Checkout app uses a set list of default checkout button selectors. If an international user is not being redirected, those selectors may need to be adjusted.\
To fix this issue, follow the steps below:
Go to BigCommerce Admin Panel > Storefront > Script Manager > Create Script.
Create a new custom script for Zonos by using the following:
Zonos integration script
<script>
window.onload = () => {
selectors = {
'.previewCartCheckout .button--primary': 'checkout',
'.cart-actions .button--primary': 'Check out',
'.previewCartAction-checkout': 'Check out now',
'.ProceedToCheckout .btn': 'Proceed To Checkout',
'.CheckoutLink': 'Checkout',
'.button--primary': 'Checkout',
'.button-checkout': 'Checkout',
'.btn': 'Proceed To Checkout',
'.CheckoutButton': 'Proceed To Checkout',
};
for (let key in selectors) {
let button = contains(key, selectors[key]);
for (i = 0; i < button.length; i++) {
button[i].addEventListener('click', function (e) {
zonosCheckout(e);
});
}
}
};
</script>
If you have elements you need to hide for international users only, e.g. USA-only payment providers, shipping estimators, banners with USA-only messaging, etc., then use the next steps to hide them when the Zonos Hello country is international. To fix this, go to BigCommerce Admin Panel > Storefront > Script Manager > Create Script.\
To hide the domestic elements, follow the steps below:
Zonos integration script
<script>
var domesticElements = ['.hide-me'];
let cssElement = document.createElement('style'),
sheet;
document.head.appendChild(cssElement);
sheet = cssElement.sheet;
let count = 0;
for (let domesticHide of domesticElements) {
sheet.insertRule(`.z-intl ${domesticHide} { display:none; }`, count);
count++;
}
</script>
3. In the above script, edit the selectors in var domesticElements =
by doing the following:
.hide-me
.[".hide-1", ".hide-2", ".hide-3", ".hide-4"]
If Storefront > Mobile Theme is an option, your store is using a Blueprint theme.
If you are set up on the Blueprint version of BigCommerce, you will need to add any additional scripts or code snippets to the bottom of: Advanced Settings > Web Analytics > Google Analytics > Tracking Code.
You can use the scripts included in the Stencil instructions as shown above, but make sure to copy and paste them to the Tracking Code section.
Zonos Checkout for BigCommerce