Casual Loose V-neck Printed Long Dress
${function() {
const variantData = data.variant || {"id":"7c08ae4a-4baf-4f79-9ec4-e209daef3bd3","product_id":"4d2ae15c-f268-4241-a431-bbcb4cfbc0d6","title":"Blue-S","weight_unit":"kg","inventory_quantity":891,"sku":"BL230509889-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36147818840048dbd12d83bc0b28e0a5.jpeg","path":"36147818840048dbd12d83bc0b28e0a5.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=7c08ae4a-4baf-4f79-9ec4-e209daef3bd3","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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":"7c08ae4a-4baf-4f79-9ec4-e209daef3bd3","product_id":"4d2ae15c-f268-4241-a431-bbcb4cfbc0d6","title":"Blue-S","weight_unit":"kg","inventory_quantity":891,"sku":"BL230509889-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36147818840048dbd12d83bc0b28e0a5.jpeg","path":"36147818840048dbd12d83bc0b28e0a5.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=7c08ae4a-4baf-4f79-9ec4-e209daef3bd3","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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 `
`;
}()}