Hollow woven holiday fashion women's bag
${function() {
const variantData = data.variant || {"id":"be6954cf-b080-4c57-bece-26c17cfeb592","product_id":"bbaecbed-39d5-498e-a6fe-5db42b383db8","title":"yellow","weight_unit":"kg","inventory_quantity":0,"sku":"662206241898-yellow","barcode":"","position":2,"option1":"yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4c5a0589072499fc9ac66aed2d54126.jpeg","path":"e4c5a0589072499fc9ac66aed2d54126.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.67,"min_quantity":1}],"weight":"0","compare_at_price":"39.36","price":"32.67","retail_price":"39.36","available":true,"url":"\/products\/hollow-woven-holiday-fashion-womens-bag-hyt4?variant=be6954cf-b080-4c57-bece-26c17cfeb592","available_quantity":999999999,"options":[{"name":"color","value":"yellow"}],"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":"be6954cf-b080-4c57-bece-26c17cfeb592","product_id":"bbaecbed-39d5-498e-a6fe-5db42b383db8","title":"yellow","weight_unit":"kg","inventory_quantity":0,"sku":"662206241898-yellow","barcode":"","position":2,"option1":"yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4c5a0589072499fc9ac66aed2d54126.jpeg","path":"e4c5a0589072499fc9ac66aed2d54126.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.67,"min_quantity":1}],"weight":"0","compare_at_price":"39.36","price":"32.67","retail_price":"39.36","available":true,"url":"\/products\/hollow-woven-holiday-fashion-womens-bag-hyt4?variant=be6954cf-b080-4c57-bece-26c17cfeb592","available_quantity":999999999,"options":[{"name":"color","value":"yellow"}],"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 `
`;
}()}