Onesies
250 products
${function() {
const product_total = data.total;
const renderText = `{count} products`;
if (product_total == 0) {
return `0 product`
} else if (product_total == 1) {
return `1 product`
} else {
return renderText.replace('{count}', product_total)
}
}()}