Call For Price
Overview
The extension allows users to hide add to cart button or show custom text instead of price. At the admin product edit page, will be added a Call For Price section where you can configure the module. The configuration is per product and consists of: show/hide add to cart button, enable/disable custom text instead of price and list of customer group where this configuration applied for.
By using the module you can hide add to cart button for specific customer groups page or specify what text will be shown instead of the price at the category page and product detail. This module would allow revealing product prices to a customer when its added to the cart. This feature would allow us to avoid price to be shown only for the targeted audience. The module is open source and can in case it is required.
For Configurable and bundle products the extension not show price only if it enabled for bundle/configurable product itself.
Features
- Ability to hide add to cart button for specific customer groups
- Ability to show custom text instead of price for specific customer groups
- The custom message instead of price can be specified for each product
- Support for Simple, Bundle, Configurable and Grouped product types
- Easy to install and configure
Magento Compatibility | 2.3.x, 2.4.x |
---|---|
License | GNU General Public License v3.0 (GPL-3.0) |
Composer Package | thesgroup/module-callforprice |
Automatically Add The Repository
Through an SSH connection, all you have to do is run the following command from your Magento installation directory
composer config repositories.www.sashas.org composer https://www.sashas.org
Manually Add The Repository
The typical Magento 2 installation has repositories section of composer.json like this:
{
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
}
]
}
You will need to add a repository by appending an object to the repositories object
{
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
},
"www.sashas.org": {
"type": "composer",
"url": "https://www.sashas.org"
}
},
}
How To Install The Module
Once the repository is added to the composer.json file, you can now install the packages that are available through it.
For example, let’s say you want to install the thesgroup/module-callforprice module through composer. Run the command below to install it:
composer require thesgroup/module-callforprice