Ingvn - Casual Toe Loop Detailing Jelly Slippers
${function() {
const variantData = data.variant || {"id":"df775ef9-e3bd-4f10-976e-a5b359c8aa73","product_id":"162d3c4f-e865-4fd6-b5e0-22e442ee580b","title":"Black-5","weight_unit":"g","inventory_quantity":8888,"sku":"CL5654HS05","barcode":"","position":1,"option1":"Black","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d61f81e71bd3b71bdb906cf1da7149b.jpeg","path":"2d61f81e71bd3b71bdb906cf1da7149b.jpeg","width":1000,"height":1000,"alt":"Ingvn - Casual Toe Loop Detailing Jelly Slippers Black \/ 5","aspect_ratio":1},"wholesale_price":[{"price":26.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.98","retail_price":"0","available":true,"url":"\/products\/casual-toe-loop-detailing-jelly-slippers?variant=df775ef9-e3bd-4f10-976e-a5b359c8aa73","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5"}],"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":"df775ef9-e3bd-4f10-976e-a5b359c8aa73","product_id":"162d3c4f-e865-4fd6-b5e0-22e442ee580b","title":"Black-5","weight_unit":"g","inventory_quantity":8888,"sku":"CL5654HS05","barcode":"","position":1,"option1":"Black","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d61f81e71bd3b71bdb906cf1da7149b.jpeg","path":"2d61f81e71bd3b71bdb906cf1da7149b.jpeg","width":1000,"height":1000,"alt":"Ingvn - Casual Toe Loop Detailing Jelly Slippers Black \/ 5","aspect_ratio":1},"wholesale_price":[{"price":26.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.98","retail_price":"0","available":true,"url":"\/products\/casual-toe-loop-detailing-jelly-slippers?variant=df775ef9-e3bd-4f10-976e-a5b359c8aa73","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}