CE Call for Price and Disable Cart for WooCommerce: Flexible Inquiry & Quote Management for Online Stores
In the dynamic world of e-commerce, not every product can—or should—be purchased with a simple “Add to Cart” click. High-ticket machinery, custom-built goods, wholesale items, and bespoke services often require direct consultation, personalized negotiations, or dynamic market quotes before a transaction can take place.
That’s why we created CE Call for Price and Disable Cart for WooCommerce.
While the original version focused strictly on hiding prices for empty or zero-priced items, Version 3.0 transforms this plugin into a full-featured, hybrid inquiry management solution for modern WooCommerce stores.
What Does the Plugin Do?
CE Call for Price and Disable Cart for WooCommerce automatically replaces standard product prices with a customizable “Call for Price” message (or an actionable button) and safely disables the “Add to Cart” button.
Whether you have a catalog-only section, variable market pricing, or custom-manufactured goods, this plugin ensures your customers are directed to speak with your sales team rather than encountering checkout confusion.
What’s New in Version 3.0?
Version 3.0 introduces a major architectural upgrade, giving store owners complete control over when and how the “Call for Price” behavior is applied:
1. Dual Trigger Modes (Hybrid Flexibility)
- Automatic Zero/Empty Price Rule: Keeps the beloved zero-config behavior. Any product with an empty price or price set to
0automatically switches to “Call for Price” and disables purchasing. - Category-Based Rules: Want an entire department (e.g., “Custom Machinery” or “Wholesale Direct”) to require quotation? Simply select those categories in the settings—all products in those categories will trigger “Call for Price”, even if a regular price is configured!
2. Actionable Buttons & Direct Inquiry Links
Why stop at plain text? You can now turn the “Call for Price” label into a clickable button:
- Direct WhatsApp Inquiries: Link directly to your team via WhatsApp (
https://wa.me/YOURPHONENUMBER). - Direct Phone Calls: Trigger mobile dialers instantly with phone links (
tel:+1234567890). - Custom Quote Forms: Route customers straight to your contact page or custom RFP form.
- New Tab Option: Choose whether the inquiry link opens in a new browser tab or stays in the same window.
3. Customizable Display Labels
Replace “Call for Price” with custom messaging that fits your brand:
- “Inquire for Quote”
- “Contact Sales”
- “Chat on WhatsApp”
- “Price on Request”
4. Dedicated Settings Screen for Store Managers
No need for complex code snippets or theme overrides. Manage all settings under Products > Call for Price in your WordPress admin. Best of all, permissions are configured for Store Managers (manage_woocommerce), allowing your eCommerce staff to manage rules without requiring Site Administrator privileges.
5. Smart Variable Product & Variation Handling
Variable products often cause headaches with simple scripts. Version 3.0 intelligently maps product variations to their parent product categories using optimized WordPress core functions (has_term()), guaranteeing that variations follow the correct category rules without performance degradation.
6. Modern WooCommerce & Standards Compliant
- Fully declared compatible with WooCommerce High-Performance Order Storage (HPOS) and Cart/Checkout Blocks.
- Lightweight and fast with zero database bloat.
- Full translation readiness (i18n).
- Clean uninstallation via
uninstall.phpensuring no orphan options are left behind.
Real-World Use Cases
- B2B & Wholesale Portals: Display product specs while requiring buyers to contact sales for tiered volume pricing.
- Custom & Made-to-Order Crafts: Showcase portfolio pieces that require client measurements or design specs before quoting.
- Commodities & Precious Goods: Manage items with fluctuating daily prices (jewelry, raw materials, electronics) without constantly updating product price tags.
- Digital Services & Consultations: Present packaged service tiers that mandate an initial consultation call.
How to Get Started
Setting up the plugin takes less than two minutes:
- Install & Activate: Upload the plugin folder
ce-call-for-price-disable-cart-for-woocommercevia Plugins > Add New or search for it directly once available on the WordPress Plugin Directory. - Configure Settings: Go to Products > Call for Price in your WordPress dashboard.
- Choose Your Rules:
- Keep the Empty / Zero Price Rule enabled for automatic detection.
- Select any product categories you want to apply “Call for Price” to across the board.
- Enter your custom label and optional Button / Link URL (e.g., your WhatsApp or contact page link).
- Save Changes: That’s it! Your selected products now seamlessly direct buyers to get in touch.
Developer-Friendly & Extensible
For developers looking to integrate custom CRM links or dynamic phone numbers based on product attributes, the plugin exposes clean filter hooks:
// Customize the label text programmatically
add_filter( 'ce_call_for_price_label', function( $label, $product ) {
return 'Request VIP Pricing';
}, 10, 2 );
// Dynamically route URL per product (e.g., WhatsApp prefilled with product title)
add_filter( 'ce_call_for_price_url', function( $url, $product ) {
return 'https://wa.me/1234567890?text=' . rawurlencode( 'Hi, I would like a quote for ' . $product->get_name() );
}, 10, 2 );
// Customize final generated HTML
add_filter( 'ce_call_for_price_html', function( $html, $product, $label, $url ) {
// Custom button wrapping or styling
return $html;
}, 10, 4 );
Summary
With Version 3.0, CE Call for Price and Disable Cart for WooCommerce bridges the gap between catalog browsing and personalized customer inquiry. It provides store owners with the exact flexibility required to handle quotation-based e-commerce cleanly and professionally.
Stay tuned for more updates, and feel free to reach out with any questions or feature suggestions!
Wrapping Up
“WooCommerce Call for Price and Disable Add to Cart Button” is a must-have for any WooCommerce store that deals with variable pricing or requires direct customer communication for certain products. By enhancing the user experience and providing clear communication, this plugin is an invaluable tool for your e-commerce arsenal.
Stay tuned for more updates and feel free to reach out with any questions or feedback!
No Comments