Sling Embroidery Elegant Evening Dress -Long Version
${function() {
const variantData = data.variant || {"id":"090fbdbb-be31-438e-9179-fe643f9fdfe6","product_id":"b573378b-488c-493d-be8e-af53de1fea47","title":"White-XS","weight_unit":"kg","inventory_quantity":991,"sku":"2301313610-White-XS","barcode":"","position":1,"option1":"White","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f2d9ab3cb2f69c4dfc7a81a6831bd4a.jpeg","path":"8f2d9ab3cb2f69c4dfc7a81a6831bd4a.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":73.55,"min_quantity":1}],"weight":"0.62","compare_at_price":"89","price":"73.55","retail_price":"89","available":true,"url":"\/products\/sling-embroidery-elegant-evening-dress-long-version?variant=090fbdbb-be31-438e-9179-fe643f9fdfe6","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XS"}],"off_ratio":17,"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":"090fbdbb-be31-438e-9179-fe643f9fdfe6","product_id":"b573378b-488c-493d-be8e-af53de1fea47","title":"White-XS","weight_unit":"kg","inventory_quantity":991,"sku":"2301313610-White-XS","barcode":"","position":1,"option1":"White","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f2d9ab3cb2f69c4dfc7a81a6831bd4a.jpeg","path":"8f2d9ab3cb2f69c4dfc7a81a6831bd4a.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":73.55,"min_quantity":1}],"weight":"0.62","compare_at_price":"89","price":"73.55","retail_price":"89","available":true,"url":"\/products\/sling-embroidery-elegant-evening-dress-long-version?variant=090fbdbb-be31-438e-9179-fe643f9fdfe6","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XS"}],"off_ratio":17,"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 `
`;
}()}