Men's Retro Knitted Jacket
${function() {
const variantData = data.variant || {"id":"786f64c5-8c30-4c0b-926f-e3eedd0bd320","product_id":"a53ea5ed-efce-4449-bd03-bf7882114821","title":"Deep Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LF22250493ZQSS","barcode":"","position":1,"option1":"Deep Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1ee541f0fb78009662613ac40f4c296.png","path":"a1ee541f0fb78009662613ac40f4c296.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.98,"min_quantity":1}],"weight":"0","compare_at_price":"69.95","price":"48.98","retail_price":"69.95","available":true,"url":"\/products\/mens-retro-knitted-jacketd850c825-0d40-4b11-8b0b-b5869e37f04a?variant=786f64c5-8c30-4c0b-926f-e3eedd0bd320","available_quantity":999999999,"options":[{"name":"Color","value":"Deep Blue"},{"name":"Size","value":"S"}],"off_ratio":30,"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":"786f64c5-8c30-4c0b-926f-e3eedd0bd320","product_id":"a53ea5ed-efce-4449-bd03-bf7882114821","title":"Deep Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LF22250493ZQSS","barcode":"","position":1,"option1":"Deep Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1ee541f0fb78009662613ac40f4c296.png","path":"a1ee541f0fb78009662613ac40f4c296.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.98,"min_quantity":1}],"weight":"0","compare_at_price":"69.95","price":"48.98","retail_price":"69.95","available":true,"url":"\/products\/mens-retro-knitted-jacketd850c825-0d40-4b11-8b0b-b5869e37f04a?variant=786f64c5-8c30-4c0b-926f-e3eedd0bd320","available_quantity":999999999,"options":[{"name":"Color","value":"Deep Blue"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}