Home Forums WoodMart support forum Issue with Displaying B2C Price in Search Preview for Logged-in B2B User

Issue with Displaying B2C Price in Search Preview for Logged-in B2B User

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #610302

    silvio.ricci.rsa
    Participant

    Hello,

    I am currently working on a website using the Woodmart theme, and I have two different pricing tiers set up: one for B2B users and one for B2C users. The issue I am encountering is that when I am logged in as a B2B user, the B2C price still appears in the product search preview.

    I would like to know if there’s a way to remove the price from the search preview when a B2B user is logged in, as it is currently showing the B2C price instead of the B2B price.

    Could you please assist me in resolving this issue? I would prefer to hide the price in the search preview when the B2B user is logged in, or show the B2B price as appropriate.

    Thank you a lot!

    Best Regards

    Silvio Ricciutelli

    #610504

    Luke Nielsen
    Member

    Hello,

    Sorry for the delay.

    Please clarify, does the price change in the search page results? Or it’s not changed only in our Ajax search – https://prnt.sc/IAPyB2b-JYlc?

    Thank you for your time.

    Kind Regards

    #610517

    silvio.ricci.rsa
    Participant

    It doesn’t change. If the b2c user is connected he sees the price connected to him correctly. If the B2B user is connected he sees the B2C price (and not the b2b one) in the search preview.

    I would like to remove the price from the search preview or if the correct price can be displayed.

    Attachments:
    You must be logged in to view attached files.
    #610556

    Luke Nielsen
    Member

    Hello,

    May I disable some 3rd party plugins and enable the parent/default theme for testing?

    Thank you in advance.

    Kind Regards

    #610560

    silvio.ricci.rsa
    Participant

    yes, but I didn’t get any results. Can you remove the price from the preview search?

    #610610

    silvio.ricci.rsa
    Participant

    Hi,

    I wanted to provide an update on my ticket. I’ve managed to hide the price section in the search results using the following CSS:

    /* Hides the price section in the search results */
    .search-results-wrapper .autocomplete-suggestion .price {
    display: none;
    }

    While this solution is effective for now, I would prefer to have a more robust, integrated solution provided by your team that aligns fully with the theme’s structure. This would help ensure better compatibility and maintainability in future updates.

    Thank you for your assistance, and I look forward to your guidance on this matter.

    Best regards,

    Silvio Ricciutelli

    #610882

    Luke Nielsen
    Member

    Hello,

    I apologize for the delay.

    The thing is that our Ajax search shows the same products as shown on the Search page, but I can’t check products from the search page because it doesn’t show any results – https://prnt.sc/djVSreQ1xdaS so that is why I asked permission for plugins deactivation. In general, the Ajax search should show the same results as in the Search page, in case if the search page has the same issue, it could be the issue that is related to the plugin.

    I await your response.

    Kind Regards

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