| 开发者 | devdiggers |
|---|---|
| 更新时间 | 2026年10月28日 05:29 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
Install the plugin and turn it on in the setup wizard. Guests is the default audience and All products the default scope, so every price is hidden from logged out visitors right away.
Leave Hide Prices For set to Guests. Everyone who is logged in sees prices. To hide prices from some logged in customers too, add their user role.
Yes. Add the roles that should not see prices, for example Customer, and keep your wholesale role out of the list. Those users see the price message, everyone else sees prices.
Yes. Under Configuration > General, set What to Hide to "Add to cart button only".
Yes. Set Hide Prices On to "Selected products and categories" and pick them. You can also set any product to always hide or always show its price from its edit screen.
Yes. Hide a whole variable product, or pick single variations. When only some variations are hidden, the price range shown for the product is rebuilt from the visible ones.
No, as long as Block Purchases is on (it is by default). The product is marked as not purchasable on the server, so ?add-to-cart= links and the Cart block refuse it.
Not from your product pages. The price is removed from the schema markup. Search results already indexed may take a while to refresh.
Yes. Prices are removed from the Store API responses that the product blocks use, and protected products cannot be added to the Cart block.
Yes. In block themes such as Twenty Twenty-Five, the Add to Cart form block is replaced by your button on protected products, just like the classic product page.
Yes. Anyone who can manage WooCommerce can open and save the plugin settings, so a Shop Manager does not need administrator access.
Logged in visitors usually bypass the page cache, so they always see the right prices. If your cache serves pages to logged in users, exclude product and shop pages for them.
Clicks on the button that replaces Add to Cart, per day and per product, plus how many products are protected. You can turn the click counter off under Configuration > General.
No. The click counter stores a daily total and a total per product in your own database. It does not store IP addresses, user IDs or cookies.
Yes. Pro uses the same settings, and turns your protected products into its first rule automatically.
Yes. It is translation ready, and the price text, button text and custom URL can be translated with WPML.
Open a topic in the support forum or read the documentation.