Casual Solid Paneled Side Pockets Elastic Folds Harem Pants
${function() {
const variantData = data.variant || {"id":"52c547eb-2395-4439-8629-0b71e3c0f460","product_id":"dfea5487-f27b-4650-b68f-a496796358e8","title":"khaki-3XL","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21012260-khaki-3xl","barcode":"","position":1,"option1":"khaki","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ac3a52d762706cbb4a28ef1f01ff5f7.jpeg","path":"4ac3a52d762706cbb4a28ef1f01ff5f7.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":30.9,"min_quantity":1}],"weight":"0.4","compare_at_price":"43.28","price":"30.9","retail_price":"43.28","available":true,"url":"\/products\/casual-solid-paneled-side-pockets-elastic-folds-harem-pants?variant=52c547eb-2395-4439-8629-0b71e3c0f460","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"3XL"}],"off_ratio":29,"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":"52c547eb-2395-4439-8629-0b71e3c0f460","product_id":"dfea5487-f27b-4650-b68f-a496796358e8","title":"khaki-3XL","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21012260-khaki-3xl","barcode":"","position":1,"option1":"khaki","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ac3a52d762706cbb4a28ef1f01ff5f7.jpeg","path":"4ac3a52d762706cbb4a28ef1f01ff5f7.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":30.9,"min_quantity":1}],"weight":"0.4","compare_at_price":"43.28","price":"30.9","retail_price":"43.28","available":true,"url":"\/products\/casual-solid-paneled-side-pockets-elastic-folds-harem-pants?variant=52c547eb-2395-4439-8629-0b71e3c0f460","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"3XL"}],"off_ratio":29,"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 `
`;
}()}