Ladies Botanical Floral Design Casual Loose Dress
${function() {
const variantData = data.variant || {"id":"b2c7e15c-199f-4451-a1e8-5d72513b1d07","product_id":"9be1f1b7-a7ef-466c-90ec-de58c489cbdd","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129725925835","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/84a25079cbf996ba78609658175caee6.jpeg","path":"84a25079cbf996ba78609658175caee6.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0","compare_at_price":"60.82","price":"1.99","retail_price":"60.82","available":true,"url":"\/products\/ladies-botanical-floral-design-casual-loose-dress-7?variant=b2c7e15c-199f-4451-a1e8-5d72513b1d07","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":97,"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":"b2c7e15c-199f-4451-a1e8-5d72513b1d07","product_id":"9be1f1b7-a7ef-466c-90ec-de58c489cbdd","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129725925835","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/84a25079cbf996ba78609658175caee6.jpeg","path":"84a25079cbf996ba78609658175caee6.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0","compare_at_price":"60.82","price":"1.99","retail_price":"60.82","available":true,"url":"\/products\/ladies-botanical-floral-design-casual-loose-dress-7?variant=b2c7e15c-199f-4451-a1e8-5d72513b1d07","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":97,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('52');
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 `
`;
}()}