Ingvn - Women White Dress Black Fashion Elegant Party O-neck Sleeveless Vestido Tank Sundress Female spring summer
${function() {
const variantData = data.variant || {"id":"b114e113-eeac-4f39-beb7-25877ba7dbd9","product_id":"6a1efe12-543b-492f-a82e-2e9ebd073fd1","title":"black-S","weight_unit":"g","inventory_quantity":5910,"sku":"10181666-black-s","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36a3eb7785c6805537c2cc6fc0e7a999.jpeg","path":"36a3eb7785c6805537c2cc6fc0e7a999.jpeg","width":661,"height":1000,"alt":"Ingvn - Women White Dress Black Fashion Elegant Party O - Neck Sleeveless Vestido Tank Sundress","aspect_ratio":0.661},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/ingvn-women-white-dress-black-fashion-elegant-party-o-neck-sleeveless-vestido-tank-sundress-female-2022-spring-summer?variant=b114e113-eeac-4f39-beb7-25877ba7dbd9","available_quantity":5910,"options":[{"name":"Color","value":"black"},{"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":"b114e113-eeac-4f39-beb7-25877ba7dbd9","product_id":"6a1efe12-543b-492f-a82e-2e9ebd073fd1","title":"black-S","weight_unit":"g","inventory_quantity":5910,"sku":"10181666-black-s","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36a3eb7785c6805537c2cc6fc0e7a999.jpeg","path":"36a3eb7785c6805537c2cc6fc0e7a999.jpeg","width":661,"height":1000,"alt":"Ingvn - Women White Dress Black Fashion Elegant Party O - Neck Sleeveless Vestido Tank Sundress","aspect_ratio":0.661},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/ingvn-women-white-dress-black-fashion-elegant-party-o-neck-sleeveless-vestido-tank-sundress-female-2022-spring-summer?variant=b114e113-eeac-4f39-beb7-25877ba7dbd9","available_quantity":5910,"options":[{"name":"Color","value":"black"},{"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}
`
}()}