2017 © Pedro Peláez
 

magento2-module magento2-b2b-disable-add-to-cart-button-for-guest

This extension allows you to disable Add to cart button for guest. Useful feature for B2B store.

image

sbodak/magento2-b2b-disable-add-to-cart-button-for-guest

This extension allows you to disable Add to cart button for guest. Useful feature for B2B store.

  • Wednesday, January 24, 2018
  • by sbodak
  • Repository
  • 3 Watchers
  • 6 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 25 % Grown

The README.md

Magento 2 - Disable add to cart button for guest

Overview

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)

Compatibility

  • Magento 2.1, 2.2, 2.3

Installation details

  1. Run composer require sbodak/magento2-b2b-disable-add-to-cart-button-for-guest
  2. Run php bin/magento module:enable Bodak_DisableAddToCart
  3. Run php bin/magento setup:upgrade
  4. Run php bin/magento cache:clean

Configuration details

  1. Go to Magento admin interface
  2. Find option in Stores > Configuration > Catalog > Catalog
  3. Under the Storfront tab you will find the Disable Add to cart button for Guests option
  4. Enable this option to activate the plugin

Module configuration - administration panel

Module configuration - administration panel, (*2)

Removed Add to cart button in catalog - frontend view

Remove registration form, (*3)

Removed Add to cart button in product cart - frontend view

Remove registration form, (*4)

Uninstall

  1. Run composer remove sbodak/magento2-b2b-disable-add-to-cart-button-for-guest

License

MIT License, (*5)

The Versions

24/01 2018

dev-master

9999999-dev

This extension allows you to disable Add to cart button for guest. Useful feature for B2B store.

  Sources   Download

MIT

The Requires

  • php ~7.0.0

 

by Slawomir Bodak

magento2 b2b disable add to cart button

13/11 2017

1.0.0

1.0.0.0

This extension allows you to disable Add to cart button for guest. Useful feature for B2B store.

  Sources   Download

MIT

The Requires

  • php ~7.0.0

 

by Slawomir Bodak

magento2 b2b disable add to cart button