Western Classic Autumn And Winter Velvet Warm Retro Floral Stitching Long Sleeve Temperament Dress4
${function() {
const variantData = data.variant || {"id":"a36d0ff9-e2b8-4248-8812-e70a4e9e3b11","product_id":"2f63a00e-465f-4432-b33f-4eecf7e505d7","title":"Photo Color-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"1848633120354881537","barcode":"","position":1,"option1":"Photo Color","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fa76ac049d1d3ebe14fbf8aebbcc7466.jpeg","path":"fa76ac049d1d3ebe14fbf8aebbcc7466.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0","compare_at_price":"56.98","price":"1.99","retail_price":"56.98","available":true,"url":"\/products\/western-classic-autumn-and-winter-velvet-warm-retro-floral-stitching-long-sleeve-temperament-dress?variant=a36d0ff9-e2b8-4248-8812-e70a4e9e3b11","available_quantity":999999999,"options":[{"name":"Color","value":"Photo Color"},{"name":"Size","value":"XS"}],"off_ratio":97,"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":"a36d0ff9-e2b8-4248-8812-e70a4e9e3b11","product_id":"2f63a00e-465f-4432-b33f-4eecf7e505d7","title":"Photo Color-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"1848633120354881537","barcode":"","position":1,"option1":"Photo Color","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fa76ac049d1d3ebe14fbf8aebbcc7466.jpeg","path":"fa76ac049d1d3ebe14fbf8aebbcc7466.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0","compare_at_price":"56.98","price":"1.99","retail_price":"56.98","available":true,"url":"\/products\/western-classic-autumn-and-winter-velvet-warm-retro-floral-stitching-long-sleeve-temperament-dress?variant=a36d0ff9-e2b8-4248-8812-e70a4e9e3b11","available_quantity":999999999,"options":[{"name":"Color","value":"Photo Color"},{"name":"Size","value":"XS"}],"off_ratio":97,"flashsale_info":[],"sales":48};
return `
`
}()}