Wide leg open back jumpsuit
${function() {
const variantData = data.variant || {"id":"9a59da7c-2366-43a0-aa7c-e80884f8ab65","product_id":"1f39e907-f2e3-4e64-9382-d51df34be9aa","title":"red-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220809475-FZDYSred-2XL","barcode":"","position":1,"option1":"red","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b318e15fa323bfdad524baa3fb0f41fe.jpeg","path":"b318e15fa323bfdad524baa3fb0f41fe.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.76,"min_quantity":1}],"weight":"0","compare_at_price":"44.72","price":"35.76","retail_price":"44.72","available":true,"url":"\/products\/wide-leg-open-back-jumpsuit?variant=9a59da7c-2366-43a0-aa7c-e80884f8ab65","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"2XL"}],"off_ratio":20,"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":"9a59da7c-2366-43a0-aa7c-e80884f8ab65","product_id":"1f39e907-f2e3-4e64-9382-d51df34be9aa","title":"red-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220809475-FZDYSred-2XL","barcode":"","position":1,"option1":"red","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b318e15fa323bfdad524baa3fb0f41fe.jpeg","path":"b318e15fa323bfdad524baa3fb0f41fe.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.76,"min_quantity":1}],"weight":"0","compare_at_price":"44.72","price":"35.76","retail_price":"44.72","available":true,"url":"\/products\/wide-leg-open-back-jumpsuit?variant=9a59da7c-2366-43a0-aa7c-e80884f8ab65","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"2XL"}],"off_ratio":20,"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 `
`;
}()}