Casual Loose V-neck Printed Long Dress
${function() {
const variantData = data.variant || {"id":"60c468b0-61e2-41d1-9107-9b2f7ad27d94","product_id":"7f617928-3c70-46dc-9abc-89a6c85eaf2e","title":"Pink-S","weight_unit":"kg","inventory_quantity":500,"sku":"BL230509891-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0acd31ba75682d328db8bc1137adf916.jpeg","path":"0acd31ba75682d328db8bc1137adf916.jpeg","width":640,"height":853,"alt":"","aspect_ratio":0.7502930832356389},"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-wtg3-ezec?variant=60c468b0-61e2-41d1-9107-9b2f7ad27d94","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"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":"60c468b0-61e2-41d1-9107-9b2f7ad27d94","product_id":"7f617928-3c70-46dc-9abc-89a6c85eaf2e","title":"Pink-S","weight_unit":"kg","inventory_quantity":500,"sku":"BL230509891-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0acd31ba75682d328db8bc1137adf916.jpeg","path":"0acd31ba75682d328db8bc1137adf916.jpeg","width":640,"height":853,"alt":"","aspect_ratio":0.7502930832356389},"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-wtg3-ezec?variant=60c468b0-61e2-41d1-9107-9b2f7ad27d94","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"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 `
`;
}()}