Ingvn - Clear Straps Silver Buckles Cheetah Slippers
${function() {
const variantData = data.variant || {"id":"c3b3b4bd-f0f2-40f5-a6e2-3700bc9b01aa","product_id":"5c1fe701-951d-4d51-a773-cc19aef86573","title":"Leopard-5","weight_unit":"g","inventory_quantity":999,"sku":"JE2032BW05","barcode":"","position":1,"option1":"Leopard","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a742112afe6c0575e3010d4b8e440008.jpeg","path":"a742112afe6c0575e3010d4b8e440008.jpeg","width":1000,"height":1000,"alt":"Ingvn - Clear Straps Silver Buckles Cheetah Slippers Leopard \/ 5","aspect_ratio":1},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"29.98","retail_price":"60","available":true,"url":"\/products\/clear-straps-silver-buckles-cheetah-slippers?variant=c3b3b4bd-f0f2-40f5-a6e2-3700bc9b01aa","available_quantity":999999999,"options":[{"name":"Color","value":"Leopard"},{"name":"Size","value":"5"}],"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":"c3b3b4bd-f0f2-40f5-a6e2-3700bc9b01aa","product_id":"5c1fe701-951d-4d51-a773-cc19aef86573","title":"Leopard-5","weight_unit":"g","inventory_quantity":999,"sku":"JE2032BW05","barcode":"","position":1,"option1":"Leopard","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a742112afe6c0575e3010d4b8e440008.jpeg","path":"a742112afe6c0575e3010d4b8e440008.jpeg","width":1000,"height":1000,"alt":"Ingvn - Clear Straps Silver Buckles Cheetah Slippers Leopard \/ 5","aspect_ratio":1},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"29.98","retail_price":"60","available":true,"url":"\/products\/clear-straps-silver-buckles-cheetah-slippers?variant=c3b3b4bd-f0f2-40f5-a6e2-3700bc9b01aa","available_quantity":999999999,"options":[{"name":"Color","value":"Leopard"},{"name":"Size","value":"5"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}