Elegant Sleeveless Slit Solid Color Evening Dress
${function() {
const variantData = data.variant || {"id":"0ddec896-1f98-4a9d-9fa2-9c4ae5088477","product_id":"73e703c3-cf89-4a2c-9397-9489a53cb3e3","title":"Red-XS","weight_unit":"kg","inventory_quantity":0,"sku":"BL2301313621-Red-XS","barcode":"","position":6,"option1":"Red","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a8ca719c7006fcc8d4cf4ee706704b6.jpeg","path":"6a8ca719c7006fcc8d4cf4ee706704b6.jpeg","width":910,"height":1000,"alt":"","aspect_ratio":0.91},"wholesale_price":[{"price":59.68,"min_quantity":1}],"weight":"0","compare_at_price":"66","price":"59.68","retail_price":"66","available":true,"url":"\/products\/elegant-sleeveless-slit-solid-color-evening-dress?variant=0ddec896-1f98-4a9d-9fa2-9c4ae5088477","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"XS"}],"off_ratio":10,"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":"0ddec896-1f98-4a9d-9fa2-9c4ae5088477","product_id":"73e703c3-cf89-4a2c-9397-9489a53cb3e3","title":"Red-XS","weight_unit":"kg","inventory_quantity":0,"sku":"BL2301313621-Red-XS","barcode":"","position":6,"option1":"Red","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a8ca719c7006fcc8d4cf4ee706704b6.jpeg","path":"6a8ca719c7006fcc8d4cf4ee706704b6.jpeg","width":910,"height":1000,"alt":"","aspect_ratio":0.91},"wholesale_price":[{"price":59.68,"min_quantity":1}],"weight":"0","compare_at_price":"66","price":"59.68","retail_price":"66","available":true,"url":"\/products\/elegant-sleeveless-slit-solid-color-evening-dress?variant=0ddec896-1f98-4a9d-9fa2-9c4ae5088477","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"XS"}],"off_ratio":10,"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 `
`;
}()}