Women Cotton Pants Spring Summer Casual Pants
${function() {
const variantData = data.variant || {"id":"a4e7e672-d9b9-409b-b8fc-ab0cf883a51e","product_id":"fd423684-f9f3-4784-8175-6619b6383d21","title":"Navy Blue-S","weight_unit":"g","inventory_quantity":0,"sku":"Lin4301588227635-NavyBlue-S","barcode":"","position":1,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e285c84d0f96702a9d76c5ce92cf3c07.jpeg","path":"e285c84d0f96702a9d76c5ce92cf3c07.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.54,"min_quantity":1}],"weight":"200","compare_at_price":"35.77","price":"27.54","retail_price":"35.77","available":true,"url":"\/products\/women-cotton-pants-spring-summer-casual-pants?variant=a4e7e672-d9b9-409b-b8fc-ab0cf883a51e","available_quantity":999999999,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":1};
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":"a4e7e672-d9b9-409b-b8fc-ab0cf883a51e","product_id":"fd423684-f9f3-4784-8175-6619b6383d21","title":"Navy Blue-S","weight_unit":"g","inventory_quantity":0,"sku":"Lin4301588227635-NavyBlue-S","barcode":"","position":1,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e285c84d0f96702a9d76c5ce92cf3c07.jpeg","path":"e285c84d0f96702a9d76c5ce92cf3c07.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.54,"min_quantity":1}],"weight":"200","compare_at_price":"35.77","price":"27.54","retail_price":"35.77","available":true,"url":"\/products\/women-cotton-pants-spring-summer-casual-pants?variant=a4e7e672-d9b9-409b-b8fc-ab0cf883a51e","available_quantity":999999999,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":1};
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 `
`;
}()}