Skip to content

Installing and Activating Hide Price for Guest

The plugin installs like any WooCommerce extension. The free version, DevDiggers Hide Price for WooCommerce, comes from WordPress.org. Pro, WooCommerce Hide Price For Guest, is a zip from your DevDiggers order. Pro is a complete plugin on its own, not an add-on, so you need only one of them.

One step is easy to miss: switching price hiding on. With Pro there is a second, the license. Until they are done, every price stays visible.

WooCommerce must be active first. Without it the plugin shows a notice and does nothing.

  • WordPress 6.5 or newer.
  • WooCommerce 9.0 or newer.
  • For Pro, the zip file from your DevDiggers order.
  1. Go to Plugins → Add New Plugin.

    The WordPress Plugins menu expanded with Add New highlighted

  2. Search for DevDiggers Hide Price.

  3. Click Install Now, then Activate.

  1. Go to Plugins → Add New Plugin.

    The WordPress Plugins menu expanded with Add New highlighted

  2. Click Upload Plugin at the top of the screen.

    The Add Plugins screen with the Upload Plugin button highlighted

  3. Click Choose File and select the plugin zip.

    The plugin upload box with the Choose File button highlighted

  4. Click Install Now.

    The plugin upload box with a zip selected and Install Now highlighted

  5. When the install finishes, click Activate Plugin.

    The install-complete screen with the Activate button highlighted

Do not unzip the file first. WordPress expects the zip itself.

Keep the free plugin installed while you add Pro if you like. When Pro is active, the free plugin stands aside and loads nothing, so there is one Hide Price menu and one set of settings. Both editions read the same settings, so nothing is lost either way. Once Pro is working, you can deactivate and delete the free plugin.

A first activation opens the Setup Wizard. The free version adds no database tables: its settings are WordPress options, and the click counter is one option of daily totals. Pro creates two tables, one for quote requests and one for the dashboard’s click and login counts.

Activation does not switch price hiding on. The wizard does. If you skip it, tick the Enable/Disable box under Configuration → General. In Pro, also add a rule on the Rules screen.

The settings start from these defaults:

  • Prices are hidden from Guests (not logged in). The free version covers All products. Pro covers whatever its rules match, in all countries.
  • What to Hide is the price and the add to cart button.
  • The message reads “Login to view price” and the button “Login to purchase”. The button opens a login popup.
  • Block Purchases, the schema and Store API protection, and click tracking are all on.

The free version has no license. With Pro, the wizard’s second step asks for it. You can also go to DevDiggers Plugins → Hide Price For Guest → Configuration → License, enter the purchase code and the email address from your order, and click Activate License.

The License tab showing License Active

Until the license is active, nothing from the plugin runs on the storefront. Prices show, buttons work, and the admin screens still open as normal. License Activation has the detail.

Activate Pro and it reads the free version’s settings. On its first load it turns Hide Prices On into its first rule, so the same products stay protected. How to Upgrade From the Free Version to Pro walks through it.

Version 2 replaced the old settings screen with rules. On the first load after the update, your old product, category, type, price, stock, review, sale, virtual and downloadable settings are turned into one rule named Migrated rules, set to match any condition. An old date range becomes a second rule, Migrated date range. A store that hid prices on every product gets one rule named All products.

Your storefront keeps hiding the same products. Open the Rules screen afterwards to rename the rule or split it up.

You are logged in as an administrator, so the store shows you every price. Check as a guest:

  1. Open a private or incognito window.
  2. Visit a product that your settings or rules cover.
  3. Look for your message where the price was, and the replacement button.

A product page as a guest: the price replaced by a message and a login button

If you still see the price, work through these in order:

  • Enable/Disable is ticked under Configuration → General.
  • Free: Hide Prices On covers the product, through All products, the Products list or a Categories entry.
  • Pro: the license reads License Active, at least one rule is Active, and today is inside its dates.
  • The product is not excluded under Configuration → General, and its own Guest price visibility is not Always show price.
  • Pro: Apply In is not limiting hiding to countries you are not in.
  • A caching plugin or your host is not serving an old copy of the page.