Simple jute cloth foldable sundries storage
${function() {
const variantData = data.variant || {"id":"f62a2cec-e8d3-4851-9a25-3a1c3fb7213c","product_id":"dca6f94b-a7c0-453c-b567-c47689572037","title":"#1","weight_unit":"kg","inventory_quantity":0,"sku":"662302214659-#1","barcode":"","position":1,"option1":"#1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a32cf5c37538f090a55e18388723fa8a.jpeg","path":"a32cf5c37538f090a55e18388723fa8a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.59,"min_quantity":1}],"weight":"0.35","compare_at_price":"36","price":"28.59","retail_price":"36","available":true,"url":"\/products\/simple-jute-cloth-foldable-sundries-storage?variant=f62a2cec-e8d3-4851-9a25-3a1c3fb7213c","available_quantity":999999999,"options":[{"name":"stlye","value":"#1"}],"off_ratio":21,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"f62a2cec-e8d3-4851-9a25-3a1c3fb7213c","product_id":"dca6f94b-a7c0-453c-b567-c47689572037","title":"#1","weight_unit":"kg","inventory_quantity":0,"sku":"662302214659-#1","barcode":"","position":1,"option1":"#1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a32cf5c37538f090a55e18388723fa8a.jpeg","path":"a32cf5c37538f090a55e18388723fa8a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.59,"min_quantity":1}],"weight":"0.35","compare_at_price":"36","price":"28.59","retail_price":"36","available":true,"url":"\/products\/simple-jute-cloth-foldable-sundries-storage?variant=f62a2cec-e8d3-4851-9a25-3a1c3fb7213c","available_quantity":999999999,"options":[{"name":"stlye","value":"#1"}],"off_ratio":21,"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 `
`;
}()}