Strap Solid Color Long Jumpsuit
${function() {
const variantData = data.variant || {"id":"cc0e9b78-3c97-4c25-b956-45108323d047","product_id":"1726f625-738a-4c4f-b3a5-cb5f5fa1d046","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21010905-green-s","barcode":"","position":7,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/87b90777d6b9a690f2f8ada91ef4d2e2.jpeg","path":"87b90777d6b9a690f2f8ada91ef4d2e2.jpeg","width":602,"height":802,"alt":"","aspect_ratio":0.7506234413965087},"wholesale_price":[{"price":30.29,"min_quantity":1}],"weight":"0.3","compare_at_price":"47.42","price":"30.29","retail_price":"47.42","available":true,"url":"\/products\/strap-solid-color-long-jumpsuit?variant=cc0e9b78-3c97-4c25-b956-45108323d047","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":36,"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":"cc0e9b78-3c97-4c25-b956-45108323d047","product_id":"1726f625-738a-4c4f-b3a5-cb5f5fa1d046","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21010905-green-s","barcode":"","position":7,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/87b90777d6b9a690f2f8ada91ef4d2e2.jpeg","path":"87b90777d6b9a690f2f8ada91ef4d2e2.jpeg","width":602,"height":802,"alt":"","aspect_ratio":0.7506234413965087},"wholesale_price":[{"price":30.29,"min_quantity":1}],"weight":"0.3","compare_at_price":"47.42","price":"30.29","retail_price":"47.42","available":true,"url":"\/products\/strap-solid-color-long-jumpsuit?variant=cc0e9b78-3c97-4c25-b956-45108323d047","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":36,"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 `
`;
}()}