Title: Price Guard &#8211; Hide Price &amp; Add to Cart for WooCommerce
Author: camerce
Published: <strong>30 septembre 2024</strong>
Last modified: 31 août 2026

---

Recherche d’extensions

![](https://ps.w.org/price-guard-for-woocommerce/assets/banner-772x250.png?rev=3160331)

![](https://ps.w.org/price-guard-for-woocommerce/assets/icon-128x128.gif?rev=3159828)

# Price Guard – Hide Price & Add to Cart for WooCommerce

 Par [camerce](https://profiles.wordpress.org/camerce/)

[Télécharger](https://downloads.wordpress.org/plugin/price-guard-for-woocommerce.1.1.0.zip)

 * [Détails](https://fr.wordpress.org/plugins/price-guard-for-woocommerce/#description)
 * [Avis](https://fr.wordpress.org/plugins/price-guard-for-woocommerce/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/price-guard-for-woocommerce/#installation)
 * [Développement](https://fr.wordpress.org/plugins/price-guard-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/price-guard-for-woocommerce/)

## Description

**Price Guard turns your WooCommerce shop into a catalog.** Hide product prices,
remove the Add to Cart button, and replace them with your own button so visitors
get in touch instead of checking out.

Not every store should sell online at a fixed price. Wholesale suppliers negotiate.
Trade counters price by account. Custom manufacturers quote per project. Distributors
are contractually barred from showing retail prices in public. Price Guard covers
all of these without touching your product data: your prices stay exactly where 
they are, they just stop being shown.

#### What Price Guard does

 * **Hide product prices** across the shop, category pages, and single product pages.
 * **Show your own wording instead** – « Call for pricing », « Login to see price»,«
   Request a quote », or anything you like.
 * **Hide the Add to Cart button** and make products unpurchasable, so nothing can
   be ordered at the wrong price.
 * **Add your own button** in its place, with your own label and link – a contact
   page, a quote form, a phone number, or a Calendly booking.
 * **Choose who sees what.** Hide prices from logged-out visitors only, from specific
   user roles, or from everyone.
 * **Apply everywhere or by category**, so part of your catalog can stay a normal
   shop.

#### Hide prices from guests, show them to customers

The most common setup for a wholesale store: pick **Guest** under Hide for User 
Roles, and prices disappear for logged-out visitors while approved customers who
sign in see them normally. No separate wholesale plugin, no duplicate catalog.

You can target any role the same way – hide from `subscriber` but show to `wholesale_customer`,
or hide from everyone by leaving the selection empty.

#### Full catalog mode

Enable both Hide Price and Hide Add to Cart and your store becomes a browsable product
catalog. Customers still see products, images, descriptions and specifications –
they just contact you instead of buying. Useful for:

 * Wholesale and B2B suppliers who price per account
 * Trade-only and distributor catalogs
 * Made-to-order and custom manufacturing
 * High-value equipment sold after a conversation
 * Stores that must hide RRP under supplier agreements

#### Built to stay out of the way

Price Guard uses WooCommerce’s own filters rather than overriding templates, so 
it works with virtually any theme and does not need template edits. It is compatible
with WooCommerce High-Performance Order Storage (HPOS), adds no front-end scripts,
and stores nothing beyond a handful of options.

#### Requirements

WooCommerce must be installed and active.

## Captures d’écrans

[⌊Price Guard settings under WooCommerce > Settings, including category and user
role targeting⌉⌊Price Guard settings under WooCommerce > Settings, including category
and user role targeting⌉[

Price Guard settings under WooCommerce > Settings, including category and user role
targeting

[⌊A product with its price replaced and a Request a Quote button in place of Add
to Cart⌉⌊A product with its price replaced and a Request a Quote button in place
of Add to Cart⌉[

A product with its price replaced and a Request a Quote button in place of Add to
Cart

## Installation

 1. Install through **Plugins > Add New**, or upload the `price-guard-for-woocommerce`
    folder to `/wp-content/plugins/`.
 2. Activate the plugin on the **Plugins** screen.
 3. Go to **WooCommerce > Settings > Price Guard**.
 4. Enable Hide Price and/or Hide Add to Cart, set your replacement text and button,
    and save.

## FAQ

### Does this plugin require WooCommerce?

Yes. WooCommerce must be installed and active for Price Guard to do anything.

### Can I hide prices from visitors but show them to logged-in customers?

Yes. Under **Hide for User Roles**, select **Guest**. Prices are then hidden from
logged-out visitors and shown normally to anyone signed in. This is the usual wholesale
setup.

### Can I hide prices from specific user roles?

Yes. Select any combination of roles under Hide for User Roles. Leave the selection
empty to hide prices from everyone, including administrators.

### Can I hide prices for only some categories?

Yes. Set **Apply Globally** to « No » and choose the categories you want covered.
Everything else behaves like a normal shop.

### Can I hide the price for one individual product?

Not in this version. Targeting is global, by category, or by user role. Per-product
control is planned for a future release.

### What is shown in place of the price?

Whatever you enter in **Hide Price Text** – for example « Call for pricing » or «
Login to see price ». Leave the field empty and the price area is simply left blank.

### Does hiding the Add to Cart button stop people ordering?

Yes. Affected products are marked unpurchasable in WooCommerce, so they cannot be
added to the cart or bought directly, even by URL.

### Where can the replacement button link to?

Any URL. A contact page, a quote request form built with your form plugin of choice,
a mailto: link, or a phone number.

### Does this work with variable products?

Yes. Price Guard hooks into the same WooCommerce filters that display prices and
cart buttons, so it covers simple and variable products alike.

### Will it work with my theme?

It should. Price Guard filters WooCommerce’s own price and button output rather 
than replacing templates, so no theme files need editing. Themes that build entirely
custom product templates and bypass those filters are the exception.

### Does it change my product prices?

No. Your prices remain stored on the products exactly as they are – they are only
hidden from display. Turn the plugin off and everything reappears.

### Does it remove prices from structured data?

Not currently. Price Guard changes what shoppers see on the page; it does not alter
the product schema WooCommerce outputs. If you need prices removed from structured
data as well, use an SEO plugin’s schema controls alongside it.

### Is it compatible with HPOS?

Yes. Price Guard declares compatibility with WooCommerce High-Performance Order 
Storage.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Price Guard – Hide Price & Add to Cart for WooCommerce » est un logiciel libre.
Les personnes suivantes ont contribué à cette extension.

Contributeurs

 *   [ camerce ](https://profiles.wordpress.org/camerce/)

[Traduisez « Price Guard – Hide Price & Add to Cart for WooCommerce » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/price-guard-for-woocommerce)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/price-guard-for-woocommerce/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/price-guard-for-woocommerce/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/price-guard-for-woocommerce/)
par [RSS](https://plugins.trac.wordpress.org/log/price-guard-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.1.0

 * New: « Hide Price Text » now works – show your own wording in place of the price
   instead of a blank space.
 * New: « Hide for User Roles » now works – target guests, customers, or any role.
   Leave it empty to hide from everyone.
 * Removed settings that were displayed but had no effect (country targeting, popup
   button mode, per-product toggle).
 * Updated compatibility with WordPress 7.1 and WooCommerce 11.0.1.
 * Maintenance: plugin ownership moved to Camerce.

#### 1.0.0

 * Initial release

## Méta

 *  Version **1.1.0**
 *  Dernière mise à jour **il y a 1 mois**
 *  Installations actives **200+**
 *  Version de WordPress ** 5.0 ou plus **
 *  Testé jusqu’à **7.1.3**
 *  Version de PHP ** 7.2 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/price-guard-for-woocommerce/)
 * Étiquettes
 * [b2b](https://fr.wordpress.org/plugins/tags/b2b/)[catalog mode](https://fr.wordpress.org/plugins/tags/catalog-mode/)
   [hide price](https://fr.wordpress.org/plugins/tags/hide-price/)[request a quote](https://fr.wordpress.org/plugins/tags/request-a-quote/)
   [wholesale](https://fr.wordpress.org/plugins/tags/wholesale/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/price-guard-for-woocommerce/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Votre avis](https://wordpress.org/support/plugin/price-guard-for-woocommerce/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/price-guard-for-woocommerce/reviews/)

## Contributeurs

 *   [ camerce ](https://profiles.wordpress.org/camerce/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/price-guard-for-woocommerce/)