Western Classic Autumn And Winter Velvet Warm Plush Retro Long Sleeve Temperament Dress
${function() {
const variantData = data.variant || {"id":"e9f6826d-35cc-4089-bcb8-7da5c689bff9","product_id":"b1b2eacc-79cb-455e-b238-28b2fc3d5281","title":"Photo Color-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"1848650853201104898","barcode":"","position":1,"option1":"Photo Color","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96d48401d7af65a6b91d36fc68da9c3c.jpeg","path":"96d48401d7af65a6b91d36fc68da9c3c.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0","compare_at_price":"86.98","price":"4.99","retail_price":"86.98","available":true,"url":"\/products\/western-classic-autumn-and-winter-velvet-warm-plush-retro-long-sleeve-temperament-dress-gnld?variant=e9f6826d-35cc-4089-bcb8-7da5c689bff9","available_quantity":999999999,"options":[{"name":"Color","value":"Photo Color"},{"name":"Size","value":"XS"}],"off_ratio":94,"flashsale_info":[],"sales":48};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
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 `
`;
}()}
${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":"e9f6826d-35cc-4089-bcb8-7da5c689bff9","product_id":"b1b2eacc-79cb-455e-b238-28b2fc3d5281","title":"Photo Color-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"1848650853201104898","barcode":"","position":1,"option1":"Photo Color","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96d48401d7af65a6b91d36fc68da9c3c.jpeg","path":"96d48401d7af65a6b91d36fc68da9c3c.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0","compare_at_price":"86.98","price":"4.99","retail_price":"86.98","available":true,"url":"\/products\/western-classic-autumn-and-winter-velvet-warm-plush-retro-long-sleeve-temperament-dress-gnld?variant=e9f6826d-35cc-4089-bcb8-7da5c689bff9","available_quantity":999999999,"options":[{"name":"Color","value":"Photo Color"},{"name":"Size","value":"XS"}],"off_ratio":94,"flashsale_info":[],"sales":48};
return `
`
}()}