Colorful Woven Basket Small Square Bag
${function() {
const variantData = data.variant || {"id":"2c77fb94-cdcd-4d28-9b77-f4b1e5f279c0","product_id":"f68467cb-d8a6-4a48-a777-cc84a2f94196","title":"blue","weight_unit":"kg","inventory_quantity":0,"sku":"66220727151-blue","barcode":"","position":1,"option1":"blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a9ec413e035a814682e271b8f7ec6d5.jpeg","path":"4a9ec413e035a814682e271b8f7ec6d5.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.49,"min_quantity":1}],"weight":"0","compare_at_price":"28.3","price":"23.49","retail_price":"28.3","available":true,"url":"\/products\/colorful-woven-basket-small-square-bag?variant=2c77fb94-cdcd-4d28-9b77-f4b1e5f279c0","available_quantity":999999999,"options":[{"name":"color","value":"blue"}],"off_ratio":17,"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":"2c77fb94-cdcd-4d28-9b77-f4b1e5f279c0","product_id":"f68467cb-d8a6-4a48-a777-cc84a2f94196","title":"blue","weight_unit":"kg","inventory_quantity":0,"sku":"66220727151-blue","barcode":"","position":1,"option1":"blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a9ec413e035a814682e271b8f7ec6d5.jpeg","path":"4a9ec413e035a814682e271b8f7ec6d5.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.49,"min_quantity":1}],"weight":"0","compare_at_price":"28.3","price":"23.49","retail_price":"28.3","available":true,"url":"\/products\/colorful-woven-basket-small-square-bag?variant=2c77fb94-cdcd-4d28-9b77-f4b1e5f279c0","available_quantity":999999999,"options":[{"name":"color","value":"blue"}],"off_ratio":17,"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 `
`;
}()}