Skip to Content

Restrict Price Visibility for Public Users

Implements front-end access control for product pricing and purchasing features. When enabled, public (unauthenticated) users can browse product listings but cannot view prices or add products to the cart. Logged-in users retain full access.
November 14, 2025 by
Restrict Price Visibility for Public Users
Silverdale Technology, Somroo Hassaan
| No comments yet

The Silverdale Restrict Price Visibility for Public Users feature is a specialized enhancement designed for B2B eCommerce businesses using Odoo. This module enforces access control over sensitive commercial information such as product prices and purchasing functionality, limiting visibility to authenticated users only.

With this module activated, non-logged-in users can freely browse the product catalog but will not see prices or be able to add products to their cart. Instead, they are prompted to log in, supporting a gated shopping experience typical of wholesale or business-specific marketplaces.

Key Features

  • Hide product prices from public (non-authenticated) visitors.
  • Replace prices with a configurable message: “Login to view price”.
  • Remove or disable the Add to Cart button for public users.
  • Automatically redirect login prompts when interacting with pricing or cart actions.
  • Logged-in users (portal or internal) retain full pricing and shopping access.
  • Fully compatible with:
    • Product list/grid view
    • Product detail pages
    • Quick views and variants

User Experience Flow

For Public (Unauthenticated) Users:

  1. Visit the Odoo website as a guest.
  2. Browse product categories and listings as usual.
  3. See “Login to view price” instead of product prices.
  4. Add to Cart button is hidden or replaced with a login link.
  5. If attempting to access restricted actions, redirected to the login page.

For Logged-In Users:

  1. Log in with a portal or internal user account.
  2. Browse the website.
  3. View complete pricing information.
  4. Use Add to Cart and proceed to checkout.

Benefits

  • Protects pricing strategies and commercial information.
  • Encourages account registration and engagement.
  • Perfect for B2B stores with negotiated or restricted pricing models.
  • Maintains SEO visibility and catalog exposure without revealing pricing to the public.
  • Seamlessly integrates with Odoo's standard eCommerce and portal frameworks.

This feature is ideal for businesses that want to present their product catalog publicly but limit purchasing capabilities to approved customers. By enabling Restrict Price Visibility for Public Users, your website becomes more secure, strategic, and aligned with professional B2B workflows.

Share this post
Sign in to leave a comment