Linux 软件免费装
Banner图

CodeAtoZ Hide Prices for WooCommerce

开发者 codeatoz
更新时间 2026年5月8日 20:25
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce request a quote hide price catalog mode wholesale

下载

1.5.0 1.0.0 1.0.1 1.2.0 1.2.1 1.1.0

详情介绍:

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.

安装:

  1. Install via WordPress Plugin Directory or upload manually.
  2. Activate the plugin.
  3. Navigate to WooCommerce → Hide Price.
  4. Click "Add Rule", configure conditions and actions.
  5. Save and test on the frontend.

屏幕截图:

  • Rule editor – Conditions, Where-to-Apply scope, Actions, three Price Replacement modes (text / login button / inquiry popup) and modern in-context tooltips on every field.
  • Login-button replacement on a shop page.
  • Hide SKU, stock & quantity on a B2B product page.
  • Settings menu under WooCommerce → Hide Price.
  • Inquiry / Quote popup opens from any product card on shop, category and search pages — clean modal with Name, Email and Message; submission emailed to your admin.

升级注意事项:

1.5.0 Major free upgrade: Inquiry / Quote button with popup, Login button replacement, Hide SKU/Stock/Quantity, Hide Product from Listings, Where-to-Apply scope toggles, full block-theme & Store API support, modern tooltips, settings page. Existing rules continue to work unchanged. 1.4.2 Fixes the inquiry popup not opening when clicking the Contact for Price button on shop / category / search pages. Existing rules continue to work unchanged. 1.4.1 UX fix: the inquiry button is now a third option inside Price Replacement (mutually exclusive with the login button), plus modern hover tooltips and rewritten sidebar docs. Existing rules continue to work unchanged. 1.4.0 Adds a free Inquiry / Quote button with modal popup and email — the most-requested companion to "hide price." Existing rules continue to work unchanged. 1.3.0 Major free upgrade: Login button replacement, hide SKU/stock/quantity, hide products from listings, and full block-theme / Store API compatibility. Existing rules continue to work unchanged.

常见问题:

Does this work with variable products?

Yes. Variation prices are hidden via AJAX-safe filters too.

Does it work with the new WooCommerce blocks (Product Collection, Cart, Checkout)?

Yes. Store API responses are scrubbed during REST requests, so block-based templates also respect your rules.

Does it leak prices via the WooCommerce REST API?

No. Both the legacy REST API (/wc/v3/products) and the Store API (/wc/store/v1/products) are filtered.

Can I redirect the user when they click the login button?

Yes. Choose "Login / Register button" replacement, set the link target to "My Account", "Register", or a custom URL.

Does Hide-from-listings work for global rules?

By design, hide-from-listings only runs when you specify Product IDs and/or Categories — global rules are skipped to prevent accidentally hiding the entire catalog.

Where do inquiry emails go?

By default to your WordPress admin email. You can change the recipient under WooCommerce → Hide Price → Settings. Inquiries are sent via wp_mail(); for reliable delivery on shared hosts, install an SMTP plugin such as WP Mail SMTP.

Are inquiries stored in the database?

No. The free version is fire-and-forget email only. If you want a managed inbox with status tracking, customer auto-reply, multiple recipients, configurable form fields and CSV export, upgrade to Pro.

Does it use CSS to hide prices?

No. It uses secure server-side logic. CSS is only used as a fallback for grouped product child prices and the quantity selector.

Will it slow down my store?

No. Listings exclusions are cached in transients; rule evaluation is short-circuited as soon as a match (or rejection) is found.

Is it compatible with WPML / Polylang?

Strings are translation-ready. Use __() overrides or your translation plugin's normal flow.

更新日志:

1.5.0 1.4.2 1.4.1 1.4.0 1.3.0 1.2.1 1.2.0 1.1.0 1.0.0