Women's loose solid color wide-leg pants
${function() {
const variantData = data.variant || {"id":"984a8877-1505-4122-8c55-75c009ee6c62","product_id":"d36c1145-b359-442e-b85d-00d79c37dc90","title":"Khaki-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011826-khaki-s","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30aec0bf1781036084ed9c3680164948.jpeg","path":"30aec0bf1781036084ed9c3680164948.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.69,"min_quantity":1}],"weight":"0.24","compare_at_price":"33.98","price":"25.69","retail_price":"33.98","available":true,"url":"\/products\/womens-loose-solid-color-wide-leg-pants?variant=984a8877-1505-4122-8c55-75c009ee6c62","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":24,"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":"984a8877-1505-4122-8c55-75c009ee6c62","product_id":"d36c1145-b359-442e-b85d-00d79c37dc90","title":"Khaki-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011826-khaki-s","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30aec0bf1781036084ed9c3680164948.jpeg","path":"30aec0bf1781036084ed9c3680164948.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.69,"min_quantity":1}],"weight":"0.24","compare_at_price":"33.98","price":"25.69","retail_price":"33.98","available":true,"url":"\/products\/womens-loose-solid-color-wide-leg-pants?variant=984a8877-1505-4122-8c55-75c009ee6c62","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":24,"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 `
`;
}()}