Gatemi Private Store FAQ and Troubleshooting

I can still see the protected products

You are probably signed in as an administrator or shop manager. Anyone who can edit products sees everything. Test in a private window, or signed in as an ordinary customer.

Nothing is protected at all

Check that the master switch is on: Enforce the rules below (full edition) or Only signed-in customers may see the shop (free edition). It is off after installing. Full edition: you also need at least one rule, and a category or product rule needs at least one id.

Protected products still appear in the shop

Hide protected products and categories from listings, search and menus is off. They are listed but cannot be opened or bought. Turn it on to remove them from the lists.

A product shown by a page builder or another plugin's own query (not the shop's main query and not a product query) may still appear in that block; it still cannot be opened or bought.

Does it work with page caches?

Yes, by switching caching off for storefront pages while protection is on: the plugin sends no-cache headers and defines DONOTCACHEPAGE, which the common page-cache plugins respect. A server-level cache that ignores both must be told to bypass logged-in users and the gmpv_unlocked cookie.

Does it work with the Cart and Checkout blocks?

Yes. A protected product is not purchasable, which the blocks and the Store API respect, and the cart check removes one already in a cart.

Does it work with HPOS?

Yes. The plugin writes nothing to orders.

How do I make a wholesale-only category? (Full edition)

Add a rule: Covers These categories, the category id, Who may see it These roles only, Roles wholesale_customer (or whatever role your wholesale plugin uses). Every role a customer holds is checked.

Can visitors without an account get in? (Full edition)

Yes, with a password rule. They type the password once and it is remembered for A password stays unlocked for.

I changed the password and customers are locked out

That is by design: changing a rule's password closes every unlock already handed out. Give customers the new password.

Does the "not found" mode hide the password box? (Full edition)

No. With When someone is refused set to Show "not found", a visitor refused by a login or role rule gets a 404 — but a visitor refused by a password rule still gets the page with the password box, because a 404 page has no box to type into and a customer who was given the password would otherwise have no way in.

Can I change the refusal page's look?

Copy templates/protected.php from the plugin into your theme as gatemi-private-store/protected.php and edit it there. The plugin's own classes start with gmpv- (see the developer reference).

Does it protect pages and posts?

No. It protects WooCommerce products and product categories, and (for a whole-shop rule) the shop's own pages.

Moving from the free to the full edition

Install and activate the full edition. Both use gmpv_settings and gmpv_rules, and the free edition's rule is an ordinary full-edition rule called "Private store", so everything carries over. The free edition stands down while the full edition is active; deactivate and delete it.

Going back to the free edition

Only the rule with the id private-store is read. Any other rules you created in the full edition stop protecting anything — they stay stored, untouched, and work again if you reinstall the full edition. Review what is protected before downgrading. If the private-store rule uses a password or roles, the free edition keeps that area protected from everybody except people who can edit products.

What does uninstalling remove?

  • Free edition: gmpv_settings and gmpv_rules, but only if the full edition has never held a licence on this site.
  • Full edition: gmpv_settings, gmpv_rules, the licence state, the cached update payload and the licence-check cron event.

Neither edition touches a product, a category or a customer.

Shopping Cart
Scroll to Top