Literary and casual shoulder woven bag
${function() {
const variantData = data.variant || {"id":"f7a2b646-768e-414a-9de6-23b82bc1396d","product_id":"8d749738-afd0-4759-912d-bd44ef2071b8","title":"weave","weight_unit":"kg","inventory_quantity":0,"sku":"662206231833-weave","barcode":"","position":1,"option1":"weave","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c79bec9e8f7d868ae155bf4958ddaab2.jpeg","path":"c79bec9e8f7d868ae155bf4958ddaab2.jpeg","width":750,"height":752,"alt":"","aspect_ratio":0.9973404255319149},"wholesale_price":[{"price":31.47,"min_quantity":1}],"weight":"0","compare_at_price":"39.34","price":"31.47","retail_price":"39.34","available":true,"url":"\/products\/literary-and-casual-shoulder-woven-bag-xh6y?variant=f7a2b646-768e-414a-9de6-23b82bc1396d","available_quantity":999999999,"options":[{"name":"Style","value":"weave"}],"off_ratio":20,"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":"f7a2b646-768e-414a-9de6-23b82bc1396d","product_id":"8d749738-afd0-4759-912d-bd44ef2071b8","title":"weave","weight_unit":"kg","inventory_quantity":0,"sku":"662206231833-weave","barcode":"","position":1,"option1":"weave","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c79bec9e8f7d868ae155bf4958ddaab2.jpeg","path":"c79bec9e8f7d868ae155bf4958ddaab2.jpeg","width":750,"height":752,"alt":"","aspect_ratio":0.9973404255319149},"wholesale_price":[{"price":31.47,"min_quantity":1}],"weight":"0","compare_at_price":"39.34","price":"31.47","retail_price":"39.34","available":true,"url":"\/products\/literary-and-casual-shoulder-woven-bag-xh6y?variant=f7a2b646-768e-414a-9de6-23b82bc1396d","available_quantity":999999999,"options":[{"name":"Style","value":"weave"}],"off_ratio":20,"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 `
`;
}()}