Mori literature and art leisure woven bag
${function() {
const variantData = data.variant || {"id":"42340b35-6e97-4439-80e3-f9f803b16954","product_id":"3e288325-b06e-4c52-ad96-f4f3960e8ea6","title":"weave","weight_unit":"kg","inventory_quantity":0,"sku":"662206231832-weave","barcode":"","position":1,"option1":"weave","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac77fe599d5d2c0fb428943921782f1e.jpeg","path":"ac77fe599d5d2c0fb428943921782f1e.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.79,"min_quantity":1}],"weight":"0","compare_at_price":"32.28","price":"26.79","retail_price":"32.28","available":true,"url":"\/products\/mori-literature-and-art-leisure-woven-bag?variant=42340b35-6e97-4439-80e3-f9f803b16954","available_quantity":999999999,"options":[{"name":"Style","value":"weave"}],"off_ratio":17,"flashsale_info":[],"sales":1};
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":"42340b35-6e97-4439-80e3-f9f803b16954","product_id":"3e288325-b06e-4c52-ad96-f4f3960e8ea6","title":"weave","weight_unit":"kg","inventory_quantity":0,"sku":"662206231832-weave","barcode":"","position":1,"option1":"weave","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac77fe599d5d2c0fb428943921782f1e.jpeg","path":"ac77fe599d5d2c0fb428943921782f1e.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.79,"min_quantity":1}],"weight":"0","compare_at_price":"32.28","price":"26.79","retail_price":"32.28","available":true,"url":"\/products\/mori-literature-and-art-leisure-woven-bag?variant=42340b35-6e97-4439-80e3-f9f803b16954","available_quantity":999999999,"options":[{"name":"Style","value":"weave"}],"off_ratio":17,"flashsale_info":[],"sales":1};
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 `
`;
}()}