Sling Embroidery Elegant Evening Dress
${function() {
const variantData = data.variant || {"id":"1b723295-b320-44d1-8fc9-c6c15f5bc2aa","product_id":"20c71fd8-7db5-4065-a294-3a2d7595ec41","title":"Pink-XS","weight_unit":"kg","inventory_quantity":989,"sku":"2301313609-Pink-XS","barcode":"","position":8,"option1":"Pink","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e60d4e311585be093b862c46ca0724ac.jpeg","path":"e60d4e311585be093b862c46ca0724ac.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":69.67,"min_quantity":1}],"weight":"0.52","compare_at_price":"80","price":"69.67","retail_price":"80","available":true,"url":"\/products\/sling-embroidery-elegant-evening-dress?variant=1b723295-b320-44d1-8fc9-c6c15f5bc2aa","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"XS"}],"off_ratio":13,"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":"1b723295-b320-44d1-8fc9-c6c15f5bc2aa","product_id":"20c71fd8-7db5-4065-a294-3a2d7595ec41","title":"Pink-XS","weight_unit":"kg","inventory_quantity":989,"sku":"2301313609-Pink-XS","barcode":"","position":8,"option1":"Pink","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e60d4e311585be093b862c46ca0724ac.jpeg","path":"e60d4e311585be093b862c46ca0724ac.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":69.67,"min_quantity":1}],"weight":"0.52","compare_at_price":"80","price":"69.67","retail_price":"80","available":true,"url":"\/products\/sling-embroidery-elegant-evening-dress?variant=1b723295-b320-44d1-8fc9-c6c15f5bc2aa","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"XS"}],"off_ratio":13,"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 `
`;
}()}