Magento 2 Restrict Product by Customer Group | Userguide

Magento 2 Restrict Product by Customer Group | Userguide, updated 7/5/24, 11:56 AM

Enhance your Magento 2 store's flexibility with the MageAnts Magento 2 Restrict Product by Customer Group Extension. This powerful tool allows you to control product visibility based on customer groups, ensuring a personalized shopping experience and better-targeted promotions.

Key Features:

Customer Group Segmentation: Restrict product access to specific customer groups, such as wholesale, retail, or VIP customers.

Customized Catalogs: Create tailored product catalogs for different customer segments, enhancing relevance and engagement.

Easy Configuration: Simple setup and management through the Magento 2 admin panel.

Enhanced User Experience: Provide a personalized shopping journey by displaying only relevant products to each customer group.

Boost Sales and Loyalty: Improve customer satisfaction and loyalty by offering exclusive products to specific groups.

Optimize your Magento 2 store's product visibility and enhance customer engagement with the MageAnts Restrict Product by Customer Group Extension. Tailor your offerings and ensure a personalized shopping experience for each segment of your audience.

About MageAntsStore

MageAnts is your trusted partner of Magento Custom DevelopmentHyvä theme development solutions provider. Put your trust in us to create an online presence for you. Let us bring you into the digital age to embark on an incredible journey. Enhance your Magento store with our Magento 2 extensions & extend store functionality.

Tag Cloud




Restrict product by customer group – Magento 2
USER MANUAL
Supported Version: 2.0, 2.1, 2.2, 2.3
www.mageants.com support@mageants.com 1
Table Of Contents
Preface ......................................……………………………………......3
Installation...................................………………………………………..4
Option 1: Magento 2 install extension using COMMAND LINE .........…………..…..4
Option 2: Magento 2 install extension manually ………………………………….......5
Backend Example ………………………………………………………...……...6

Extension configuration………………………………………………………...6
Frontend Example………………………………………………………………….12
www.mageants.com support@mageants.com 2
Preface
- This Restrict Products by Customer Groups extension gives you the ability to
control access to selected customer groups and also allows you to selectively
restrict your products, categories, pages and block from customer groups. You can
Create multiple rules to optimize your store visibility for different customer groups.
Redirect blocked users to another page.
www.mageants.com support@mageants.com 3
Installation:
There are two ways of installing extension in magento2.
1) Using COMMAND LINE.
2) Manually install extension.
Option 1: Magento 2 install extension using COMMAND LINE (Recommended).
Follow below steps to install extension from the command line.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory.
If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management.
Step 4: Enter the following at the command line:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Step 5: Once you complete above steps log out and log in back to the admin
panel and switch to Stores → Configuration → Mageants → Restrict
product by customer group. The module will be displayed in the admin
panel.
www.mageants.com support@mageants.com 4
Option 2: Magento 2 install extension manually.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory.
If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management Edit
app/etc/config.php file and add one line code: ‘Mageants_Restrict product
by customer group’ → 1
Step 4: Disable the cache under System → Cache Management
Step 5: Once you complete above steps log out and log in back to the
admin panel and switch to Stores → Configuration → Mageants →
Restrict product by customer group, the module will be displayed in the
admin panel.
www.mageants.com support@mageants.com 5
Backend configuration

After Installation of Extension login to magento admin panel for set
configuration of the extension.
Extension configuration
You can find configuration at Stores → Configuration → Mageants →
RestrictProductsByCustomerGroup.
as per below screen shot you can set all the settings here.


www.mageants.com support@mageants.com 6
RPCG -> Manage Rules



www.mageants.com support@mageants.com 7
www.mageants.com support@mageants.com 8

www.mageants.com support@mageants.com 9

www.mageants.com support@mageants.com 10
www.mageants.com support@mageants.com 11
Frontend example


www.mageants.com support@mageants.com 12
Thank you!
if you have any questions or feature suggestions, please contact us at:
https://www.mageants.com/contact-us
Your feedback is absolutely welcome!
www.mageants.com support@mageants.com 13