Strap Solid Color Long Jumpsuit
${function() {
const variantData = data.variant || {"id":"c87f1bc9-7dfb-431b-9760-2a2ad34d994e","product_id":"16c9e9e4-4aea-4fda-b019-82685cfdc6ee","title":"green-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21031905-green-s","barcode":"","position":3,"option1":"green","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/715695b69206aa1b8cf5ced21e4489c0.jpeg","path":"715695b69206aa1b8cf5ced21e4489c0.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.2,"min_quantity":1}],"weight":"0","compare_at_price":"47.99","price":"41.2","retail_price":"47.99","available":true,"url":"\/products\/strap-solid-color-long-jumpsuit-hqlm?variant=c87f1bc9-7dfb-431b-9760-2a2ad34d994e","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"s"}],"off_ratio":14,"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":"c87f1bc9-7dfb-431b-9760-2a2ad34d994e","product_id":"16c9e9e4-4aea-4fda-b019-82685cfdc6ee","title":"green-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21031905-green-s","barcode":"","position":3,"option1":"green","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/715695b69206aa1b8cf5ced21e4489c0.jpeg","path":"715695b69206aa1b8cf5ced21e4489c0.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.2,"min_quantity":1}],"weight":"0","compare_at_price":"47.99","price":"41.2","retail_price":"47.99","available":true,"url":"\/products\/strap-solid-color-long-jumpsuit-hqlm?variant=c87f1bc9-7dfb-431b-9760-2a2ad34d994e","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"s"}],"off_ratio":14,"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 `
`;
}()}