The Magento 2 Call for Price extension by Meetanshi offers a flexible solution for merchants to manage product pricing visibility. This extension is ideal for businesses dealing with fluctuating prices, exclusive products or wholesale pricing. It allows store owners to replace the “Add to Cart” button with a “Call for Price” option, encouraging customers to inquire about prices directly, fostering personalized interaction and negotiation.
The Magento 2 Call for Price extension hides the product price and replaces it with a customizable “Call for Price” button. Customers can click the button to contact the store owner via an inquiry form, enabling a direct communication channel to discuss pricing or product details.
- Enable the "Call for Price" feature for specific customer groups.
- Choose between a button or a label to display the "Call for Price" option.
- Automatically send a reply email to customers after they submit a quote inquiry.
This feature allows you to hide product prices with precision by enabling the “Call for Price” option for specific products, categories, customer groups or store views, providing flexibility and targeted usage.
The integrated inquiry form streamlines customer interactions by allowing them to easily submit their details, such as name, email and phone number, while automatically notifying the admin of each inquiry.
Designed for global businesses, the extension supports multiple stores and languages, allowing you to customize the “Call for Price” button for each store view and translate inquiry forms to enhance the customer experience.
The extension offers comprehensive backend settings, enabling you to manage and customize features effectively, view and handle customer inquiries directly from the admin panel and export inquiry details for record-keeping or analysis.
To install the Magento 2 Call for Price extension:
Extract the ZIP folder and upload the extension to the root directory of your Magento 2 installation using FTP.
- php bin/magento setup:upgrade
- For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
- For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
- php bin/magento cache:flush
Note: Ensure you install the Twilio library, even if you are not using the Twilio SMS gateway with our extension.
To send "Call for Price" SMS notifications, register with either Msg91 or Twilio to configure the SMS gateway and obtain the necessary credentials.
To configure the extension, log in to Magento 2 and navigate to Stores > Configuration > Meetanshi > Call for Price, where you can adjust various settings to enable the extension.
- Call for Price: Enable or disable the Call for Price extension.
- Notification Type: Choose the type of notification to send:
- Email: Sends email notifications to both admin and customers.
- SMS: Sends SMS/WhatsApp notifications to both admin and customers.
- Call for Price Scope: Select the scope to apply the extension:
- Global: Enables Call for Price on all products across the store.
- Category Specific: Enables Call for Price for selected categories.
- Product Specific: Enables Call for Price for selected products.
- Select Categories: Choose the categories to enable Call for Price when Category Specific scope is selected.
- Enable Call for Price As: Select between a button or a label to display as Call for Price on the frontend.
- Button: Displays a button that opens a form to submit inquiries.
- Label: Displays a text label in place of the "Add to Cart" button.
- Button Text: Customize the text for the Call for Price button if using the button option.
- Label Text: Customize the text for the Call for Price label if using the label option.
- Label Text Color: Set the color for the label text on the frontend.
- Enable Call for Price for Selected Group: Choose "Yes" to enable Call for Price for specific customer groups.
- Select Customer Groups: Select the customer groups for which Call for Price will be enabled.
- Call for Price Form Title: Set a custom title for the Call for Price inquiry form.
The extension allows you to send "Call for Price" email notifications to both the admin and customers. If you have selected "Email" as the Notification Type, configure the following settings to ensure the admin receives email notifications when a new "Call for Price" inquiry is submitted:
- Admin Email ID: Enter the admin email address to receive new inquiry notifications.
- Email Sender: Choose the email sender for the notifications.
- Email Template: Select the email template to be used for the notifications.
In addition to admin notifications, you can send an auto-reply email to customers after they submit a "Call for Price" inquiry. If you have selected "Email" as the notification type, configure the following settings to enable auto-reply notifications:
- Auto Reply Email to Customer: Enable this option to send an auto-reply email to customers.
- Email Sender: Choose the email sender for the auto-reply email.
- Email Template: Select the email template to use for the auto-reply notification.
The extension allows you to send "Call for Price" SMS notifications to both the admin and customers. If you have selected "SMS" as the notification type, configure the following settings to ensure the admin receives SMS alerts when a new inquiry is submitted:
- Message Format: Enter the SMS text format for the notification that will be sent to the admin upon a new "Call for Price" inquiry submission.
- Admin Mobile Number: Enter the admin's mobile number to receive the SMS notification for new inquiries.
In addition to admin notifications, you can send auto-reply SMS notifications to customers after they submit a "Call for Price" inquiry. If you have selected "SMS" as the notification type, configure the following settings to enable auto-reply SMS notifications:
- Auto Reply SMS to Customer: Enable this option to send an auto-reply SMS to customers.
- Message Format: Enter the SMS text format for the notification that will be sent to customers after their "Call for Price" inquiry submission.
Enable the privacy checkbox in the "Call for Price" form to ensure compliance with the EU’s GDPR. Configure the following settings:
- Privacy Checkbox: Enable this option to display the privacy checkbox in the "Call for Price" form.
- Privacy Notice Text: Enter the text for your privacy policy.
- Privacy Policy Redirection Page: Select the page to which users will be redirected when they click the privacy policy text.
The "Call for Price" extension allows you to enable Google reCAPTCHA v3 in the popup form to prevent spammy inquiries. Configure the following settings to activate it:
- Google reCAPTCHA: Enable this option to add Google reCAPTCHA to the "Call for Price" form.
- Site Key: Enter the site key obtained during Google reCAPTCHA v3 registration.
- Secret Key: Enter the secret key obtained during Google reCAPTCHA v3 registration.
If you have selected "SMS" as the notification type, configure the SMS gateway API to send SMS notifications to both the admin and users for "Call for Price" inquiries.
Configure API Provider: Choose your preferred SMS gateway API provider to send SMS notifications:
- Msg91
- Textlocal
- Twilio
- Twilio WhatsApp
- Other
- Sender ID: Enter the sender ID provided by your SMS gateway during registration.
- Message Type: Select the type of message to be sent for the "Call for Price" SMS notification.
- API URL: Enter the API URL provided by your SMS gateway during registration.
- Authorization Key: Enter the API key provided by your SMS gateway during registration.
For Other SMS APIs: If you are using a custom SMS API other than Msg91, Twilio, or Textlocal, you will need to add your CURL URL as follows:
-
Sample CURL URL:
https://foxxsms.com/sms/submitsms.jsp?user=METANSHI\&senderid=FOXGLV\&accusage=6\&key=587e05afbcXX\&mobile={mobile}\&message={msg}
You can enable the "Call for Price" functionality for specific products. If you have selected Product Specific under Call for Price Scope, follow these steps:
- Go to Catalog > Products, select the product you want to edit.
- In the Call for Price tab, enable the "Call for Price" option.
- If you chose to display the "Call for Price" as a button, enter the custom button text. If you opted for a label, enter the label text instead.
- Save the configuration to apply the "Call for Price" option to that product.
Repeat this process for any other products you want to enable the "Call for Price" option for.
After configuring the settings, the "Call for Price" button is displayed on the store's frontend.
- Call for Price on the Category Page
The extension allows customers to inquire about prices directly from the category page. If the button type is selected in the configuration, the "Call for Price" button will appear on the category page. Customers can click the button to open the inquiry form and submit their details.
- Call for Price on the Product Page
If "Call for Price" is set as a label, the custom label text will appear on both the category and product pages, allowing users to view the pricing inquiry option. Alternatively, if it is set as a button, users can click it to access the "Call for Price" inquiry form and submit their details.
- Call for Price Form
For the "Call for Price" button type, users can easily submit price inquiries from the category or product pages. When clicked, a custom-titled inquiry form opens, prompting users to enter their personal details, provide a quote request message, agree to the privacy policy, and submit their inquiry.
If Google reCAPTCHA v3 is enabled by the admin, a badge appears on the page to help prevent spam submissions, ensuring secure and legitimate inquiries.
- Call for Price Inquiries
When users submit a quote request through the "Call for Price" inquiry form on the frontend, all inquiry details are stored in a dedicated grid titled "Call for Price Inquiries". From this grid, the admin can view and manage all inquiries efficiently.
The admin has the option to select multiple inquiries and delete them using the "Delete" mass action. Additionally, the inquiries can be exported in CSV or XML format for further processing or record-keeping.
- Call for Price Email Notifications
- Admin Email Notification for Contact Inquiries
When the "Notification Type" is set to "Email", the admin receives an email notification each time a user submits an inquiry through the "Call for Price" form. This ensures the admin is promptly informed of new contact inquiries.
- Auto-Reply Email to Users
When the "Notification Type" is set to "Email", users receive an acknowledgment email confirming the successful submission of their "Call for Price" inquiry.
- Admin SMS Notification for Contact Inquiries
When the "Notification Type" is set to "SMS", the admin receives an SMS notification each time a user submits an inquiry through the "Call for Price" form, ensuring prompt updates on new inquiries.
- Auto-Reply SMS Notification to Users
When the "Notification Type" is set to "SMS", users receive an acknowledgment SMS confirming the successful submission of their "Call for Price" inquiry.
- Admin WhatsApp Notification for Contact Inquiries
If you choose to send "Call for Price" notifications via WhatsApp, the admin receives a WhatsApp message each time a user submits an inquiry through the "Call for Price" form, ensuring timely updates on new submissions.
- Auto-Reply WhatsApp Notification to Users
When "Call for Price" notifications are set to be sent via WhatsApp, users receive an acknowledgment message on WhatsApp confirming the successful submission of their inquiry.