Ingvn - Women Dress New Autumn Sexy Solid long sleeve Mini Dresses
${function() {
const variantData = data.variant || {"id":"980942da-7bdf-42b6-a1d7-a2d136982e59","product_id":"11a7e99e-fb39-43bb-95ee-6ca6d9123c19","title":"khaki-S","weight_unit":"g","inventory_quantity":875,"sku":"36534162-khaki-s","barcode":"","position":1,"option1":"khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5298c6734ef34f953968d89684351348.jpeg","path":"5298c6734ef34f953968d89684351348.jpeg","width":1000,"height":1000,"alt":"Ingvn - Women Dress New Autumn Sexy Solid Long Sleeve Mini Dresses Khaki \/ S","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18.99","retail_price":"0","available":true,"url":"\/products\/women-dress-2022-new-autumn-sexy-solid-long-sleeve-mini-dresses-free-shipping-drop-ship?variant=980942da-7bdf-42b6-a1d7-a2d136982e59","available_quantity":875,"options":[{"name":"Color","value":"khaki"},{"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":"980942da-7bdf-42b6-a1d7-a2d136982e59","product_id":"11a7e99e-fb39-43bb-95ee-6ca6d9123c19","title":"khaki-S","weight_unit":"g","inventory_quantity":875,"sku":"36534162-khaki-s","barcode":"","position":1,"option1":"khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5298c6734ef34f953968d89684351348.jpeg","path":"5298c6734ef34f953968d89684351348.jpeg","width":1000,"height":1000,"alt":"Ingvn - Women Dress New Autumn Sexy Solid Long Sleeve Mini Dresses Khaki \/ S","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18.99","retail_price":"0","available":true,"url":"\/products\/women-dress-2022-new-autumn-sexy-solid-long-sleeve-mini-dresses-free-shipping-drop-ship?variant=980942da-7bdf-42b6-a1d7-a2d136982e59","available_quantity":875,"options":[{"name":"Color","value":"khaki"},{"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}
`
}()}