Ingvn - Women's Peep Toe Plaid Slip-on Stilettos Thin Heels
${function() {
const variantData = data.variant || {"id":"50c012c3-d63e-4d01-a549-4898d8641b9c","product_id":"01e6843e-d2b1-41f8-94f9-c8be257ec498","title":"Gray-5","weight_unit":"g","inventory_quantity":777,"sku":"D3A202GR05","barcode":"","position":1,"option1":"Gray","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dbcf2e02fee96d40f48eb45583d8aec2.jpeg","path":"dbcf2e02fee96d40f48eb45583d8aec2.jpeg","width":1000,"height":1000,"alt":"Ingvn - Women\u2019s Peep Toe Plaid Slip-On Stilettos Thin Heels Gray \/ 5","aspect_ratio":1},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40","retail_price":"0","available":true,"url":"\/products\/womens-peep-toe-plaid-slip-on-stilettos-thin-heels?variant=50c012c3-d63e-4d01-a549-4898d8641b9c","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"5"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"50c012c3-d63e-4d01-a549-4898d8641b9c","product_id":"01e6843e-d2b1-41f8-94f9-c8be257ec498","title":"Gray-5","weight_unit":"g","inventory_quantity":777,"sku":"D3A202GR05","barcode":"","position":1,"option1":"Gray","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dbcf2e02fee96d40f48eb45583d8aec2.jpeg","path":"dbcf2e02fee96d40f48eb45583d8aec2.jpeg","width":1000,"height":1000,"alt":"Ingvn - Women\u2019s Peep Toe Plaid Slip-On Stilettos Thin Heels Gray \/ 5","aspect_ratio":1},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40","retail_price":"0","available":true,"url":"\/products\/womens-peep-toe-plaid-slip-on-stilettos-thin-heels?variant=50c012c3-d63e-4d01-a549-4898d8641b9c","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"5"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}