Explore Magic WP

What are you looking for?

Search services, articles, projects and more.

Popular searches
Website platforms
Searches every page and article↑ ↓ Browse Enter Open Esc Close
WooCommerce

How to Build a Private WooCommerce Product Catalog

Learn how to make a WooCommerce product catalog private: approved accounts, role-based visibility, hidden prices and checks for direct URLs, APIs and downloads.

A product grid behind a lock, with an approved-account key opening access.

At a glance

  • Define whether the requirement hides prices, blocks purchasing or protects product information.
  • Apply restrictions to direct requests, search, APIs and downloads as relevant.
  • Test with multiple accounts and prevent shared caches from leaking restricted responses.

Build a private WooCommerce product catalog by defining what must be restricted and enforcing that rule on the server. Hiding a price, disabling purchases and protecting confidential product information are different requirements. Establish the boundary before choosing a catalog extension or writing custom rules.

Private catalog, hidden prices or a login-only store?

A business may want the whole store available only to approved accounts. Another may show public products but reserve a specialist range for distributors. A third may publish product details while showing prices only after login.

Write down who can see each piece of information and who can place an order. Search previews, related products, feeds and downloadable documents may need different treatment. A public product photo does not become confidential merely because its product page requires authentication.

Establish account approval and access rules

Separate a registered account from an approved trading account. Define how approval is reviewed, how users join a company and what happens when access is withdrawn.

Create a permission matrix for product groups. WordPress capabilities provide a basis for authorising actions, while individual account or company ownership rules can control which records belong to a user. WordPress documents checking capabilities for protected areas.

Example: a public range and a distributor range

Consider a hypothetical manufacturer with public accessories and a restricted distributor catalog.

User Public accessories Distributor products Purchase action
Visitor Visible Not available Public range only
Pending applicant Visible Not available Public range only
Approved distributor Visible Visible Approved range
Revoked account Visible Not available Public range only

The rules should apply after an account change as well as at login. Old cart items and previously saved links need a defined response when access is removed.

Cover every relevant access path

Filtering a shop loop is not enough. Review individual product URLs, site search, category archives, related items and structured data. Check add-to-cart and checkout requests as well as the visible buttons.

If the site uses WooCommerce Store API responses, a custom REST endpoint or product export, include those paths in the access design. Decide whether unauthorised requests should return a neutral unavailable response without disclosing private details.

For protected documents, use an authorised download handler or suitable private storage. Ordinary WordPress uploads often have public URLs. Review old cached pages and public indexes if previously public content becomes restricted.

WooCommerce private catalog plugin or custom development?

A supported extension may provide the visibility rules needed for a straightforward catalog. Custom development is relevant for company-specific ranges, external approval systems or unusual product-entitlement rules.

Keep approval, visibility and pricing rules documented separately. They can share account information without becoming one opaque condition that is difficult to change.

Verify privacy and purchasing behavior

Test direct links as a visitor, an applicant and two approved accounts with different access. Try changing a product identifier, reusing a saved cart and logging out before opening a restricted page. Confirm that caches and downloads follow the same boundary.

E-commerce development can establish catalog behavior, with security implementation for access controls and protected assets.

Frequently asked questions

Does hiding Add to cart make a catalog private?

No. It changes the interface but may leave product data and purchase endpoints accessible. Privacy requires server-side restrictions appropriate to the information being protected.

Can product images still be accessed directly?

Ordinary public media URLs may remain accessible even when the product page is restricted. Confidential assets need a protected delivery mechanism, not just a hidden page.

How we can help

Explore the services related to this guide.

E-commerce Solutions →Security Implementation →Portal Development →
← Back to all articles