Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [customer-group]

Denotes question related to customer group

Filter by
Sorted by
Tagged with
2 votes
1 answer
3k views

How to get and set custom field of customer_group table Magento 2

I create new extention and add some columns in customer_group table. but i can't get/set custom field. namespace [NameSpace]\[Extension]\Block\Adminhtml\Group\Edit; use Magento\Customer\Controller\...
0 votes
1 answer
2k views

Magento2 How to show wholesale price for product, if customer is logged in as wholesale customer group?

I have the setup of Magento2 Store. We are using tier pricing for customer groups. So if the customer is associated with the (wholesale group) and logged in, the customer must see the only wholesale ...
4 votes
2 answers
2k views

Disable Order Confirmation Email for particular customer group

Is there a way to disable a Magento Order Confirmation Email for a particular customer group ? I won't mind someone giving me a guide on how to create a custom module for this function. Thanks
0 votes
2 answers
1k views

Magento 2.2.5, Is possible to restrict place order based on the customer group?

In Magento 2.2.5, I need to restrict place order for some customers who assigned to certain group. Is any possibility to restrict place order based on the customer group?
0 votes
1 answer
2k views

Magento2 Restrict Store view to a customer group

I need to restrict 1 storeview to a customer group and require login. Any suggestions?
0 votes
2 answers
2k views

Get tiered price by customer group id

I'm writing a maintenance script to tidy up unused customer group tiered prices. How can I programatically get either: All products that have a tiered price for the selected customer group and then ...
0 votes
1 answer
171 views

Magento Commerce Cloud 2.3 Maximum Number of Customer Groups?

