faonni / module-product-available
Extension allows the store owner to hide the product price and add to cart button from guests or certain customer groups.
Installs: 17 364
Dependents: 0
Suggesters: 0
Security: 0
Stars: 36
Watchers: 7
Forks: 10
Open Issues: 4
Type:magento2-module
Requires
- magento/framework: 103.0.*
- magento/module-config: 101.2.*
- magento/module-customer: 103.0.*
- magento/module-sales: 103.0.*
README
Extension allows the store owner to hide the product price and add to cart button from guests or certain customer groups. This is very necessary for B2B websites where the customer can see the price of the product and add it to the shopping cart after logging on to the site.
Compatibility
Magento CE(EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x
Install
Install via Composer (recommend)
-
Go to Magento2 root folder
-
Enter following commands to install module:
For Magento CE(EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x
composer require faonni/module-product-available:2.0.*
For Magento CE(EE) 2.4.x
composer require faonni/module-product-available:2.4.*
Wait while dependencies are updated.
Manual Installation
-
Create a folder {Magento root}/app/code/Faonni/ProductAvailable
-
Download the corresponding latest version
-
Copy the unzip content to the folder ({Magento root}/app/code/Faonni/ProductAvailable)
Completion of installation
-
Go to Magento2 root folder
-
Enter following commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)
Configuration
In the Magento Admin Panel go to Stores > Configuration > Catalog > Product Available.
Catalog
Hidden only add to cart button
Uninstall
This works only with modules defined as Composer packages.
Remove database data
-
Go to Magento2 root folder
-
Enter following commands to remove database data:
php bin/magento module:uninstall -r Faonni_ProductAvailable
Remove Extension
-
Go to Magento2 root folder
-
Enter following commands to remove:
composer remove faonni/module-product-available
Completion of uninstall
-
Go to Magento2 root folder
-
Enter following commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)