Ingvn - Elegant Evening White Dress Long For Women Party Club Sexy Hollow Turtleneck Autumn Plus Size Bodycon Maxi Dresses Wedding
${function() {
const variantData = data.variant || {"id":"7f668ec6-7bb2-4fbd-a3f5-ac95c673bf28","product_id":"cdb0c3fc-3b76-4ea8-933d-c88fe30bb8d3","title":"Silver-S","weight_unit":"g","inventory_quantity":6666,"sku":"59885677-white-s","barcode":"","position":1,"option1":"Silver","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/92c7106105113f336f4d1cca79088fb6.jpeg","path":"92c7106105113f336f4d1cca79088fb6.jpeg","width":940,"height":940,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.06,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"40.06","retail_price":"80","available":true,"url":"\/products\/elegant-evening-white-dress-long-for-women-party-club-sexy-hollow-turtleneck-autumn-plus-size-bodycon-maxi-dresses-wedding-2021?variant=7f668ec6-7bb2-4fbd-a3f5-ac95c673bf28","available_quantity":6666,"options":[{"name":"Color","value":"Silver"},{"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":"7f668ec6-7bb2-4fbd-a3f5-ac95c673bf28","product_id":"cdb0c3fc-3b76-4ea8-933d-c88fe30bb8d3","title":"Silver-S","weight_unit":"g","inventory_quantity":6666,"sku":"59885677-white-s","barcode":"","position":1,"option1":"Silver","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/92c7106105113f336f4d1cca79088fb6.jpeg","path":"92c7106105113f336f4d1cca79088fb6.jpeg","width":940,"height":940,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.06,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"40.06","retail_price":"80","available":true,"url":"\/products\/elegant-evening-white-dress-long-for-women-party-club-sexy-hollow-turtleneck-autumn-plus-size-bodycon-maxi-dresses-wedding-2021?variant=7f668ec6-7bb2-4fbd-a3f5-ac95c673bf28","available_quantity":6666,"options":[{"name":"Color","value":"Silver"},{"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}
`
}()}