Okay
  Public Ticket #4557514
There's a bug in the feature to hide prices from members.
Closed

Comments

  • tekler started the conversation

    With B2B King, we've hidden prices for visitors.

    I want to share a few bugs I noticed:
    1. If the site has Ajax search, prices still appear in the search results. (I hid this by adding CSS, but it's a temporary solution; it needs to be fixed permanently.)
    2. If you add products to the Linked Products > Compare section while filling in product inventory information, it make the prices visible on the compare table in the product page.
    3. When adding products to the compare list feature on the site, product prices still appear.

    Sorry for my English. Please check the screenshots, you will understand what I mean.

    Attached files:  Image_2026-04-10_153834_370.png
      Image_2026-04-10_153739_313.png
      5cc510d3-ca2f-4234-acac-4fdd233d2229.png

  •  2,724
    WebWizards replied

    Hi there,

    Thank you for purchasing our plugin and reaching out to us!

    B2BKing does have built-in functions to hide prices in AJAX requests. You can see a quick example of how it normally works here: https://www.loom.com/share/8521388e8dec48dbb58df4c273d1f10e.

     

    Since the prices are still appearing in your search results and compare features, I think this is likely related to how your specific theme or search plugin is built. Sometimes they use non-standard mechanisms or custom templates that bypass the default WooCommerce price hooks.

    If you'd like, we can troubleshoot this directly on the site to see how we can hide them permanently for you. For that, we would need a backend login to the site or a staging clone site.

     

    Kind regards,
    Stefan