Ingvn - Women Summer Dress Wrap Hollow Out Backless Halter Backless Beach Dresses Maxi Long Vestidos
${function() {
const variantData = data.variant || {"id":"639ef9d0-318d-4ffc-aebf-68bf7ba6b6ba","product_id":"c12ae7de-6f05-4926-bf5f-ce56170820db","title":"Black-S","weight_unit":"g","inventory_quantity":9624,"sku":"10848554-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/721277160504aea2ad30513adab8b6ac.jpeg","path":"721277160504aea2ad30513adab8b6ac.jpeg","width":1000,"height":1000,"alt":"Ingvn - Women Summer Dress Wrap Hollow Out Backless Halter Beach Dresses Maxi Long Vestidos Black \/","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/ingvn-2022-women-summer-dress-wrap-hollow-out-backless-halter-backless-beach-dresses-maxi-long-vestidos?variant=639ef9d0-318d-4ffc-aebf-68bf7ba6b6ba","available_quantity":9624,"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":"639ef9d0-318d-4ffc-aebf-68bf7ba6b6ba","product_id":"c12ae7de-6f05-4926-bf5f-ce56170820db","title":"Black-S","weight_unit":"g","inventory_quantity":9624,"sku":"10848554-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/721277160504aea2ad30513adab8b6ac.jpeg","path":"721277160504aea2ad30513adab8b6ac.jpeg","width":1000,"height":1000,"alt":"Ingvn - Women Summer Dress Wrap Hollow Out Backless Halter Beach Dresses Maxi Long Vestidos Black \/","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/ingvn-2022-women-summer-dress-wrap-hollow-out-backless-halter-backless-beach-dresses-maxi-long-vestidos?variant=639ef9d0-318d-4ffc-aebf-68bf7ba6b6ba","available_quantity":9624,"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}
`
}()}