All-Season Stretch Skinny Jeans with Zipper Hem & Multi-Pockets | Casual Machine-Washable Cotton Blend Denim
${function() {
const variantData = data.variant || {"id":"3aa48b76-ed9b-4e62-8489-de8dcb453ac6","product_id":"4087c26f-9bc1-411c-a0bc-3449eb7aba64","title":"Dark Gray-XS","weight_unit":"g","inventory_quantity":8899,"sku":"601099530812158-Dark Gray-XS","barcode":"","position":3,"option1":"Dark Gray","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50cc76edb7e964e54ae2774966f7576e.jpeg","path":"50cc76edb7e964e54ae2774966f7576e.jpeg","width":1350,"height":1350,"alt":"42870693822670|42870693920974|42870694019278|42870694117582|42870694215886|42870694314190","aspect_ratio":1},"wholesale_price":[{"price":31.65,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.65","retail_price":"0","available":true,"url":"\/products\/all-season-stretch-skinny-jeans-with-zipper-hem-multi-pockets-casual-machine-washable-cotton-blend-denim?variant=3aa48b76-ed9b-4e62-8489-de8dcb453ac6","available_quantity":8899,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 10;
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 `
`;
}()}
${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.
Sku : 601099530812158-Dark Gray-XS
${function(){
const variantData = data.variant || {"id":"3aa48b76-ed9b-4e62-8489-de8dcb453ac6","product_id":"4087c26f-9bc1-411c-a0bc-3449eb7aba64","title":"Dark Gray-XS","weight_unit":"g","inventory_quantity":8899,"sku":"601099530812158-Dark Gray-XS","barcode":"","position":3,"option1":"Dark Gray","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50cc76edb7e964e54ae2774966f7576e.jpeg","path":"50cc76edb7e964e54ae2774966f7576e.jpeg","width":1350,"height":1350,"alt":"42870693822670|42870693920974|42870694019278|42870694117582|42870694215886|42870694314190","aspect_ratio":1},"wholesale_price":[{"price":31.65,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.65","retail_price":"0","available":true,"url":"\/products\/all-season-stretch-skinny-jeans-with-zipper-hem-multi-pockets-casual-machine-washable-cotton-blend-denim?variant=3aa48b76-ed9b-4e62-8489-de8dcb453ac6","available_quantity":8899,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}