Rainbow Cute Tote Braided Bag
${function() {
const variantData = data.variant || {"id":"cda5bbf2-5146-46b2-93bc-b90107f435c0","product_id":"dea11aad-cc9d-4ec8-8a93-34f5559c802a","title":"Large inner pocket","weight_unit":"kg","inventory_quantity":0,"sku":"66220727148-Large inner pocket","barcode":"","position":2,"option1":"Large inner pocket","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f61333e78b42e334996bd1fe640ba63.jpeg","path":"4f61333e78b42e334996bd1fe640ba63.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.79,"min_quantity":1}],"weight":"0","compare_at_price":"26.46","price":"23.79","retail_price":"26.46","available":true,"url":"\/products\/rainbow-cute-tote-braided-bag?variant=cda5bbf2-5146-46b2-93bc-b90107f435c0","available_quantity":999999999,"options":[{"name":"color","value":"Large inner pocket"}],"off_ratio":10,"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":"cda5bbf2-5146-46b2-93bc-b90107f435c0","product_id":"dea11aad-cc9d-4ec8-8a93-34f5559c802a","title":"Large inner pocket","weight_unit":"kg","inventory_quantity":0,"sku":"66220727148-Large inner pocket","barcode":"","position":2,"option1":"Large inner pocket","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f61333e78b42e334996bd1fe640ba63.jpeg","path":"4f61333e78b42e334996bd1fe640ba63.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.79,"min_quantity":1}],"weight":"0","compare_at_price":"26.46","price":"23.79","retail_price":"26.46","available":true,"url":"\/products\/rainbow-cute-tote-braided-bag?variant=cda5bbf2-5146-46b2-93bc-b90107f435c0","available_quantity":999999999,"options":[{"name":"color","value":"Large inner pocket"}],"off_ratio":10,"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 `
`;
}()}