Women's Purple Floral Print Casual Dress
${function() {
const variantData = data.variant || {"id":"dc6458d3-a054-490c-8f24-62342ab24b24","product_id":"c352ae04-251e-436d-8e6f-844fab3fcd83","title":"Purple-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129725992471","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5311fd357cfc3100be6e14dda4c4bea6.jpeg","path":"5311fd357cfc3100be6e14dda4c4bea6.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0","compare_at_price":"61.21","price":"1.99","retail_price":"61.21","available":true,"url":"\/products\/womens-purple-floral-print-casual-dress-3?variant=dc6458d3-a054-490c-8f24-62342ab24b24","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"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":"dc6458d3-a054-490c-8f24-62342ab24b24","product_id":"c352ae04-251e-436d-8e6f-844fab3fcd83","title":"Purple-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129725992471","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5311fd357cfc3100be6e14dda4c4bea6.jpeg","path":"5311fd357cfc3100be6e14dda4c4bea6.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0","compare_at_price":"61.21","price":"1.99","retail_price":"61.21","available":true,"url":"\/products\/womens-purple-floral-print-casual-dress-3?variant=dc6458d3-a054-490c-8f24-62342ab24b24","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"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 `
`;
}()}