Product by Customer Group - Magento 2

100% of 100

This extension provides the ability to restrict or display specific catalog products to different customer groups like wholesalers, retailers etc.

Composer Packed

Magento Community (Open Source) 2.1.x, 2.2.x, 2.3.x, 2.4.x
Magento Enterprise (Commerce) 2.1.x, 2.2.x, 2.3.x, 2.4.x

90 Days Free Support
30 Days Money-Back Guarantee
Free Installation
Write Your Own Review

Products by customer group extension allow you to restrict specific catalog products from the selective customers. These selective customers can be a set of different customer groups like not logged-in, general, retailers or wholesalers. Most of the online merchants are dealing with different set of customer groups and they require to display different catalog products to their customers. This extension will be helpful for such merchants and help them to differentiate the catalog. The configuration of the extension is also easy and allows to configure products in bulk.

Why Product by Customer Group?

  1. Sale execution for specific customer groups.
  2. Better control over the store catalog.
  3. Flexibility to develop customer wise business strategy.
  4. 100% open source code.


  1. Ability to restrict the products to specific customer groups.
  2. Ability to restrict the products in bulk through update mass action of CSV import.
  3. Compatible with custom created customer groups.
  4. Compatible with all product types like simple, configurable, bundle, grouped, downloadable, virtual.
  5. Fully compatible with Magento's Full Page Cache and Varnish Cache.
  6. Compatible with multiple stores and websites.
  7. Compatible with new product widget, related products, upsell products and cross-sell products.

Options to restrict product by Customer Group

  1. Backup your web directory and store database.
  2. Download the extension package and unzip it.
  3. Upload the content of the extension package to the root directory of the store.
  4. In SSH console of your server navigate to your store root directory:
    cd path_to_the_store_root_directory


    php -f bin/magento module:enable EH_Core php -f bin/magento module:enable EH_HideProductsByCustomerGroup

    then run:

    php -f bin/magento setup:upgrade --keep-generated

    then run:

    php -f bin/magento cache:clean

    then run:

    php -f bin/magento indexer:reindex
Version 1.1.1 - November 20, 2020
- [Added] compatibility with Magento 2.4.1.
Version 1.1.0 - November 19, 2020
- [Added] compatibility with ElasticSearch 6 and ElasticSearch 7
- [Added] compatibility with Magento 2.4.x
Version 1.0.3 - July 28, 2020
- [Fixed] an issue where flat catalog is enabled.
Version 1.0.2 - December 07, 2019
- [Fixed] an issue where the products which supposed to be hidden from all places but were visible in the search results.
- [Improved] Performance and stability improvement.
Version 1.0.1 - December 20, 2018
- [Fixed] Compatibility adjustments for Magento v2.2.7 and v2.3.0.
- [Fixed] PHP v7.2 compatibility.
- Performance and stability improvements.
Version 1.0.0 - September 27, 2018
- Initial release.
- Ability to restrict or display specific catalog products to different customer groups like wholesalers, retailers etc.