MLB Houston Astros Championship Ring Set of 6
${function() {
const variantData = data.variant || {"id":"0f17e1cb-b324-4de6-9903-ff8b0e3be920","product_id":"fae50234-f32f-40ab-bba5-7d7491affe74","title":"11-Set of 6","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"11","option2":"Set of 6","option3":"","note":"","image":null,"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0.75","compare_at_price":"0","price":"59.99","retail_price":"0","available":true,"url":"\/products\/mlb-houston-astros-championship-ring-set-of-6?variant=0f17e1cb-b324-4de6-9903-ff8b0e3be920","available_quantity":999999999,"options":[{"name":"Size","value":"11"},{"name":"Style","value":"Set of 6"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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 tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.