Strap Solid Color Long Jumpsuit
${function() {
const variantData = data.variant || {"id":"4384be7e-cc1e-4d07-b899-230de6c61330","product_id":"16c9e9e4-4aea-4fda-b019-82685cfdc6ee","title":"red-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21031905-red-s","barcode":"","position":2,"option1":"red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19cf038f604ba624ab52363b753c682c.jpeg","path":"19cf038f604ba624ab52363b753c682c.jpeg","width":750,"height":874,"alt":"","aspect_ratio":0.8581235697940504},"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=4384be7e-cc1e-4d07-b899-230de6c61330","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"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":"4384be7e-cc1e-4d07-b899-230de6c61330","product_id":"16c9e9e4-4aea-4fda-b019-82685cfdc6ee","title":"red-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21031905-red-s","barcode":"","position":2,"option1":"red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19cf038f604ba624ab52363b753c682c.jpeg","path":"19cf038f604ba624ab52363b753c682c.jpeg","width":750,"height":874,"alt":"","aspect_ratio":0.8581235697940504},"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=4384be7e-cc1e-4d07-b899-230de6c61330","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"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 `
`;
}()}