Ingvn - New Trends Sexy Evening Dress Solid Color One Shoulder Dress Ladies Party Prom Dress
${function() {
const variantData = data.variant || {"id":"9e1cbeaf-2201-4659-b662-880c3b96e1d4","product_id":"4fa7055c-adeb-4f9b-9ce7-b358f2bae19b","title":"Gold-S","weight_unit":"g","inventory_quantity":1000,"sku":"71379043-gold-s","barcode":"","position":1,"option1":"Gold","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43021205a82a84e9937597cb64d2de32.jpeg","path":"43021205a82a84e9937597cb64d2de32.jpeg","width":1000,"height":1000,"alt":"Ingvn - New Trends Sexy Evening Dress Solid Color One Shoulder Ladies Party Prom Gold \/ S","aspect_ratio":1},"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"48.99","retail_price":"0","available":true,"url":"\/products\/ingvn-new-trends-sexy-evening-dress-solid-color-one-shoulder-dress-ladies-party-prom-dress?variant=9e1cbeaf-2201-4659-b662-880c3b96e1d4","available_quantity":1000,"options":[{"name":"Color","value":"Gold"},{"name":"US 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":"9e1cbeaf-2201-4659-b662-880c3b96e1d4","product_id":"4fa7055c-adeb-4f9b-9ce7-b358f2bae19b","title":"Gold-S","weight_unit":"g","inventory_quantity":1000,"sku":"71379043-gold-s","barcode":"","position":1,"option1":"Gold","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43021205a82a84e9937597cb64d2de32.jpeg","path":"43021205a82a84e9937597cb64d2de32.jpeg","width":1000,"height":1000,"alt":"Ingvn - New Trends Sexy Evening Dress Solid Color One Shoulder Ladies Party Prom Gold \/ S","aspect_ratio":1},"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"48.99","retail_price":"0","available":true,"url":"\/products\/ingvn-new-trends-sexy-evening-dress-solid-color-one-shoulder-dress-ladies-party-prom-dress?variant=9e1cbeaf-2201-4659-b662-880c3b96e1d4","available_quantity":1000,"options":[{"name":"Color","value":"Gold"},{"name":"US 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}
`
}()}