Literary cotton and linen strap casual jumpsuit
${function() {
const variantData = data.variant || {"id":"5822a554-c218-48d4-89da-5f55b950dc76","product_id":"bca4c7ba-3f9f-4757-98c3-1bdead022aec","title":"brown-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220809528-FZDYSbrown-2XL","barcode":"","position":17,"option1":"brown","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/065da5c8efe93a1eb7e3312e49ffd88c.jpeg","path":"065da5c8efe93a1eb7e3312e49ffd88c.jpeg","width":781,"height":849,"alt":"","aspect_ratio":0.9199057714958775},"wholesale_price":[{"price":35.48,"min_quantity":1}],"weight":"0","compare_at_price":"44.36","price":"35.48","retail_price":"44.36","available":true,"url":"\/products\/literary-cotton-and-linen-strap-casual-jumpsuit?variant=5822a554-c218-48d4-89da-5f55b950dc76","available_quantity":999999999,"options":[{"name":"Color","value":"brown"},{"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":"5822a554-c218-48d4-89da-5f55b950dc76","product_id":"bca4c7ba-3f9f-4757-98c3-1bdead022aec","title":"brown-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220809528-FZDYSbrown-2XL","barcode":"","position":17,"option1":"brown","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/065da5c8efe93a1eb7e3312e49ffd88c.jpeg","path":"065da5c8efe93a1eb7e3312e49ffd88c.jpeg","width":781,"height":849,"alt":"","aspect_ratio":0.9199057714958775},"wholesale_price":[{"price":35.48,"min_quantity":1}],"weight":"0","compare_at_price":"44.36","price":"35.48","retail_price":"44.36","available":true,"url":"\/products\/literary-cotton-and-linen-strap-casual-jumpsuit?variant=5822a554-c218-48d4-89da-5f55b950dc76","available_quantity":999999999,"options":[{"name":"Color","value":"brown"},{"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 `
`;
}()}