st* Classic women's small scarf A6233200
${function() {
const variantData = data.variant || {"id":"90bc2b92-7739-445a-8d98-e7b9adad74e1","product_id":"5257d182-0583-41ab-9ca6-5c7e1e8b4ad8","title":"","weight_unit":"kg","inventory_quantity":27,"sku":"A623320050","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18","retail_price":"0","available":true,"url":"\/products\/st-classic-womens-small-scarf-a6233200?variant=90bc2b92-7739-445a-8d98-e7b9adad74e1","available_quantity":27,"options":[],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"90bc2b92-7739-445a-8d98-e7b9adad74e1","product_id":"5257d182-0583-41ab-9ca6-5c7e1e8b4ad8","title":"","weight_unit":"kg","inventory_quantity":27,"sku":"A623320050","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18","retail_price":"0","available":true,"url":"\/products\/st-classic-womens-small-scarf-a6233200?variant=90bc2b92-7739-445a-8d98-e7b9adad74e1","available_quantity":27,"options":[],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
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 `
`;
}()}