Made To Play Matador Midsize Blue Putter Grip
blue
${function() {
const variantData = data.variant || {"id":"91c5c330-80c1-4931-918c-e8cdfa23bcbc","product_id":"84a22949-f5a1-4866-87f7-0f30137ba2e1","title":"","weight_unit":"g","inventory_quantity":100,"sku":"","barcode":"NAPZC00000150","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"88","compare_at_price":"28","price":"28","retail_price":"28","available":true,"url":"\/products\/made-to-play-matador-midsize-blue-putter-grip?variant=91c5c330-80c1-4931-918c-e8cdfa23bcbc","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":"91c5c330-80c1-4931-918c-e8cdfa23bcbc","product_id":"84a22949-f5a1-4866-87f7-0f30137ba2e1","title":"","weight_unit":"g","inventory_quantity":100,"sku":"","barcode":"NAPZC00000150","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"88","compare_at_price":"28","price":"28","retail_price":"28","available":true,"url":"\/products\/made-to-play-matador-midsize-blue-putter-grip?variant=91c5c330-80c1-4931-918c-e8cdfa23bcbc","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 `
`;
}()}