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

2.4.2 2023-06-07 18:50 UTC

This package is auto-updated.

Last update: 2024-10-07 21:46:13 UTC


README

Total Downloads Latest Stable Version

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)

  1. Go to Magento2 root folder

  2. 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

  1. Create a folder {Magento root}/app/code/Faonni/ProductAvailable

  2. Download the corresponding latest version

  3. Copy the unzip content to the folder ({Magento root}/app/code/Faonni/ProductAvailable)

Completion of installation

  1. Go to Magento2 root folder

  2. 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.

Magento2 Product Available

Catalog

Hidden only add to cart button

Magento2 Product Available

Uninstall

This works only with modules defined as Composer packages.

Remove database data

  1. Go to Magento2 root folder

  2. Enter following commands to remove database data:

    php bin/magento module:uninstall -r Faonni_ProductAvailable
    

Remove Extension

  1. Go to Magento2 root folder

  2. Enter following commands to remove:

    composer remove faonni/module-product-available

Completion of uninstall

  1. Go to Magento2 root folder

  2. Enter following commands:

    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy  (optional)