Ingvn - Women Long Dress Autumn Winter Long Sleeve Elegant Ladies Flower Square Collar Dresses Party Black Clothes For Woman
${function() {
const variantData = data.variant || {"id":"3f465b26-9b76-43f5-92a2-c50bfc30d564","product_id":"7b3f4a93-662e-4d1c-9452-91befa708798","title":"Black-S","weight_unit":"g","inventory_quantity":8899,"sku":"58522139-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/134838eb2d2f58e57f7754dc806fe947.jpeg","path":"134838eb2d2f58e57f7754dc806fe947.jpeg","width":1000,"height":1000,"alt":"Ingvn - Women Long Dress Autumn Winter Sleeve Elegant Ladies Flower Square Collar Dresses Party","aspect_ratio":1},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"58","price":"28.99","retail_price":"58","available":true,"url":"\/products\/ingvn-women-long-dress-autumn-winter-long-sleeve-elegant-ladies-flower-square-collar-dresses-party-2022-black-clothes-for-woman-1?variant=3f465b26-9b76-43f5-92a2-c50bfc30d564","available_quantity":8899,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":50,"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":"3f465b26-9b76-43f5-92a2-c50bfc30d564","product_id":"7b3f4a93-662e-4d1c-9452-91befa708798","title":"Black-S","weight_unit":"g","inventory_quantity":8899,"sku":"58522139-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/134838eb2d2f58e57f7754dc806fe947.jpeg","path":"134838eb2d2f58e57f7754dc806fe947.jpeg","width":1000,"height":1000,"alt":"Ingvn - Women Long Dress Autumn Winter Sleeve Elegant Ladies Flower Square Collar Dresses Party","aspect_ratio":1},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"58","price":"28.99","retail_price":"58","available":true,"url":"\/products\/ingvn-women-long-dress-autumn-winter-long-sleeve-elegant-ladies-flower-square-collar-dresses-party-2022-black-clothes-for-woman-1?variant=3f465b26-9b76-43f5-92a2-c50bfc30d564","available_quantity":8899,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}