Golf Sport Vpro Golf Cap Hat for Men Adjustable
${function() {
const variantData = data.variant || {"id":"20196c0f-d8d7-42e9-9ae0-e6616c6e8239","product_id":"a717a4ad-2697-4103-b578-5d7c08883788","title":"\u767d\u8272","weight_unit":"kg","inventory_quantity":96,"sku":"\u767d\u8272","barcode":"","position":1,"option1":"\u767d\u8272","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7e8954a814bf7c37fcac0e7de1fd8d8c.jpg","path":"7e8954a814bf7c37fcac0e7de1fd8d8c.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.5","retail_price":"0","available":true,"url":"\/products\/golf-sport-vpro-golf-cap-hat-for-men-adjustable-1ueg?variant=20196c0f-d8d7-42e9-9ae0-e6616c6e8239","available_quantity":96,"options":[{"name":"\u989c\u8272","value":"\u767d\u8272"}],"off_ratio":0,"flashsale_info":[],"sales":7};
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":"20196c0f-d8d7-42e9-9ae0-e6616c6e8239","product_id":"a717a4ad-2697-4103-b578-5d7c08883788","title":"\u767d\u8272","weight_unit":"kg","inventory_quantity":96,"sku":"\u767d\u8272","barcode":"","position":1,"option1":"\u767d\u8272","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7e8954a814bf7c37fcac0e7de1fd8d8c.jpg","path":"7e8954a814bf7c37fcac0e7de1fd8d8c.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.5","retail_price":"0","available":true,"url":"\/products\/golf-sport-vpro-golf-cap-hat-for-men-adjustable-1ueg?variant=20196c0f-d8d7-42e9-9ae0-e6616c6e8239","available_quantity":96,"options":[{"name":"\u989c\u8272","value":"\u767d\u8272"}],"off_ratio":0,"flashsale_info":[],"sales":7};
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 `
`;
}()}