Women's Elegant V-Neck Printed Pocket Dress
${function() {
const variantData = data.variant || {"id":"ac8b72ce-6182-469c-b577-4bd07fbc0591","product_id":"7a90aaed-ae98-4b0f-8b53-dfcd308f5438","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129725771585","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6913aaf223c73b28978a8e13ec434001.jpeg","path":"6913aaf223c73b28978a8e13ec434001.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":3.98,"min_quantity":1}],"weight":"0","compare_at_price":"52.45","price":"3.98","retail_price":"52.45","available":true,"url":"\/products\/womens-elegant-v-neck-printed-pocket-dress?variant=ac8b72ce-6182-469c-b577-4bd07fbc0591","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":92,"flashsale_info":[],"sales":1};
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":"ac8b72ce-6182-469c-b577-4bd07fbc0591","product_id":"7a90aaed-ae98-4b0f-8b53-dfcd308f5438","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129725771585","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6913aaf223c73b28978a8e13ec434001.jpeg","path":"6913aaf223c73b28978a8e13ec434001.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":3.98,"min_quantity":1}],"weight":"0","compare_at_price":"52.45","price":"3.98","retail_price":"52.45","available":true,"url":"\/products\/womens-elegant-v-neck-printed-pocket-dress?variant=ac8b72ce-6182-469c-b577-4bd07fbc0591","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":92,"flashsale_info":[],"sales":1};
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 `
`;
}()}