Literary cotton and linen strap casual jumpsuit
${function() {
const variantData = data.variant || {"id":"5d814086-5095-4c25-88fb-1a9ca83143ed","product_id":"ba419384-5098-4fdc-95b9-7e609519f56d","title":"black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220809484-FZDYSblack-2XL","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/026c68ba8c9413d7d079f21948592baa.jpeg","path":"026c68ba8c9413d7d079f21948592baa.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.76,"min_quantity":1}],"weight":"0","compare_at_price":"42.44","price":"34.76","retail_price":"42.44","available":true,"url":"\/products\/literary-cotton-and-linen-strap-casual-jumpsuit-6w7m?variant=5d814086-5095-4c25-88fb-1a9ca83143ed","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"2XL"}],"off_ratio":18,"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":"5d814086-5095-4c25-88fb-1a9ca83143ed","product_id":"ba419384-5098-4fdc-95b9-7e609519f56d","title":"black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220809484-FZDYSblack-2XL","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/026c68ba8c9413d7d079f21948592baa.jpeg","path":"026c68ba8c9413d7d079f21948592baa.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.76,"min_quantity":1}],"weight":"0","compare_at_price":"42.44","price":"34.76","retail_price":"42.44","available":true,"url":"\/products\/literary-cotton-and-linen-strap-casual-jumpsuit-6w7m?variant=5d814086-5095-4c25-88fb-1a9ca83143ed","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"2XL"}],"off_ratio":18,"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 `
`;
}()}