Casual outer wear flip-flops slippers
${function() {
const variantData = data.variant || {"id":"d9d68510-7150-44c4-95d9-0a9fb550c92b","product_id":"e56448b6-4c43-4d15-bc47-dc1bb9ed02d6","title":"apricot-6","weight_unit":"kg","inventory_quantity":0,"sku":"6622062706-apricot-6","barcode":"","position":1,"option1":"apricot","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a6cfe87d82ad297a841820b77ee9f62.jpeg","path":"6a6cfe87d82ad297a841820b77ee9f62.jpeg","width":750,"height":600,"alt":"","aspect_ratio":1.25},"wholesale_price":[{"price":35.6,"min_quantity":1}],"weight":"0.45","compare_at_price":"42.38","price":"35.6","retail_price":"42.38","available":true,"url":"\/products\/casual-outer-wear-flip-flops-slippers-uq2e?variant=d9d68510-7150-44c4-95d9-0a9fb550c92b","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"6"}],"off_ratio":16,"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":"d9d68510-7150-44c4-95d9-0a9fb550c92b","product_id":"e56448b6-4c43-4d15-bc47-dc1bb9ed02d6","title":"apricot-6","weight_unit":"kg","inventory_quantity":0,"sku":"6622062706-apricot-6","barcode":"","position":1,"option1":"apricot","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a6cfe87d82ad297a841820b77ee9f62.jpeg","path":"6a6cfe87d82ad297a841820b77ee9f62.jpeg","width":750,"height":600,"alt":"","aspect_ratio":1.25},"wholesale_price":[{"price":35.6,"min_quantity":1}],"weight":"0.45","compare_at_price":"42.38","price":"35.6","retail_price":"42.38","available":true,"url":"\/products\/casual-outer-wear-flip-flops-slippers-uq2e?variant=d9d68510-7150-44c4-95d9-0a9fb550c92b","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"6"}],"off_ratio":16,"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 `
`;
}()}