Can you tell me how the badges are called in functions / where? (save me some time. example – New!)
I am asking because, we are using LiteSpeed caching and seeing that even though we enable badges – they don’t show. I suspect this is a two pronged issue : caching, and where in the order the theme is creating the badges / hooking.
We are glad to know that you considered using Basel for your web-site. I hope you will be happy with it.
Labels code is located in the file inc / woocommerce.php function name – basel_product_label. But it should work correctly with cache since it should cache the full page and not separate parts only.
Yes, it should. But it may be another plugin hijacking the function somewhere ( ex. pricing in woocommerce / other labels priority ) – because it’s not working / intermittent with certain roles. So I probably answered my own question here – it’s likely role based someone in the caching coupled with this. But thanks for pointing me in the right direction!