Linux 软件免费装
Banner图

Hide Price Button Lite for WooCommerce

开发者 wpkoders
更新时间 2026年5月29日 20:49
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce hide price catalog mode b2b wholesale

下载

1.0.0

详情介绍:

Hide Price Button Lite for WooCommerce is the simple, fast way to require login before customers see prices on your WooCommerce store. Flip one toggle and every product price is replaced with text of your choosing (for example, "Login to see price"), and the Add to Cart button is hidden until the visitor logs in. Optionally apply the same rules to one extra user role on top of guests, so wholesale or member tiers stay protected too. Built by WPKoders, a WooCommerce Marketplace vendor. No tracking, no calls home, no account required. Perfect for these scenarios Key features How it works
  1. Install and activate the plugin from Plugins → Add New
  2. Make sure WooCommerce is installed and active
  3. Go to WooCommerce → Hide Price in your WordPress admin
  4. Tick Hide prices for guests and / or Hide Add to Cart button for guests
  5. Set the Replacement text that customers will see in place of the price
  6. Optionally pick one additional user role that should see the same restriction
  7. Save changes — the settings apply immediately across your shop
Done. The rules are live on both the classic WooCommerce checkout and the new Cart & Checkout Blocks. Upgrade to Hide Price Pro Need more power? Hide Price Pro on the WooCommerce Marketplace (listed there as "Hide Price & Show Custom Button") adds: Upgrade to Hide Price Pro on WooCommerce.com → About WPKoders WPKoders is a WooCommerce Marketplace vendor with a portfolio of WordPress and WooCommerce plugins for serious store owners. See all of our plugins on the WooCommerce vendor page or at wpkoders.com.

安装:

From the WordPress admin
  1. Go to Plugins → Add New in your WordPress admin
  2. Search for Hide Price Button Lite
  3. Click Install Now, then Activate
  4. Make sure WooCommerce is installed and active
  5. Go to WooCommerce → Hide Price to configure
Manual installation
  1. Download the plugin .zip file
  2. Upload the hide-price-button-lite folder to /wp-content/plugins/
  3. Activate the plugin through the Plugins screen in WordPress
  4. Make sure WooCommerce is installed and active
  5. Go to WooCommerce → Hide Price to configure

屏幕截图:

  • User role selector — extra role dropdown listing Editor, Author, Contributor, Subscriber, Customer, Shop manager.
  • Shop archive as guest — product grid showing replacement text in place of price, Add to Cart hidden.
  • Single product page as guest — replacement text on product detail with breadcrumbs, SKU, and category intact.

升级注意事项:

1.0.0 Initial release.

常见问题:

Does this plugin require WooCommerce?

Yes. WooCommerce must be installed and active. An admin notice will appear if WooCommerce is not detected.

Where do prices and the Add to Cart button get hidden?

Everywhere WooCommerce renders them using its standard filters: category pages, single product pages, related products, cross-sells, upsells, search results, widgets, and Cart & Checkout Blocks. There are no templates to override and no custom CSS to write.

Does it hide prices for administrators too?

No. Administrators always see prices and the Add to Cart button so you can keep managing your shop normally. Lite affects guests and (optionally) one chosen user role.

Can I hide prices for more than one extra role at a time?

Lite supports guests plus one additional role. For multiple roles, specific customers, or country-based rules, upgrade to Hide Price Pro.

Can I hide prices only on specific products or categories?

Not in Lite — Lite applies to the whole shop. Per-product, per-category, and country-scoped control is available in the Pro version at https://woocommerce.com/products/hide-price-button/.

Can I replace the Add to Cart button with a "Request a Quote" or custom button?

Not in Lite. Lite hides the Add to Cart button entirely. Replacing it with a custom-URL button, a custom HTML block, or an inline Request a Quote popup is available in Hide Price Pro.

Does it work with the WooCommerce Cart & Checkout Blocks?

Yes. Cart & Checkout Blocks compatibility is declared and the plugin hooks into the standard WooCommerce price and purchasability filters that the blocks themselves rely on.

Is it compatible with High-Performance Order Storage (HPOS)?

Yes. HPOS compatibility is declared.

Is this plugin GDPR compliant?

Yes. The plugin does not collect, store, or transmit any personal data. All settings are stored locally in your WordPress database. No cookies, no analytics, no calls home.

Can I use this plugin for a wholesale or B2B store?

Yes — that is exactly what Lite is designed for. Set the "Hide prices for guests" toggle, optionally pick the user role that represents your "Pending wholesale" or "Subscriber" tier as the extra role, and only logged-in approved customers will see prices and the Add to Cart button. For separate price tiers for different customer groups or per-product control, upgrade to Pro.

Does the plugin send any data to external servers?

No. Hide Price Button Lite does not phone home, does not require an account, and does not include any tracking or analytics. See the External Services section below for full transparency.

更新日志:

1.0.0