VENTY ORIGINAL
${function() {
const variantData = data.variant || {"id":"78c1a3a8-f086-462d-be48-3b108ad23831","product_id":"20c1c78f-be54-4075-95fb-1b4fae302dac","title":"Black","weight_unit":"kg","inventory_quantity":1000,"sku":"42782748836089","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5cd4e7be4c81b64843adb958fed376ab.jpeg","path":"5cd4e7be4c81b64843adb958fed376ab.jpeg","width":2048,"height":2048,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"79.99","retail_price":"79.99","available":true,"url":"\/products\/foldable-fan?variant=78c1a3a8-f086-462d-be48-3b108ad23831","available_quantity":999999999,"options":[{"name":"Choose Your Color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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 minInventory = parseInt('10');
const maxInventory = parseInt('100');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "\ud83d\udca5Hurry\uff01Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
visitors currently looking at this product!❤
Product was out of stock.
Product is unavailable.