Augusta Georgia Blade White Golf Putter Cover
white
${function() {
const variantData = data.variant || {"id":"a443a6b2-d86a-4da5-b09f-67c4c5bfbb97","product_id":"2bb8c042-39c4-4817-8b88-2f4c6375fbca","title":"","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0.1","compare_at_price":"24","price":"24","retail_price":"24","available":true,"url":"\/products\/augusta-georgia-blade-white-golf-putter-cover?variant=a443a6b2-d86a-4da5-b09f-67c4c5bfbb97","available_quantity":100,"options":[],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"a443a6b2-d86a-4da5-b09f-67c4c5bfbb97","product_id":"2bb8c042-39c4-4817-8b88-2f4c6375fbca","title":"","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0.1","compare_at_price":"24","price":"24","retail_price":"24","available":true,"url":"\/products\/augusta-georgia-blade-white-golf-putter-cover?variant=a443a6b2-d86a-4da5-b09f-67c4c5bfbb97","available_quantity":100,"options":[],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
`
}()}
${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 `
`;
}()}
${function() {
const postageFreeAmount = 30;
const custom_text = "Buy {amount} more to enjoy FREE Standard Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}