Pegasus City Commuter Electric Scooter
${function() {
const variantData = data.variant || {"id":"e31326fa-46d6-42f2-bc6a-5f1bb1e41807","product_id":"966ce3d2-50ac-403d-ab94-8c98fbb43d8b","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"199.9","price":"19.99","retail_price":"199.9","available":true,"url":"\/products\/pegasus-city-commuter-electric-scooter-669a161992861?variant=e31326fa-46d6-42f2-bc6a-5f1bb1e41807","available_quantity":999999999,"options":[],"off_ratio":90,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"e31326fa-46d6-42f2-bc6a-5f1bb1e41807","product_id":"966ce3d2-50ac-403d-ab94-8c98fbb43d8b","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"199.9","price":"19.99","retail_price":"199.9","available":true,"url":"\/products\/pegasus-city-commuter-electric-scooter-669a161992861?variant=e31326fa-46d6-42f2-bc6a-5f1bb1e41807","available_quantity":999999999,"options":[],"off_ratio":90,"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 `
`;
}()}