Black Labrador Retriever Crack Car Sticker, Toilet Sticker, Fridge Sticker 3
${function() {
const variantData = data.variant || {"id":"347dc5f3-8de2-49a7-a937-2c46211e2e53","product_id":"bc60dce2-f0ee-45dd-a73a-c3955dba9ec8","title":"S","weight_unit":"kg","inventory_quantity":1000,"sku":"shopify-GGTZ10-S","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":22.95,"min_quantity":1}],"weight":"0.05","compare_at_price":"23.99","price":"22.95","retail_price":"23.99","available":true,"url":"\/products\/black-labrador-retriever-crack-car-sticker-toilet-sticker-fridge-sticker-3?variant=347dc5f3-8de2-49a7-a937-2c46211e2e53","available_quantity":1000,"options":[{"name":"Size","value":"S"}],"off_ratio":4,"flashsale_info":[],"sales":0};
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.