Linux 软件免费装
Banner图

Zchand Smart Pricing Control

开发者 zchand
更新时间 2026年8月26日 18:42
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

whatsapp request a quote hide price wholesale contact for pricing

下载

详情介绍:

Zchand Smart Pricing Control turns a WooCommerce store that doesn't publish prices into a working quote-request pipeline. Hiding the price is the easy part, and it is where most "call for price" plugins stop. This one replaces the price and the Add to Cart button with a Contact for Pricing button that opens a popup enquiry form, saves every submission to its own screen in your admin, emails both you and the customer, and can notify your phone on WhatsApp the moment a lead arrives. What Makes This Different Key Features Enquiry Form & Inbox Who Is This For? Privacy When a visitor submits the enquiry form, the plugin stores the name, email address, phone number and message they entered, together with the product they enquired about, the page URL they submitted from, their IP address, and the time of submission. The IP address is recorded so the per-IP rate limit can block form spam, and it is shown to you on the enquiry detail screen. All of this is kept in a table in your own WordPress database. It is never sent anywhere else unless you deliberately enable one of the optional WhatsApp notification providers described below, and it is not used for tracking, profiling or analytics of any kind. Deleting an enquiry from Smart Pricing → Enquiries permanently removes that record. Deleting the plugin from the Plugins screen drops the enquiries table entirely, along with the plugin's settings. If your store serves visitors in a jurisdiction with data-protection rules such as the GDPR, mention this collection in your site's privacy policy. External Services This plugin does not send any data to external services by default. It only contacts a third-party service if you explicitly enable and configure one of the optional WhatsApp notification providers below. Enquiry data is otherwise stored only in your own WordPress database, and enquiry emails are sent through your own WordPress mail configuration. CallMeBot (optional — WhatsApp owner notification) If you enable WhatsApp notifications and choose the "CallMeBot" provider, then each time a customer submits an enquiry the plugin sends an HTTPS request to the CallMeBot API (https://api.callmebot.com). The request includes the phone number you configured, your CallMeBot API key, and the message you configured (which may include the enquiry's name, phone, email, product name and message). This is required to deliver the WhatsApp notification to you. CallMeBot is a third-party service: website https://www.callmebot.com/ , terms and privacy information https://www.callmebot.com/ . WhatsApp Cloud API — Meta (optional — WhatsApp owner notification) If you enable WhatsApp notifications and choose the "WhatsApp Cloud API" provider, then each time a customer submits an enquiry the plugin sends an HTTPS request to Meta's Graph API (https://graph.facebook.com). The request includes your access token, phone number ID, recipient number and message template variables (which may include enquiry details). This is required to deliver the WhatsApp message. This service is provided by Meta Platforms, Inc.: terms https://www.whatsapp.com/legal/business-terms/ , privacy https://www.whatsapp.com/legal/ . The "Contact via WhatsApp" chat button and floating bubble simply generate a standard wa.me click-to-chat link that opens in the visitor's own browser/app; no data is sent to any server by the plugin for that feature.

安装:

  1. Upload the zchand-smart-pricing-control folder to the /wp-content/plugins/ directory, or install directly through the WordPress plugin screen.
  2. Activate the plugin through the "Plugins" screen in WordPress.
  3. Navigate to Smart Pricing → Settings in the admin menu to configure the plugin.
  4. Optionally open any product and go to the Smart Pricing tab for per-product overrides.
Full setup instructions, a shortcode reference and troubleshooting notes are built into the plugin under Smart Pricing → Docs.

升级注意事项:

1.1.0 Adds a popup enquiry form, stored enquiries, email notifications, and a shortcode. The contact button now opens a popup by default — switch it back to a link under Smart Pricing → Enquiry Form if needed. 1.0.0 Initial release.

常见问题:

Where do enquiries go?

Into your own database, and into a dedicated Smart Pricing → Enquiries screen. Each entry keeps the customer's name, email, phone and message alongside the product they asked about and the page they submitted from. The menu shows a count of unread enquiries, and an entry is marked read when you open it. You are also emailed a notification, and the customer can receive an auto-reply.

Do I need a Meta or Facebook account for the WhatsApp notifications?

No. CallMeBot works with just your phone number and a free API key, and needs no Meta account. If you already run a WhatsApp Business setup, you can use the official WhatsApp Cloud API instead. Both are optional, and neither is contacted unless you enable and configure it.

Do I need a separate SMTP plugin for the enquiry emails?

No. The plugin includes an optional SMTP mailer with host, port, encryption and authentication settings, plus a test sender that reports the exact reason a message failed. It is off by default, and when off the plugin uses your site's normal mail configuration.

Can I put the contact button somewhere other than the product page?

Yes. Use the [wcsp_contact_button] shortcode anywhere — it accepts product_id, label, style and action attributes.

Do admins see prices even when "hide everyone" is enabled?

Yes. Users with the administrator or manage_woocommerce capability always see prices and the Add to Cart button, regardless of any rule.

How are guests treated?

Guests (non-logged-in visitors) are treated as the guest role. You can target them specifically in the hide/show role selectors.

What is the rule priority?

  1. Per-product: Force Show → always visible
  2. Per-product: Force Hide → always hidden
  3. Global whitelist match → visible
  4. Global hide rule match → hidden
  5. Default → visible

Can I hide the price on some products and show it on others?

Yes. Use the per-product "Smart Pricing" tab in the product editor to override global settings on a product-by-product basis.

Does this work with variable products?

Yes. The plugin hooks into both woocommerce_get_price_html and woocommerce_variable_price_html.

Is this compatible with HPOS?

Yes. The plugin declares full compatibility with WooCommerce High-Performance Order Storage (HPOS) and Cart & Checkout Blocks.

更新日志:

1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.0