Can prices be displayed post-registration in a B2B store?

Hello,
I would like to ask if it is possible to show the prices in our store only if someone is registered. So that not registered customers do not see our prices. Since we are in B2B, this is very important.

For this it would be important to know how to do it. Since we want to update our product page

@gemhype ,

This will be possible through code customization, wherein price display can be made to hide until someone is logged in. Checkout will be provided for registered customers only

Okay, and how can you do that? Or rather what is the code that you have to insert?

@gemhype

the main concept will be this

{% if customer %}
  Customer is logged in. Show the price
{% endif %}

However actual implementation will depend on the theme you are using and at how many places prices are being displayed. Hope this helps.

There is pitfall to this as well like,…advance user may query the json of the product to get the price but this will be safe enough for average users.

On a separate note, you may look for an app like locksmith too on the app store.

1 Like