Casual Loose V-neck Printed Long Dress
${function() {
const variantData = data.variant || {"id":"b12c886a-684a-47c1-a346-55e76e68f262","product_id":"ae1e3642-0c63-491e-947a-ee01be62a85e","title":"Tan-S","weight_unit":"kg","inventory_quantity":500,"sku":"BL230509890-Tan-S","barcode":"","position":7,"option1":"Tan","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48764e24de08b5757d5c4d7fe4d133d5.jpeg","path":"48764e24de08b5757d5c4d7fe4d133d5.jpeg","width":659,"height":883,"alt":"","aspect_ratio":0.7463193657984145},"wholesale_price":[{"price":33.65,"min_quantity":1}],"weight":"0","compare_at_price":"50.4","price":"33.65","retail_price":"50.4","available":true,"url":"\/products\/casual-loose-v-neck-printed-long-dress-y01f-5m7i?variant=b12c886a-684a-47c1-a346-55e76e68f262","available_quantity":999999999,"options":[{"name":"Color","value":"Tan"},{"name":"Size","value":"S"}],"off_ratio":33,"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":"b12c886a-684a-47c1-a346-55e76e68f262","product_id":"ae1e3642-0c63-491e-947a-ee01be62a85e","title":"Tan-S","weight_unit":"kg","inventory_quantity":500,"sku":"BL230509890-Tan-S","barcode":"","position":7,"option1":"Tan","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48764e24de08b5757d5c4d7fe4d133d5.jpeg","path":"48764e24de08b5757d5c4d7fe4d133d5.jpeg","width":659,"height":883,"alt":"","aspect_ratio":0.7463193657984145},"wholesale_price":[{"price":33.65,"min_quantity":1}],"weight":"0","compare_at_price":"50.4","price":"33.65","retail_price":"50.4","available":true,"url":"\/products\/casual-loose-v-neck-printed-long-dress-y01f-5m7i?variant=b12c886a-684a-47c1-a346-55e76e68f262","available_quantity":999999999,"options":[{"name":"Color","value":"Tan"},{"name":"Size","value":"S"}],"off_ratio":33,"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 `
`;
}()}