Elegant Solid Color V-Neck Horn Sleeve Chiffon Dress
${function() {
const variantData = data.variant || {"id":"638e70d1-ffac-48a5-90c0-787898b3fb52","product_id":"6dd92313-7929-4676-b36f-109cc4672c11","title":"Green-XS","weight_unit":"kg","inventory_quantity":0,"sku":"MM24043010499-Green-XS","barcode":"","position":1,"option1":"Green","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/80d5e7bdd369932662a8f6e177408306.jpeg","path":"80d5e7bdd369932662a8f6e177408306.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"300","compare_at_price":"61.99","price":"49.99","retail_price":"61.99","available":true,"url":"\/products\/elegant-solid-color-v-neck-horn-sleeve-chiffon-dress?variant=638e70d1-ffac-48a5-90c0-787898b3fb52","available_quantity":999999999,"options":[{"name":"color","value":"Green"},{"name":"size","value":"XS"}],"off_ratio":19,"flashsale_info":[],"sales":2};
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":"638e70d1-ffac-48a5-90c0-787898b3fb52","product_id":"6dd92313-7929-4676-b36f-109cc4672c11","title":"Green-XS","weight_unit":"kg","inventory_quantity":0,"sku":"MM24043010499-Green-XS","barcode":"","position":1,"option1":"Green","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/80d5e7bdd369932662a8f6e177408306.jpeg","path":"80d5e7bdd369932662a8f6e177408306.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"300","compare_at_price":"61.99","price":"49.99","retail_price":"61.99","available":true,"url":"\/products\/elegant-solid-color-v-neck-horn-sleeve-chiffon-dress?variant=638e70d1-ffac-48a5-90c0-787898b3fb52","available_quantity":999999999,"options":[{"name":"color","value":"Green"},{"name":"size","value":"XS"}],"off_ratio":19,"flashsale_info":[],"sales":2};
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 `
`;
}()}