Cotton& Spandex Slimming and Inside Fleece Pantyhose
${function() {
const variantData = data.variant || {"id":"87a1a596-c2d2-4be0-b0d9-902db84b3e18","product_id":"753ffc0c-5a37-41c7-9ef5-a459f5f411cb","title":"Black-Stirrup leggings","weight_unit":"kg","inventory_quantity":56777,"sku":"221024641-Black-Stirrup leggings","barcode":"","position":1,"option1":"Black","option2":"Stirrup leggings","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/851e6ca3f7c9918bf5d7e8a4c0653e6a.jpeg","path":"851e6ca3f7c9918bf5d7e8a4c0653e6a.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.29,"min_quantity":1}],"weight":"0.17","compare_at_price":"22.86","price":"18.29","retail_price":"22.86","available":true,"url":"\/products\/cotton-spandex-slimming-and-inside-fleece-pantyhose?variant=87a1a596-c2d2-4be0-b0d9-902db84b3e18","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"Stirrup leggings"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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":"87a1a596-c2d2-4be0-b0d9-902db84b3e18","product_id":"753ffc0c-5a37-41c7-9ef5-a459f5f411cb","title":"Black-Stirrup leggings","weight_unit":"kg","inventory_quantity":56777,"sku":"221024641-Black-Stirrup leggings","barcode":"","position":1,"option1":"Black","option2":"Stirrup leggings","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/851e6ca3f7c9918bf5d7e8a4c0653e6a.jpeg","path":"851e6ca3f7c9918bf5d7e8a4c0653e6a.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.29,"min_quantity":1}],"weight":"0.17","compare_at_price":"22.86","price":"18.29","retail_price":"22.86","available":true,"url":"\/products\/cotton-spandex-slimming-and-inside-fleece-pantyhose?variant=87a1a596-c2d2-4be0-b0d9-902db84b3e18","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"Stirrup leggings"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}