Casual Neck Plicated Loose Wrap Jumpsuit
${function() {
const variantData = data.variant || {"id":"50f04ab4-ca3b-48d7-a3b8-99b5deb6b5a8","product_id":"e12e02ce-895c-4b96-9165-6a6a06522fea","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"2206171674-Green-S","barcode":"","position":7,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d469654dfd99d9a40585d681bc04f2b.jpeg","path":"0d469654dfd99d9a40585d681bc04f2b.jpeg","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":41.32,"min_quantity":1}],"weight":"0.5","compare_at_price":"71.75","price":"41.32","retail_price":"71.75","available":true,"url":"\/products\/casual-neck-plicated-loose-wrap-jumpsuit-kqg1?variant=50f04ab4-ca3b-48d7-a3b8-99b5deb6b5a8","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":42,"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":"50f04ab4-ca3b-48d7-a3b8-99b5deb6b5a8","product_id":"e12e02ce-895c-4b96-9165-6a6a06522fea","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"2206171674-Green-S","barcode":"","position":7,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d469654dfd99d9a40585d681bc04f2b.jpeg","path":"0d469654dfd99d9a40585d681bc04f2b.jpeg","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":41.32,"min_quantity":1}],"weight":"0.5","compare_at_price":"71.75","price":"41.32","retail_price":"71.75","available":true,"url":"\/products\/casual-neck-plicated-loose-wrap-jumpsuit-kqg1?variant=50f04ab4-ca3b-48d7-a3b8-99b5deb6b5a8","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":42,"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 `
`;
}()}