Women's Christmas Cardinal&Bear NC Printed Sweatshirt
${function() {
const variantData = data.variant || {"id":"a7e1b557-2342-450e-831c-5f9dd814175c","product_id":"fe680f40-4e06-4b6d-a7a4-bfa4c182c4cc","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2136141905225","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd243bc54ea7e66d781298819c54c26a.jpeg","path":"dd243bc54ea7e66d781298819c54c26a.jpeg","width":1024,"height":1365,"alt":"","aspect_ratio":0.7501831501831502},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"1.99","retail_price":"39.99","available":true,"url":"\/products\/womens-christmas-cardinalbear-nc-printed-sweatshirt8c008e56-4519-4006-a538-7ad07839e76c?variant=a7e1b557-2342-450e-831c-5f9dd814175c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":95,"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":"a7e1b557-2342-450e-831c-5f9dd814175c","product_id":"fe680f40-4e06-4b6d-a7a4-bfa4c182c4cc","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2136141905225","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd243bc54ea7e66d781298819c54c26a.jpeg","path":"dd243bc54ea7e66d781298819c54c26a.jpeg","width":1024,"height":1365,"alt":"","aspect_ratio":0.7501831501831502},"wholesale_price":[{"price":1.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"1.99","retail_price":"39.99","available":true,"url":"\/products\/womens-christmas-cardinalbear-nc-printed-sweatshirt8c008e56-4519-4006-a538-7ad07839e76c?variant=a7e1b557-2342-450e-831c-5f9dd814175c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":95,"flashsale_info":[],"sales":0};
return `
`
}()}