International Order Restrictions
At this time, TryNow is not compatible with international orders.
International Orders Are Automatically Prevented in Checkout
TryNow automatically blocks international orders. If a shopper enters a non-U.S. shipping address at checkout, they’ll see an error and won’t be able to complete the purchase.

How to Hide the TryNow Button to Non-U.S. Shoppers on the PDP
Your developer can include the below code snippet in the main product section of the PDP (typically either main-product.liquid or product-template.liquid).
This logic hides the TryNow button if the Shopify country object is not the U.S. Note: make sure to replace '[[ CTA_ELEMENT ]]' with the correct selector of the Add to Cart button (typically '[name="add"]').
window.addEventListener('load', function() {
if(window.trynow) {
// TryNow custom ruleset
const ctaButtonRuleset = window.trynow.createVisibilityRuleset({
rank: 10,
rules: [
{
rank: 0,
ruleTest: () => window.Shopify.country != 'US',
ruleOutcome: () => {
const ctaButton = document.querySelector(
'[[ CTA_ELEMENT ]]'
);
const tryNowButton =
document.querySelector('trynow-cta-button');
const tryNowToggle = document.querySelector(
'.tn-gate-toggle-input'
);
if (ctaButton) {
ctaButton.style.display = 'unset';
}
if (tryNowButton) {
tryNowButton.parentElement.style.display = 'none';
}
if (tryNowToggle && tryNowToggle.checked) {
tryNowToggle.click();
document.cookie = '_tn_gate_toggle=false; path=/';
}
},
},
],
});
window.trynow.getComponent('ctaButton', true).then((ctaButton) => {
ctaButton.addRuleset(ctaButtonRuleset);
});
}
})
Updated 5 days ago