High elastic plain washed denim Leggings
${function() {
const variantData = data.variant || {"id":"c5d99305-46fc-4e95-8962-87378e50d117","product_id":"667c307a-fb61-4c05-981b-5d0c95fccbd8","title":"S(6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838232775","barcode":"","position":1,"option1":"S(6-8)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36248a5905ff9d3db0ffdaa0c5b40c4b.jpeg","path":"36248a5905ff9d3db0ffdaa0c5b40c4b.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":9.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.95","retail_price":"0","available":true,"url":"\/products\/women-plain-simple-autumn-high-elasticity-daily-regular-fit-mid-waist-cotton-blend-h-line-jeans-14118177-2?variant=c5d99305-46fc-4e95-8962-87378e50d117","available_quantity":1000,"options":[{"name":"Color","value":"S(6-8)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
${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":"c5d99305-46fc-4e95-8962-87378e50d117","product_id":"667c307a-fb61-4c05-981b-5d0c95fccbd8","title":"S(6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2118838232775","barcode":"","position":1,"option1":"S(6-8)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/36248a5905ff9d3db0ffdaa0c5b40c4b.jpeg","path":"36248a5905ff9d3db0ffdaa0c5b40c4b.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":9.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.95","retail_price":"0","available":true,"url":"\/products\/women-plain-simple-autumn-high-elasticity-daily-regular-fit-mid-waist-cotton-blend-h-line-jeans-14118177-2?variant=c5d99305-46fc-4e95-8962-87378e50d117","available_quantity":1000,"options":[{"name":"Color","value":"S(6-8)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}