Boston bag, golf clothing bag, outdoor sports luggage bag
${function() {
const variantData = data.variant || {"id":"2aeac8e7-890c-43f5-baee-6731d06e9640","product_id":"fe227bb6-e498-4292-89f1-8016cad71ac3","title":"white","weight_unit":"kg","inventory_quantity":29,"sku":"\u5927\u65ed-145-white-A0014972","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/686f66f157ab3d2d33c5b129564bc3bd.jpg","path":"686f66f157ab3d2d33c5b129564bc3bd.jpg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48,"min_quantity":1}],"weight":"1.5","compare_at_price":"0","price":"48","retail_price":"0","available":true,"url":"\/products\/boston-bag-golf-clothing-bag-outdoor-sports-luggage-bag?variant=2aeac8e7-890c-43f5-baee-6731d06e9640","available_quantity":29,"options":[{"name":"colour","value":"white"}],"off_ratio":0,"flashsale_info":[],"sales":22};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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":"2aeac8e7-890c-43f5-baee-6731d06e9640","product_id":"fe227bb6-e498-4292-89f1-8016cad71ac3","title":"white","weight_unit":"kg","inventory_quantity":29,"sku":"\u5927\u65ed-145-white-A0014972","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/686f66f157ab3d2d33c5b129564bc3bd.jpg","path":"686f66f157ab3d2d33c5b129564bc3bd.jpg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48,"min_quantity":1}],"weight":"1.5","compare_at_price":"0","price":"48","retail_price":"0","available":true,"url":"\/products\/boston-bag-golf-clothing-bag-outdoor-sports-luggage-bag?variant=2aeac8e7-890c-43f5-baee-6731d06e9640","available_quantity":29,"options":[{"name":"colour","value":"white"}],"off_ratio":0,"flashsale_info":[],"sales":22};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${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 `
`;
}()}