we are on a Magento Commerce Cloud Pro plan. For customer pricing in our B2B store, I was wondering if there is any suggestion on how many customer groups I can create without facing issues (...
0 votes
1 answer
381 views

Magento 2: How to add custom attributes to Customer group?

I want to add a custom attribute(image upload) here on customer groups. I have searched a lot. can anyone help me about that?
0 votes
0 answers
31 views

Write Magento2 Custom Module to set Minimum Order Amount for Selected Customer Groups

I developed a Magento 2 module to add customer groups dropdown in admin panel Store-> Configuration -> Sales -> Minimum Order Amount so I can set min order amount only for some customer ...
0 votes
1 answer
189 views

Display customer group ID on page with all caches enabled

What's the best way to display the current customer's group id on the page when all caches are enabled including full-page cache. I did think of potentially using JS and KO but it didn't look like the ...
1 vote
1 answer
369 views

Magento 2 : How to get Shipping Methods for Specific Customer Group

How can I get list of shipping methods for the different customer group.
1 vote
2 answers
1k views

Magento 2 Admin All Customers list view pre-filtering

Probelm: I need to filter the customers Array in "Admin Panel -> Customers -> All Customers" BEFORE the list is rendered, by an private attribute. The attribute is already exist. I have 3 ...
0 votes
0 answers
37 views

How to apply cart price rules for new customers in a customer group immediately after they are added?

When a customer is added to customer group, the customer group's cart price rules for new customer are only applied after the customer has completed their first order. How can I override this ...
0 votes
1 answer
246 views

Multi Store can't show different "Display Out of Stock Products" options on frontends - 2.4.6

My issue is that I can't get my different frontends to show different "Display out of Stock Products" options. Does anyone have any tips on which stock Magento module I need to look into to ...
2 votes
2 answers
2k views

Display Customer Groups Dropdown in admin system configurations in custom module of Magento 2

I want to provide customer group based configuration in my custom group. So need to add customer group multiselect dropdown in system configuration at admin in Magento 2.x
0 votes
1 answer
209 views

Magento 2 payment method based on customer group

How to do Magento 2 payment method based on customer group in frontend checkout page . Iam checking condition for Remaining Amount But i want customer group also , if Customer group=4 then only ...
0 votes
0 answers
219 views

Magento 2 Hide category from customer group

I would like to start a query in the store and then say: If you belong to customer group 2 the category is displayed. If you do not belong to any group or belong to another group, the category is not ...
0 votes
1 answer
251 views

I can't find any product as a customer from a new customer group created in magento 2.4 CE any idea why?

My site is running on magento 2.4 CE with elastic search. I've been adding products and checking various features of magento. trying to create a group of customers whom i can give discounts on ...
0 votes
2 answers
1k views

Magento2: How to add custom attributes into CustomerGroups

I've already added some custom attributes into order and customer, now, I'm trying to do the same with CustomerGroups and it's not working. I'm failling on the first step, the setup script: class ...
2 votes
1 answer
280 views

Update Customer details automatically when custom module data updated

I have a custom table which holds membership numbers and there corresponding membership type. For example number: 10001, membership_type: Gold. I have an observer which checks a customers input and ...
22 votes
8 answers
38k views

How to get current customer group id in magento2

I want to get current customer group id in phtml file. When I am not logged in still it is return general type customer group. How can get proper output?
1 vote
0 answers
32 views

Magento 1 - Add Tier Price Column in Catalog > Manage Products Grid

I want to add a now column in Catalog > Manage Products Grid with a specific Tier Price for a customer group. Is there any chance i can add that? Thank you!
0 votes
1 answer
325 views

Customise Registration Form To Set Specific Customer Group

We currently have a registration form but we want to change one of the checkboxes to give it additional functionality so that it changes the group the customer will be put into when they register from ...
2 votes
2 answers
1k views

How can we add custom grid at customer group edit form inside a fieldset?

How Can we add custome grid with custome collection on customer group edit form in fieldset.
1 vote
0 answers
181 views

Magento 2.4.3: Product Customer Group Price not showing in PWA Venia theme

I am Working on Venia PWA theme with Magento 2.4.3. I tried to login from FrontEnd in Venia theme to check Customer Group prices for Product but its not Working. Where Magento Frontend is showing ...
0 votes
1 answer
36 views

Is it possible to have different Qty Increments for different Customer Groups?

I would like to have different Qty Increments for different customer groups. For example retail customers can purchase individual units, but wholesale customers can only purchase in multiples of 6.
0 votes
1 answer
318 views

Can we define User roles to view specific customer groups?

I want to restrict the User Roles with respect to Customer Grouping For instance, User A when Logging in to the back end is only able to view retail customer groups, Whereas User B can access data for ...
3 votes
1 answer
248 views

How to assign a group to a user based on their email domain in Magento 2.3

I want during the registration process to assign a different group to users that have a specific domain e-mail: So a user with: [email protected] [email protected] …@domain.com will be assigned to a ...
0 votes
1 answer
216 views

Display prices on frontend even if base is zero

I am using my store as B2B. I have prices per customer according to their customer group pricing. My problem is that i dont have in all retail prices to add in base price. So base price is zero in ...
0 votes
1 answer
164 views

create module garage in customer like addresses

I need to create a module garage in customer like addresses where I can add new garage. Could you give me some ideas? thanks For the moment, this is what I have this is my code bellow PMC/Garagetab/...
8 votes
6 answers
10k views

Magento 2: Create customer group programatically

I'd like to know if it's possible (if so, how) to programmatically create a new customer group using the Magento 2 framework. Ideally I'd like to do this in a setup class. Looking at the ...
0 votes
1 answer
820 views

How to delete cookies on auto logout?

we use have some configurations to some user groups (different prices, only some categories etc) and it's all good if the customer logout and login as a different group account, but when it auto logs ...
10 votes
1 answer
3k views

Magento2 : How to hide a Product from a specific Customer Group?

I want to create an extension that will hide a product from a specific customer group.
4 votes
4 answers
5k views

Magento 2 get specific customer group customers list

I have created a custom module and want to get specific customer group users to list in the dropdown. For this I have gone through the admin > Stores > Other Settings > Customer Groups and I have ...
1 vote
1 answer
94 views

List of customers in customer groups

I have around 80 different customer groups, with different prices on. How can I find out how many customers are in any given group? Can I make a list of all customers included in customer group? I ...
0 votes
1 answer
761 views

How to get customer group id by giving customer group name in magento 2

I need some functionality based on the response given by ERP. I need to get the customer group id by using the customer group code? How do I get customer group id by group name ?
0 votes
2 answers
1k views

Magento 2: Change hompage on login

I am looking a way how can I change homepage route on specific customer group user login. So basically problem that specific customer groups when logged in must see a different home page. How can this ...
0 votes
2 answers
1k views

Magento2 Get Customer Group ID in topmenu.phtml

I am needing to show a totally different navigation bar links if a customer is logged in as a wholesaler customer group. I am using Magento2.3 and a child theme of Luma. What I did was edit the ...
0 votes
1 answer
564 views

Magento 2.3 - Disable Payment Method for Certain Customer Groups by using Observer

Source : https://www.magedelight.com/resources/how-to-disable-payment-method-for-certain-customer-groups-in-magento-2/ Stright opposite i just enable certain customer group, app/code/Gta/...
1 vote
3 answers
3k views

Magento 2 plugin for sending email when change customer's group

I created a Plugin for sending emails when the owner of the shop changes the customer's group in backend. I still need to add the group (discount) in the email. The problem is that when I access to a ...
0 votes
2 answers
240 views

Help make a condition involving an array

I have data from the server: $this->getConfigData('groups') = "1,5,9,10" I need to make a condition, if one of these id matches the id from the custom group of the current user, then ...
0 votes
1 answer
119 views

How to add a filter for a new shipping method by customer group?

I want to add a new shipping method available only for some customer groups. I use the documentation to create a new shipping method, but there is no filtering method for customer groups in the ...
0 votes
1 answer
433 views

No customer group assigned

We have 3 customer groups: General, Jobber, Wholesale For some reason, when a customer create an account on frontend, no customer group is assigned. In the backend we cannot create a new customer from ...
0 votes
2 answers
3k views

Magento 2 Customer registration with customer group

In Magento 2 , defaultly admin has to assign customer groups for all the user but I need to develop, user will select their role while register his/her account.
2 votes
0 answers
23 views

Customer group form field is not populating in form after save

I have added custom field in customer group but after save it is not populating in the form. I have added field value in addValues function in _prepareLayout of form like below.but it is not display ...
0 votes
0 answers
521 views

magento 2 cart page rules for free shipping not working

I have two customer groups one is general another is wholesaler for this groups I need to enable free shipping for some specific price. For example if general customer subtotal is 100 means it will ...
1 vote
0 answers
380 views

Magento 2.3.1 - Advanced pricing error after customer login in frontend

We are working with Magento 2.3.1. The cache is enabled. We are experiencing strange behavior with the respective customer groups and the advanced pricing: It seems the customer groups somehow "...
1 vote
1 answer
104 views

Customer Account Registration Form Customer Group Assign in Frontend Magento2

Magento2 module Require Where I will be able to assign customer group from frontend when Customer will Create Magento 2 customer account?
0 votes
1 answer
254 views

Exclude tax price for wholesale customer

I am running B2B and B2C website. My problem is that I want to show price with exclude tax for only wholesale customer and price with including tax to retail customer. How can I achieve? Any help ...
1 vote
1 answer
1k views

Unable to change the customer group in magento2

I created the customer at time group is assigned correctly. but after login into admin I try to change the group, it is not changing but message is coming like 'You saved the customer'. Customer ...

1
2 3 4 5 6