Request to Hide B2C Products When Viewing B2B Collection
yash patel
I hope you're doing well.
I have set up passcode protection for the B2B products on my Shopify store. Currently, when a user enters the passcode on the B2B collection page, they can view the B2B products as intended. However, I would also like to hide the B2C products across the store for users who have entered the B2B passcode.
Essentially, once the passcode is entered to view B2B products, all B2C products should be hidden to provide a seamless and focused shopping experience for B2B customers.
Could you please help me implement this functionality?
Let me know if you need any additional information.
Ken Parelius
Hey there!
You can do this by creating a lock on your B2C products, and then adding the passcode key with the same passcode.
But, you'll enable the "invert" option in that key, so that it hides the products if the customer has entered that passcode. Here's how to find that option:
https://www.locksmith.guide/keys/more/inverting-conditions-in-locksmith
Reach out to us at team@uselocksmith.com if you have further questions. :)
Cheers!
Ken