Ingvn - Women Clothes Slash Neck Cascading Ruffle Shirring Dresses Solid Color Midi Sweet Princess Dress Fashion Elegant Pleated Design
${function() {
const variantData = data.variant || {"id":"f385a6fa-b0a6-4dc9-9f58-597dde43e1a8","product_id":"22cd4cde-fb3c-4aeb-a4f3-cff4da109e66","title":"Blue-S","weight_unit":"g","inventory_quantity":500,"sku":"04533241-blue-s","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc05837dadec0ed8af29569757da9d78.jpeg","path":"bc05837dadec0ed8af29569757da9d78.jpeg","width":750,"height":1000,"alt":"Ingvn - Women Clothes Slash Neck Cascading Ruffle Shirring Dresses Solid Color Midi Sweet Princess","aspect_ratio":0.75},"wholesale_price":[{"price":28.69,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.69","retail_price":"0","available":true,"url":"\/products\/women-clothes-slash-neck-cascading-ruffle-shirring-dresses-solid-color-midi-sweet-princess-dress-fashion-elegant-pleated-design?variant=f385a6fa-b0a6-4dc9-9f58-597dde43e1a8","available_quantity":500,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 10;
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 `
`;
}()}
${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":"f385a6fa-b0a6-4dc9-9f58-597dde43e1a8","product_id":"22cd4cde-fb3c-4aeb-a4f3-cff4da109e66","title":"Blue-S","weight_unit":"g","inventory_quantity":500,"sku":"04533241-blue-s","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc05837dadec0ed8af29569757da9d78.jpeg","path":"bc05837dadec0ed8af29569757da9d78.jpeg","width":750,"height":1000,"alt":"Ingvn - Women Clothes Slash Neck Cascading Ruffle Shirring Dresses Solid Color Midi Sweet Princess","aspect_ratio":0.75},"wholesale_price":[{"price":28.69,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.69","retail_price":"0","available":true,"url":"\/products\/women-clothes-slash-neck-cascading-ruffle-shirring-dresses-solid-color-midi-sweet-princess-dress-fashion-elegant-pleated-design?variant=f385a6fa-b0a6-4dc9-9f58-597dde43e1a8","available_quantity":500,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}