Home Forums Basel support forum Badge caching

Badge caching

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35956

    sgtc
    Participant

    Hello –

    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.

    Thanks!

    #35968

    Artem Temos
    Keymaster

    Hello,

    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.

    Kind Regards
    Xtemos

    #35976

    sgtc
    Participant

    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!

    Patrick

    #35977

    Artem Temos
    Keymaster

    Yes, it may be caching for some particular role and then shows the same content for all users.

Viewing 4 posts - 1 through 4 (of 4 total)