people are viewing this right now
${function() {
const variantData = data.variant || {"id":"05130f42-03e1-4136-9a4e-232872346849","product_id":"4064ebe5-fa0f-449b-ad82-f37178b8e976","title":"6mm-20.5cm","weight_unit":"kg","inventory_quantity":1000,"sku":"200001034:361180#6mm;200000639:201452728","barcode":"","position":1,"option1":"6mm","option2":"20.5cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f40850f5b3b04bc1cd79f2e24ece8e1f.jpeg","path":"f40850f5b3b04bc1cd79f2e24ece8e1f.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/100-stainless-steel-bracelet-6-8-12-mm-8-inches-curb-cuban-chain-gold-color-bracelets-for-men-women-free-shipping-factory-offer?variant=05130f42-03e1-4136-9a4e-232872346849","available_quantity":999999999,"options":[{"name":"Metal Color","value":"6mm"},{"name":"Length","value":"20.5cm"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"05130f42-03e1-4136-9a4e-232872346849","product_id":"4064ebe5-fa0f-449b-ad82-f37178b8e976","title":"6mm-20.5cm","weight_unit":"kg","inventory_quantity":1000,"sku":"200001034:361180#6mm;200000639:201452728","barcode":"","position":1,"option1":"6mm","option2":"20.5cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f40850f5b3b04bc1cd79f2e24ece8e1f.jpeg","path":"f40850f5b3b04bc1cd79f2e24ece8e1f.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/100-stainless-steel-bracelet-6-8-12-mm-8-inches-curb-cuban-chain-gold-color-bracelets-for-men-women-free-shipping-factory-offer?variant=05130f42-03e1-4136-9a4e-232872346849","available_quantity":999999999,"options":[{"name":"Metal Color","value":"6mm"},{"name":"Length","value":"20.5cm"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 60;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}