PrestaShop

PrestaShop Price Control: Hide Prices by Customer, Country, or Product with Hide Price Pro

PrestaShop product page showing 'Sign in to see price' message
PrestaShop product page showing 'Sign in to see price' message

Unlock Granular Price Control: Beyond PrestaShop's Default Catalog Mode

PrestaShop, while a robust and flexible e-commerce platform, sometimes presents limitations when merchants require highly specific control over their product displays. A common challenge arises when the default "catalog mode" – which globally hides all prices – proves too broad for nuanced business needs. Many online stores, particularly those operating in B2B, wholesale, or multi-country environments, need the ability to selectively hide prices based on customer status, geographical location, or even individual product attributes.

The forum thread #1110325 introduces a module designed to fill this critical gap: Hide Price Pro by MEG Venture. This module offers a robust, server-side solution for merchants looking to implement advanced price visibility rules without resorting to custom code or compromising store integrity.

The Problem with PrestaShop's Default Pricing Visibility

For many businesses, displaying all prices to every visitor simply isn't an option. Consider:

  • Wholesale Operations: You might want to protect your wholesale rates from competitors or retail customers, requiring sign-in for price access.
  • International Sales: Due to regional pricing strategies, distribution agreements, or legal restrictions, certain products or prices might only be applicable or visible in specific countries.
  • Custom Quotes & Bespoke Products: Some items require a personalized quote rather than a fixed, listed price.

PrestaShop's native catalog mode, while useful for a pure catalog display, falls short by applying a shop-wide blanket rule. This "all or nothing" approach forces merchants into complex custom coding or compromises that can hinder business growth and operational efficiency.

Introducing Hide Price Pro: A Surgical Approach to Price Visibility

The "Hide Price Pro" module offers a sophisticated, yet straightforward, solution. Instead of a multitude of confusing switches, it operates on a single, powerful principle: defining who should not see prices. This exclusive rule system prevents contradictory configurations and ensures clarity, making it easy to manage even complex pricing scenarios. The module offers four distinct, mutually exclusive options:

  • Paused: A simple toggle to temporarily disable all price hiding without uninstalling the module.
  • Guests Only: This is ideal for B2B or members-only stores. Prices are hidden from visitors who are not signed in, often redirecting them to a sign-in page. This encourages account creation and turns casual browsing into a valuable lead generation opportunity.
  • Country-Specific: Perfect for international e-commerce. You can easily hide prices from visitors in selected countries. The module intelligently leverages PrestaShop's native geolocation, crucially "failing closed" for uncertain locations to prevent accidental price leaks – a vital security feature.
  • Product-Specific: For bespoke items, custom quotes, or products requiring consultation, you can flag individual products to hide their prices. This allows for a "Request a Quote" button or direct contact information, personalizing the sales process.

Technical Excellence: Why Server-Side Matters for Security and Stability

What truly sets Hide Price Pro apart is its robust, server-side implementation. Unlike modules that merely hide prices using CSS or JavaScript (leaving the price visible in the page source for tech-savvy users), Hide Price Pro leverages PrestaShop's actionPresentProduct and actionPresentProductListing hooks (available from PrestaShop 1.7.5+). This means the price data is removed before the page is even built, ensuring it never reaches the HTML source. This server-side masking covers the entire shop – category pages, search results, homepage blocks, quick view, and product pages – providing comprehensive security.

Crucially, the module achieves this without copying into the core, replacing controllers, or overwriting templates. This "no core modification" approach guarantees compatibility with PrestaShop upgrades and significantly reduces the risk of conflicts with other modules or themes, a common headache for store owners and migration experts alike. For older PrestaShop 1.7.0-1.7.4 versions, it gracefully falls back to CSS/JS masking, still providing functionality, albeit with a different security guarantee.

Beyond Hiding: What Visitors See and Preventing Workarounds

The module doesn't just remove prices; it replaces them with actionable content. For guest and country rules, you can display a custom message in multiple languages, optionally including a "Sign in" button that intelligently returns the visitor to the product they were viewing. For product-specific rules, you have even greater flexibility, allowing custom HTML like "Request a quote," a phone number, or a contact link.

Furthermore, Hide Price Pro is designed to prevent workarounds. It checks the cart and checkout pages via actionCartSave, ensuring restricted products cannot be added to the cart through hand-built links or other unauthorized methods. This comprehensive approach ensures that your pricing rules are not only displayed correctly but are also enforced securely.

Important Considerations: What Hide Price Pro is NOT

It's vital to understand the module's specific scope. Hide Price Pro is not a B2B pricing engine. It hides numbers; it does not compute them. If your requirement is to show different prices per customer group, tiered rates, or customer-specific discounts, you'll need PrestaShop's native group pricing features or a dedicated B2B pricing module. Hide Price Pro focuses purely on visibility control.

Also, while the guest and country rules scale effortlessly, flagging thousands of products individually for product-specific rules can be time-consuming, as mass import/export for this specific feature is currently a manual process (a secured replacement is anticipated in future versions). Quick-view popups that build prices over their own AJAX are intercepted only for modules known by name, and if PrestaShop's own catalog mode is already on, prices will already be hidden shop-wide.

Why This Module is a Game-Changer for PrestaShop Merchants

For PrestaShop merchants navigating complex pricing strategies, international sales, or B2B models, Hide Price Pro is an indispensable tool. It offers a secure, flexible, and developer-friendly way to manage price visibility, enhancing user experience, protecting competitive pricing, and streamlining sales processes. As e-commerce migration experts at Migrate My Shop, we understand the importance of robust, well-integrated modules. Solutions like Hide Price Pro ensure your PrestaShop store is not just functional, but strategically optimized for your business goals, providing peace of mind during upgrades and migrations.

Conclusion

Don't let PrestaShop's default catalog mode limit your e-commerce potential. Embrace granular control with "Hide Price Pro." Whether you're securing wholesale rates, managing international sales, or offering bespoke products, this module provides the precision you need. Explore its capabilities and consider how it can elevate your PrestaShop store. For seamless integration during a migration or for expert advice on optimizing your PrestaShop setup, the team at Migrate My Shop is always ready to assist.

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools