Hide Price for WooCommerce – CodeAtoZ

Plugin Banner

Hide Price for WooCommerce – CodeAtoZ

by codeatoz

Download
Description

CodeAtoZ – Hide Price for Stores gives WooCommerce store owners complete control over product price visibility.

Whether you’re running a B2B store, wholesale platform, members-only shop, or catalog-mode website, this plugin allows you to hide product prices and Add to Cart buttons based on flexible rule conditions — without breaking WooCommerce functionality.

Unlike CSS-based hiding methods, this plugin applies server-side logic to securely remove prices across:

• Shop pages
• Product pages
• Category pages
• WooCommerce REST API
• WooCommerce Store API

Perfect for:

• B2B & wholesale stores
• Member-only pricing models
• Catalog-only WooCommerce stores
• Quote-based businesses
• Private or restricted pricing models

Lightweight. Secure. Clean integration.

Short Description

Hide WooCommerce product prices and Add to Cart buttons using flexible rule-based conditions — ideal for B2B, wholesale, and catalog-mode stores.

Features

Flexible Rule Engine

Create multiple rules with priority control.

Hide Prices by User Type

• Guests
• Logged-in users
• Specific user roles

Product & Category Targeting

Apply rules to:
• Specific products
• Selected categories
• Entire store

Hide Add to Cart Button

Remove purchasing capability when prices are hidden.

Custom Replacement Text

Display a custom message instead of price:
• “Login to view price”
• “Request a quote”
• “Contact us for pricing”

Secure Server-Side Enforcement

Prevents price exposure via inspection tools.

WooCommerce API Safe

Fully compatible with REST API and headless setups.

Rule Configuration Guide

Rule Name

Internal reference name visible in admin.

Enable Rule

Activate or deactivate the rule.

Priority

Lower number = higher priority.
Rules are evaluated in ascending order.

User Condition

Apply rule to guests or logged-in users.

User Roles

Select specific WordPress roles.
Supports custom roles created by other plugins.

Product IDs

Comma-separated product IDs.
Leave empty to apply globally.

Product Categories

Select categories to restrict rule scope.

Hide Add to Cart Button

Removes purchase button when enabled.

Replacement Text

Custom message shown instead of price.

Rules are evaluated server-side during WooCommerce price rendering.

Support

Need assistance?

Please use the WordPress.org support forum for this plugin.

Before requesting support:

• Ensure WordPress and WooCommerce are updated
• Verify no theme conflicts
• Confirm latest plugin version

We actively maintain and improve this plugin.

Future Roadmap

Upcoming improvements may include:

• Advanced AND/OR rule logic
• Scheduled visibility rules
• Rule export/import
• Enhanced UI improvements
• Additional compatibility enhancements

User feedback helps shape development.

  1. Install via WordPress Plugin Directory or upload manually.
  2. Activate the plugin.
  3. Navigate to WooCommerce Hide Price.
  4. Create and configure rules.
  5. Save and test on frontend.
  1. Rule list – Manage multiple visibility rules with priority.

    Rule list – Manage multiple visibility rules with priority.

  2. Rule editor – Configure user roles, products, and categories.

    Rule editor – Configure user roles, products, and categories.

  3. Guest pricing restriction – Example frontend view.

    Guest pricing restriction – Example frontend view.

  4. Category-based hiding – Target specific product groups.

    Category-based hiding – Target specific product groups.

  5. Admin menu integration – WooCommerce → Hide Price.

    Admin menu integration – WooCommerce → Hide Price.

Does this work with variable products?

Yes.

Does this hide prices in WooCommerce REST API?

Yes.

Can I create a catalog-only store?

Yes. Enable a global rule hiding price and Add to Cart.

Does it use CSS to hide prices?

No. It uses secure server-side logic.

Will it slow down my store?

No. It is lightweight and optimized.

1.0.0

  • Initial stable release
  • Flexible rule engine
  • Role-based visibility
  • Category & product targeting
  • REST API compatibility
Back to top