Ingvn - New Arrival Summer Short Sleeve Natasha Mini Dress Women Ruffled A-line Dress Blue Print
${function() {
const variantData = data.variant || {"id":"090ba3a2-d8a5-42c4-8a17-28c76dbed1f7","product_id":"ba20900a-31ff-411e-b472-9bcb36e41c19","title":"Blue-S","weight_unit":"g","inventory_quantity":224,"sku":"88892240-blue-s","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dae5185592502a073b10c19e7a5243a7.jpeg","path":"dae5185592502a073b10c19e7a5243a7.jpeg","width":1000,"height":1000,"alt":"Ingvn - New Arrival Summer Short Sleeve Natasha Mini Dress Women Ruffled A-Line Blue Print \/ S","aspect_ratio":1},"wholesale_price":[{"price":51.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"51.99","retail_price":"0","available":true,"url":"\/products\/new-arrival-summer-short-sleeve-natasha-mini-dress-women-ruffled-a-line-dress-blue-print?variant=090ba3a2-d8a5-42c4-8a17-28c76dbed1f7","available_quantity":224,"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":"090ba3a2-d8a5-42c4-8a17-28c76dbed1f7","product_id":"ba20900a-31ff-411e-b472-9bcb36e41c19","title":"Blue-S","weight_unit":"g","inventory_quantity":224,"sku":"88892240-blue-s","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dae5185592502a073b10c19e7a5243a7.jpeg","path":"dae5185592502a073b10c19e7a5243a7.jpeg","width":1000,"height":1000,"alt":"Ingvn - New Arrival Summer Short Sleeve Natasha Mini Dress Women Ruffled A-Line Blue Print \/ S","aspect_ratio":1},"wholesale_price":[{"price":51.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"51.99","retail_price":"0","available":true,"url":"\/products\/new-arrival-summer-short-sleeve-natasha-mini-dress-women-ruffled-a-line-dress-blue-print?variant=090ba3a2-d8a5-42c4-8a17-28c76dbed1f7","available_quantity":224,"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}
`
}()}