CodeAtoZ Hide Prices for WooCommerce
CodeAtoZ – Hide Price for Stores gives WooCommerce store owners complete control over price visibility — for B2B, wholesale, members-only, catalog-mode, and quote-based stores.
Unlike CSS-based hiding, this plugin applies server-side logic across:
• Shop pages, archives, search results • Single product pages • Variations (AJAX safe) • Related / cross-sell loops • WooCommerce REST API • WooCommerce Store API (used by Cart/Checkout & Product Collection blocks)
Lightweight. Secure. Block-theme ready. HPOS ready.
Short Description
Hide WooCommerce prices and add a Contact-for-Price / Request-a-Quote button — login replacement, hide SKU/stock/qty, block-theme & Store API ready.
Features
Flexible Rule Engine
Multiple rules with priority. Backward compatible — old rules keep working.
Hide Prices by User Type
• Guests • Logged-in users • Specific WordPress roles (custom roles supported)
Product & Category Targeting
Apply rules to specific products, selected categories, or the entire store.
Hide Add to Cart Button
Removes purchase capability and blocks add-to-cart via URL/REST/Store API.
Inquiry / Quote Button (NEW in 1.4)
Add a « Contact for Price » button to product pages. Customers click it, fill in Name / Email / Message in a clean modal, and the inquiry is emailed to your admin address. Includes honeypot anti-spam and per-IP rate limiting. Configure recipient and success message under WooCommerce → Hide Price → Settings. No database persistence — Pro adds the full Inquiry Manager.
Login / Register Button Replacement
Replace the price with a clickable button that links to: • My Account / Login page • Register page • A custom URL of your choice With a fully customizable button label.
Plain Text Replacement
Show a custom message instead of the price (e.g. « Login to see price », « Request a quote »).
Hide SKU, Stock & Quantity (NEW)
Optionally hide the SKU, the in-stock badge, and the quantity selector together with the price — protects competitive inventory data on B2B catalogs.
Hide Product from Listings (NEW)
Remove matching products from shop, category, search and related-product loops based on user / role / category — making the catalog feel personalized.
Where to Apply (NEW Scope Toggles)
Choose per rule which areas it runs on: shop, single product, search, related products, sidebar widgets. Cart/checkout/REST are always enforced.
Block Theme & FSE Ready (NEW)
Works with WooCommerce Product Collection block, the Cart Block, the Checkout Block, and full-site-editing shop templates via Store API integration.
Secure Server-Side Enforcement
Prevents price exposure via inspection tools, REST, Store API, or AJAX variation lookups.
HPOS / Cart-Checkout Blocks Compatibility
Declares full compatibility with WooCommerce High-Performance Order Storage and Cart/Checkout blocks.
Support
Please use the WordPress.org support forum.
Before requesting support: • Ensure WordPress and WooCommerce are up to date • Verify there’s no theme/plugin conflict (deactivate other plugins to test) • Confirm you’re on the latest plugin version
We actively maintain and improve this plugin.
Pro Version
Need more? Upgrade to Hide Price Pro for: • Date / time scheduling • Geo-targeting by country • Cart value & purchase-history rules • Custom HTML price replacement • Redirect action (301/302) • Inquiry / quote manager • Analytics dashboard • Priority support
Learn more at https://codeatoz.com/hide-price-for-stores-pro-woocommerce-price-visibility-plugin-codeatoz/
