Summer vacation style printed long-sleeved dress
${function() {
const variantData = data.variant || {"id":"5ebc3d0a-7d4f-4436-b7fa-dd801c3549eb","product_id":"085829ec-03d5-4a32-a2fd-e2426f3c5651","title":"As picture-3XL","weight_unit":"kg","inventory_quantity":0,"sku":"662402041193-As picture-3XL","barcode":"","position":1,"option1":"As picture","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d1b590bb839ad37f2c3fb4f491fee4e.jpeg","path":"4d1b590bb839ad37f2c3fb4f491fee4e.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":58.79,"min_quantity":1}],"weight":"400","compare_at_price":"78","price":"58.79","retail_price":"78","available":true,"url":"\/products\/summer-vacation-style-printed-long-sleeved-dress?variant=5ebc3d0a-7d4f-4436-b7fa-dd801c3549eb","available_quantity":999999999,"options":[{"name":"Color","value":"As picture"},{"name":"Size","value":"3XL"}],"off_ratio":25,"flashsale_info":[],"sales":1};
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":"5ebc3d0a-7d4f-4436-b7fa-dd801c3549eb","product_id":"085829ec-03d5-4a32-a2fd-e2426f3c5651","title":"As picture-3XL","weight_unit":"kg","inventory_quantity":0,"sku":"662402041193-As picture-3XL","barcode":"","position":1,"option1":"As picture","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d1b590bb839ad37f2c3fb4f491fee4e.jpeg","path":"4d1b590bb839ad37f2c3fb4f491fee4e.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":58.79,"min_quantity":1}],"weight":"400","compare_at_price":"78","price":"58.79","retail_price":"78","available":true,"url":"\/products\/summer-vacation-style-printed-long-sleeved-dress?variant=5ebc3d0a-7d4f-4436-b7fa-dd801c3549eb","available_quantity":999999999,"options":[{"name":"Color","value":"As picture"},{"name":"Size","value":"3XL"}],"off_ratio":25,"flashsale_info":[],"sales":1};
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 `
`;
}()}