Women's Retro Botanical Floral Design Printed Casual Loose Dress
${function() {
const variantData = data.variant || {"id":"016d8905-76a4-4009-b14f-64c6c74e4772","product_id":"034993d3-8337-48a4-9781-16c8273a9565","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129725990003","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aba41b5ce486990690ed135710c4194f.jpeg","path":"aba41b5ce486990690ed135710c4194f.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0","compare_at_price":"52","price":"1.99","retail_price":"52","available":true,"url":"\/products\/womens-retro-botanical-floral-design-printed-casual-loose-dress-17?variant=016d8905-76a4-4009-b14f-64c6c74e4772","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":96,"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":"016d8905-76a4-4009-b14f-64c6c74e4772","product_id":"034993d3-8337-48a4-9781-16c8273a9565","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129725990003","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aba41b5ce486990690ed135710c4194f.jpeg","path":"aba41b5ce486990690ed135710c4194f.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0","compare_at_price":"52","price":"1.99","retail_price":"52","available":true,"url":"\/products\/womens-retro-botanical-floral-design-printed-casual-loose-dress-17?variant=016d8905-76a4-4009-b14f-64c6c74e4772","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":96,"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 `
`;
}()}