Casual Loose V-neck Printed Long Dress
${function() {
const variantData = data.variant || {"id":"f5c7e746-4470-4ce5-9d9b-1bb24b7f2de3","product_id":"4d2ae15c-f268-4241-a431-bbcb4cfbc0d6","title":"Green-S","weight_unit":"kg","inventory_quantity":963,"sku":"BL230509889-Green-S","barcode":"","position":7,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57e58dfa3e6f53b714371b7d0c135682.jpeg","path":"57e58dfa3e6f53b714371b7d0c135682.jpeg","width":650,"height":867,"alt":"","aspect_ratio":0.7497116493656286},"wholesale_price":[{"price":35.67,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35.67","retail_price":"55","available":true,"url":"\/products\/casual-loose-v-neck-printed-long-dress?variant=f5c7e746-4470-4ce5-9d9b-1bb24b7f2de3","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":35,"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":"f5c7e746-4470-4ce5-9d9b-1bb24b7f2de3","product_id":"4d2ae15c-f268-4241-a431-bbcb4cfbc0d6","title":"Green-S","weight_unit":"kg","inventory_quantity":963,"sku":"BL230509889-Green-S","barcode":"","position":7,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57e58dfa3e6f53b714371b7d0c135682.jpeg","path":"57e58dfa3e6f53b714371b7d0c135682.jpeg","width":650,"height":867,"alt":"","aspect_ratio":0.7497116493656286},"wholesale_price":[{"price":35.67,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35.67","retail_price":"55","available":true,"url":"\/products\/casual-loose-v-neck-printed-long-dress?variant=f5c7e746-4470-4ce5-9d9b-1bb24b7f2de3","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":35,"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 `
`;
}()}