Women's Grizzly Bear 399 Printed Sweatshirt
${function() {
const variantData = data.variant || {"id":"b2fcc667-2f0c-40e3-8837-fea245c83c7f","product_id":"e4ef503d-b058-4717-97b2-614a4486df7e","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH459091-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/810d7897d90783d87a0a277476a297b4.jpeg","path":"810d7897d90783d87a0a277476a297b4.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.23","price":"4.99","retail_price":"45.23","available":true,"url":"\/products\/womens-grizzly-bear-399-printed-sweatshirt?variant=b2fcc667-2f0c-40e3-8837-fea245c83c7f","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":89,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
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}
`
}()}
${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":"b2fcc667-2f0c-40e3-8837-fea245c83c7f","product_id":"e4ef503d-b058-4717-97b2-614a4486df7e","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH459091-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/810d7897d90783d87a0a277476a297b4.jpeg","path":"810d7897d90783d87a0a277476a297b4.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.23","price":"4.99","retail_price":"45.23","available":true,"url":"\/products\/womens-grizzly-bear-399-printed-sweatshirt?variant=b2fcc667-2f0c-40e3-8837-fea245c83c7f","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":89,"flashsale_info":[],"sales":0};
return `
`
}()}