Halloween Bat Wing Gothic Sunglasses
${function() {
const variantData = data.variant || {"id":"3d48032f-be79-4003-962b-bc5e13a7d914","product_id":"b22412fe-0772-44a7-94f5-6f15079ca3ae","title":"Black","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129931866861","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/581f48c6e04bbefb361bcf427098329e.jpeg","path":"581f48c6e04bbefb361bcf427098329e.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":0.99,"min_quantity":1}],"weight":"0","compare_at_price":"12.99","price":"0.99","retail_price":"12.99","available":true,"url":"\/products\/halloween-bat-wing-gothic-sunglasses?variant=3d48032f-be79-4003-962b-bc5e13a7d914","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":92,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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":"3d48032f-be79-4003-962b-bc5e13a7d914","product_id":"b22412fe-0772-44a7-94f5-6f15079ca3ae","title":"Black","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2129931866861","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/581f48c6e04bbefb361bcf427098329e.jpeg","path":"581f48c6e04bbefb361bcf427098329e.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":0.99,"min_quantity":1}],"weight":"0","compare_at_price":"12.99","price":"0.99","retail_price":"12.99","available":true,"url":"\/products\/halloween-bat-wing-gothic-sunglasses?variant=3d48032f-be79-4003-962b-bc5e13a7d914","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":92,"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 `
`;
}()}