Hello,
I'm having the same issue.
I've tried everything and still the function doesn't appear on the homepage, it works only for the item page.
My loop-single.php code is:
<?php if (osc_price_enabled_at_items() && osc_item_price() != "") : ?>
<div class="overlay overlay-top overlay-left-0 overlay-price">
<span class="bg-dark text-inverse p-sm d-b font-secondary loop-item-price">
<?php echo osc_format_price(osc_item_price()); ?>
</span>
<?php if(function_exists('osc_mrp_number')) { osc_mrp_number(); } ?>
</div>
<?php endif; ?>
I guess the issue is that the function doesn't fetch the item id on the homepage, that's why it probably returns empty.
Can you please guide me on how to fix it (testing on localhost)?
Thanks!