• Resolved Dion

    (@dvalilis)


    Hello. I am facing a critical issue with my company website. We are wholesalers and we are trying to create a website which will be completely for B2B. To be more specific, users can only register as Wholesale Customers, only if we approve their registration request.
    The problem is that when somebody accesses the webite, he can normally use it, he just wont have access to the product prices. The critical issue is with the search bar. If the user is connected as an admin or a wholesale user, it works properly with no problem.
    But, if somebody NOT connected to an account tries to search something, the page that comes out is not the one it should be (shop page with the searched term). I have tried many possible solutions I looked up in different videos/threads but can not find one that works for me.
    I think it might be something that has to do with permalinks or maybe the theme we are using, which is Porto Child.

    Also, when i search something WHEN CONNECTED the URL that comes up is different than the one when searching something while NOT CONNECTED. I will leave a link, lets say i am searching for “tork”

    https://dtcleaningsolutions.gr/?s=tork&post_type=product&product_cat=0 This comes out when i am connected as an admin

    https://dtcleaningsolutions.gr/?s=tork This comes out when i am NOT connected.

    The problem is, even if i copy-paste the 1st link while NOT connected, it switches to the 2nd link.

    I am using Wholesale suite and user registration plugins to let people register ONLY as wholesale customers and be able to see prices only when connected.

    • This topic was modified 2 months, 3 weeks ago by Dion.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for reaching out to the WooCommerce support forum. I understand how critical this issue is for your B2B setup, and I’ll do my best to assist you.

    Based on your description, the behavior you’re experiencing with the search functionality seems to be influenced by a combination of your theme (Porto Child) and the plugins you’re using to manage wholesale user access.

    Here are some steps you can take to troubleshoot and potentially resolve the issue:

    1. Check Permalink Settings

    • Go to Settings > Permalinks in your WordPress admin dashboard.
    • Re-save the permalink settings without making changes. This can sometimes resolve URL-related issues.

    2. Run a Conflict test:
    Please follow the instructions in this article to run a conflict test: https://woocommerce.com/document/how-to-test-for-conflicts/. This will help you determine whether the issue is with the theme or a plugin.

    Let me know how that goes.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.