0 Putts Given Black Fairway Wood Cover
${function() {
const variantData = data.variant || {"id":"1c3897db-367d-47a2-a173-1e05ca30f362","product_id":"15f78c80-09e1-4c56-b4d7-98dd852ce57f","title":"","weight_unit":"kg","inventory_quantity":46,"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\/0-putts-given-black-fairway-wood-cover?variant=1c3897db-367d-47a2-a173-1e05ca30f362","available_quantity":46,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"1c3897db-367d-47a2-a173-1e05ca30f362","product_id":"15f78c80-09e1-4c56-b4d7-98dd852ce57f","title":"","weight_unit":"kg","inventory_quantity":46,"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\/0-putts-given-black-fairway-wood-cover?variant=1c3897db-367d-47a2-a173-1e05ca30f362","available_quantity":46,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0};
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 `
`;
}()}