Eagerlys Reflection of Many People Giving Middle Fingers T-shirt
${function() {
const variantData = data.variant || {"id":"292ee36b-bc15-478d-b202-3c7cbdb173a4","product_id":"d6989e92-f78c-4b7e-90e9-8816dfcb30e4","title":"S","weight_unit":"kg","inventory_quantity":1000,"sku":"shopify-TX0041-S","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"19.99","retail_price":"29.99","available":true,"url":"\/products\/eagerlys-reflection-of-many-people-giving-middle-fingers-t-shirt?variant=292ee36b-bc15-478d-b202-3c7cbdb173a4","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":4};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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 `
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.