24/01
2018
This extension allows you to disable Add to cart button for guest. Useful feature for B2B store.
This module enable possibility to disable Add to cart button from product and category page for not logged in customers. It can be useful for B2B customers, if we don't want to allow guest to add product to cart., (*1)
composer require sbodak/magento2-b2b-disable-add-to-cart-button-for-guest
php bin/magento module:enable Bodak_DisableAddToCart
php bin/magento setup:upgrade
php bin/magento cache:clean
Stores > Configuration > Catalog > Catalog
Storfront
tab you will find the Disable Add to cart button for Guests
option Enable
this option to activate the plugin, (*2)
, (*3)
, (*4)
composer remove sbodak/magento2-b2b-disable-add-to-cart-button-for-guest
MIT License, (*5)