Elegant Casual Double Layer Print Contrast Color Dress
${function() {
const variantData = data.variant || {"id":"e8527cf5-b16f-4970-8640-538096b6bd01","product_id":"55d4c218-2f8b-4cf6-9a32-b8b7decee31c","title":"Brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129725866603","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3c86ebd8e3e42eb21f2cbada303ec9a1.jpeg","path":"3c86ebd8e3e42eb21f2cbada303ec9a1.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":3.98,"min_quantity":1}],"weight":"0","compare_at_price":"62.38","price":"3.98","retail_price":"62.38","available":true,"url":"\/products\/elegant-casual-double-layer-print-contrast-color-dress?variant=e8527cf5-b16f-4970-8640-538096b6bd01","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":94,"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":"e8527cf5-b16f-4970-8640-538096b6bd01","product_id":"55d4c218-2f8b-4cf6-9a32-b8b7decee31c","title":"Brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129725866603","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3c86ebd8e3e42eb21f2cbada303ec9a1.jpeg","path":"3c86ebd8e3e42eb21f2cbada303ec9a1.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":3.98,"min_quantity":1}],"weight":"0","compare_at_price":"62.38","price":"3.98","retail_price":"62.38","available":true,"url":"\/products\/elegant-casual-double-layer-print-contrast-color-dress?variant=e8527cf5-b16f-4970-8640-538096b6bd01","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":94,"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 `
`;
}()}