Women's casual pants elastic pants
${function() {
const variantData = data.variant || {"id":"d157e00b-deeb-4561-9b7f-dd4ae285a573","product_id":"3e418a50-0ebf-4256-8cc4-601116612b6b","title":"dark red-S","weight_unit":"kg","inventory_quantity":0,"sku":"66302164372-dark red-S","barcode":"","position":17,"option1":"dark red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a7ddb944fe8b8dd367f45eb59ebdb77.jpeg","path":"0a7ddb944fe8b8dd367f45eb59ebdb77.jpeg","width":668,"height":890,"alt":"","aspect_ratio":0.750561797752809},"wholesale_price":[{"price":25.97,"min_quantity":1}],"weight":"0.3","compare_at_price":"35","price":"25.97","retail_price":"35","available":true,"url":"\/products\/womens-casual-pants-elastic-pants?variant=d157e00b-deeb-4561-9b7f-dd4ae285a573","available_quantity":999999999,"options":[{"name":"color","value":"dark red"},{"name":"size","value":"S"}],"off_ratio":26,"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":"d157e00b-deeb-4561-9b7f-dd4ae285a573","product_id":"3e418a50-0ebf-4256-8cc4-601116612b6b","title":"dark red-S","weight_unit":"kg","inventory_quantity":0,"sku":"66302164372-dark red-S","barcode":"","position":17,"option1":"dark red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a7ddb944fe8b8dd367f45eb59ebdb77.jpeg","path":"0a7ddb944fe8b8dd367f45eb59ebdb77.jpeg","width":668,"height":890,"alt":"","aspect_ratio":0.750561797752809},"wholesale_price":[{"price":25.97,"min_quantity":1}],"weight":"0.3","compare_at_price":"35","price":"25.97","retail_price":"35","available":true,"url":"\/products\/womens-casual-pants-elastic-pants?variant=d157e00b-deeb-4561-9b7f-dd4ae285a573","available_quantity":999999999,"options":[{"name":"color","value":"dark red"},{"name":"size","value":"S"}],"off_ratio":26,"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 `
`;
}()}