Chain Straw Braided Flip-On Sandals
${function() {
const variantData = data.variant || {"id":"bad85076-495f-4e13-ae94-e321a2ff6169","product_id":"7a01ba11-3b4e-4771-a062-6f2bb9006b0a","title":"black-6","weight_unit":"kg","inventory_quantity":0,"sku":"6622062710-black-6","barcode":"","position":7,"option1":"black","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7aec6594f491129e139e96dd29bd2a06.jpeg","path":"7aec6594f491129e139e96dd29bd2a06.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.43,"min_quantity":1}],"weight":"0","compare_at_price":"42.86","price":"36.43","retail_price":"42.86","available":true,"url":"\/products\/chain-straw-braided-flip-on-sandals?variant=bad85076-495f-4e13-ae94-e321a2ff6169","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"6"}],"off_ratio":15,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${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":"bad85076-495f-4e13-ae94-e321a2ff6169","product_id":"7a01ba11-3b4e-4771-a062-6f2bb9006b0a","title":"black-6","weight_unit":"kg","inventory_quantity":0,"sku":"6622062710-black-6","barcode":"","position":7,"option1":"black","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7aec6594f491129e139e96dd29bd2a06.jpeg","path":"7aec6594f491129e139e96dd29bd2a06.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.43,"min_quantity":1}],"weight":"0","compare_at_price":"42.86","price":"36.43","retail_price":"42.86","available":true,"url":"\/products\/chain-straw-braided-flip-on-sandals?variant=bad85076-495f-4e13-ae94-e321a2ff6169","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"6"}],"off_ratio":15,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}