V-Neck Soft Waxy Loose Knit Vest
${function() {
const variantData = data.variant || {"id":"c504d952-ebb2-41ee-9423-0eacb2bd8fca","product_id":"ce738d00-0294-42fa-9fdc-672cea0e56b1","title":"beige-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211141628-beige-one size","barcode":"","position":1,"option1":"beige","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0233ee4bd089f92fe66e4e54d8fb887d.jpeg","path":"0233ee4bd089f92fe66e4e54d8fb887d.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":42.75,"min_quantity":1}],"weight":"0.33","compare_at_price":"50.89","price":"42.75","retail_price":"50.89","available":true,"url":"\/products\/v-neck-soft-waxy-loose-knit-vest?variant=c504d952-ebb2-41ee-9423-0eacb2bd8fca","available_quantity":999999999,"options":[{"name":"color","value":"beige"},{"name":"size","value":"one size"}],"off_ratio":16,"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}
`
}()}
${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":"c504d952-ebb2-41ee-9423-0eacb2bd8fca","product_id":"ce738d00-0294-42fa-9fdc-672cea0e56b1","title":"beige-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211141628-beige-one size","barcode":"","position":1,"option1":"beige","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0233ee4bd089f92fe66e4e54d8fb887d.jpeg","path":"0233ee4bd089f92fe66e4e54d8fb887d.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":42.75,"min_quantity":1}],"weight":"0.33","compare_at_price":"50.89","price":"42.75","retail_price":"50.89","available":true,"url":"\/products\/v-neck-soft-waxy-loose-knit-vest?variant=c504d952-ebb2-41ee-9423-0eacb2bd8fca","available_quantity":999999999,"options":[{"name":"color","value":"beige"},{"name":"size","value":"one size"}],"off_ratio":16,"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 `
`;
}()}