Cloth art simple large folding bamboo handle storage bucket
${function() {
const variantData = data.variant || {"id":"35d7d1aa-1e7b-41cf-a1e4-8309232ca94c","product_id":"581e150f-a5df-47f3-a209-9fb5d98957e5","title":"white","weight_unit":"kg","inventory_quantity":0,"sku":"662302214653-white","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/84085eff10c1db89bea6925e509f5be6.jpeg","path":"84085eff10c1db89bea6925e509f5be6.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":33.89,"min_quantity":1}],"weight":"0.33","compare_at_price":"47","price":"33.89","retail_price":"47","available":true,"url":"\/products\/cloth-art-simple-large-folding-bamboo-handle-storage-bucket?variant=35d7d1aa-1e7b-41cf-a1e4-8309232ca94c","available_quantity":999999999,"options":[{"name":"color","value":"white"}],"off_ratio":28,"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":"35d7d1aa-1e7b-41cf-a1e4-8309232ca94c","product_id":"581e150f-a5df-47f3-a209-9fb5d98957e5","title":"white","weight_unit":"kg","inventory_quantity":0,"sku":"662302214653-white","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/84085eff10c1db89bea6925e509f5be6.jpeg","path":"84085eff10c1db89bea6925e509f5be6.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":33.89,"min_quantity":1}],"weight":"0.33","compare_at_price":"47","price":"33.89","retail_price":"47","available":true,"url":"\/products\/cloth-art-simple-large-folding-bamboo-handle-storage-bucket?variant=35d7d1aa-1e7b-41cf-a1e4-8309232ca94c","available_quantity":999999999,"options":[{"name":"color","value":"white"}],"off_ratio":28,"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 `
`;
}()}