Home / Forums / WoodMart support forum / Issue with Displaying B2C Price in Search Preview for Logged-in B2B User
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
- This topic has 6 replies, 2 voices, and was last updated 1 year, 8 months ago by
Luke Nielsen.
-
AuthorPosts
-
November 6, 2024 at 1:42 pm #610302
silvio.ricci.rsaParticipantHello,
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
November 7, 2024 at 1:11 pm #610504
Luke NielsenMemberHello,
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
November 7, 2024 at 2:29 pm #610517
silvio.ricci.rsaParticipantIt 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.November 7, 2024 at 5:28 pm #610556
Luke NielsenMemberHello,
May I disable some 3rd party plugins and enable the parent/default theme for testing?
Thank you in advance.
Kind Regards
November 7, 2024 at 5:47 pm #610560
silvio.ricci.rsaParticipantyes, but I didn’t get any results. Can you remove the price from the preview search?
November 7, 2024 at 7:41 pm #610610
silvio.ricci.rsaParticipantHi,
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
November 8, 2024 at 5:52 pm #610882
Luke NielsenMemberHello,
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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register