Store views and customer groups
The short answer
Can one store hide prices differently in different places? Yes. Every HidePrice Pro setting and product attribute can be set per store view, so each store view can follow its own policy on the same catalog. Within a store view, the customer's group decides who sees prices.
How it works
Settings per store view
Magento keeps configuration on three levels: Default Config, each website and each store view. A lower level uses the value of the level above it until you save a value of its own. The scope switcher at the top of Stores → Configuration shows which level you are editing. Every HidePrice Pro field is marked [store view], so it can be set on all three levels. The one exception is Enable for HidePrice Request Form in Magento's reCAPTCHA settings: it is set per website. See Protect the form from spam.
On a website or store view, each field has a Use Default or Use Website checkbox. While it is selected, the field takes the value from the level above. Clearing it gives that level its own value.
The three product attributes in the HidePrice section of a product work the same way. A product can be left out of the scope in one store view and kept in it in another. See Per-product rules.
Customer groups across store views
A customer has one group, whichever store view they shop in. The settings of each store view decide what that group sees there. A trade group can see prices in one store view and not in another.
HidePrice Pro only shows or hides a price. The price itself comes from Magento, so a group with its own group price or tier prices sees those once the price shows.
A different policy per store view
Take one catalog with three store views:
| Online shop | Trade portal | Showroom catalog | |
|---|---|---|---|
| Product Scope | Selected Categories and Products, one trade category | All Products | All Products |
| Elements to Hide | Both Price and Add to Cart | Both Price and Add to Cart | Add to Cart Only |
| Show For | Customer Groups: Wholesale | All Logged In Users, hidden for General | No One |
| Replace Price With | Text: "Price on request" | Authentication Button | none needed, prices show |
| Replace Add To Cart With | N/A, the price request button takes the place | WebForms: Button With Popup for a trade account (with the WebForms Hide Price add-on) | Button With Alert with the showroom addresses |
| What a guest sees | Prices everywhere except the trade category | A sign-in button instead of every price | Every price, no way to order online |
The same guest moving between the store views gets three different behaviours, with no change to the products. A Wholesale customer sees trade prices in the online shop and the trade portal.
What this means for you
- Set the values most store views share on Default Config, then change only what differs on each store view.
- Check a policy on the store view the customer uses. A value saved on a store view wins over Default Config.
- Moving a customer to another group changes what they see in every store view. A customer who is signed in sees the change after signing out and signing in again.
- A product's own HidePrice Scope can differ per store view as well. Check it on the store view in question.
What's next
- Choose who sees prices: set Show For and the groups.
- Choose which products: set the scope for a store view.
- Catalogue without online ordering: the showroom setup in full.
- Show prices to wholesale customers only: the trade group setup in full.