Full Length Pleated Wide Leg Dress Pants
${function() {
const variantData = data.variant || {"id":"616dcda6-b812-4fdb-a23b-b40a63b25728","product_id":"96dbded5-faaa-4e51-b2b9-7dad99dddd67","title":"White-XS","weight_unit":"kg","inventory_quantity":0,"sku":"BL23110111-White-XS","barcode":"","position":1,"option1":"White","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e168370634952e9105268dfea388e721.jpeg","path":"e168370634952e9105268dfea388e721.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0","compare_at_price":"58.24","price":"39","retail_price":"58.24","available":true,"url":"\/products\/full-length-pleated-wide-leg-dress-pants?variant=616dcda6-b812-4fdb-a23b-b40a63b25728","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XS"}],"off_ratio":33,"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":"616dcda6-b812-4fdb-a23b-b40a63b25728","product_id":"96dbded5-faaa-4e51-b2b9-7dad99dddd67","title":"White-XS","weight_unit":"kg","inventory_quantity":0,"sku":"BL23110111-White-XS","barcode":"","position":1,"option1":"White","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e168370634952e9105268dfea388e721.jpeg","path":"e168370634952e9105268dfea388e721.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0","compare_at_price":"58.24","price":"39","retail_price":"58.24","available":true,"url":"\/products\/full-length-pleated-wide-leg-dress-pants?variant=616dcda6-b812-4fdb-a23b-b40a63b25728","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XS"}],"off_ratio":33,"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 `
`;
}()}