Skip to main content

Questions tagged [customer-group]

Denotes question related to customer group

Filter by
Sorted by
Tagged with
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?
Rohan Hapani's user avatar
  • 17.5k
13 votes
1 answer
32k views

How to use group by in magento collection with join query

In module's admin grid I am using this code to get collection and group them by customer id $collection = Mage::getModel('referafriend/statistics')->getCollection(); $collection->getSelect()-&...
Haris's user avatar
  • 869
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.
Totot memeng's user avatar
  • 1,255
9 votes
2 answers
10k views

Magento 2 how to save custom field added in the form of customer group?

I've added some custom fields to the form of customer group by using upgradeSchema.php. After that I found that the original fields like customer group code and tax id are saved by using setter ...
Ricky.C's user avatar
  • 2,182
9 votes
4 answers
3k views

Cross border tax settings for business clients

The situation is as follows: We have enabled "cross border trade" and it's working fine (we have products with Gross price defined and VAT is being calculated based on customer country. For each ...
Greg's user avatar
  • 266
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 ...
scrowler's user avatar
  • 2,014
6 votes
1 answer
21k views

Magento 2: How to get customer collection [closed]

I got customer collection with help of objectManager but I don't know how to get customer collection via injecting a class in constructor(Dependency Injection). So how we get customer collection ...
Varun Suresh Kumar's user avatar
6 votes
1 answer
7k views

Updating customer group from observer on customer_register_success event?

I want to set a customer group as first time user for that I am using an observer so that I can update the customer group just after or on the same time of registration.
supriya mishra's user avatar
6 votes
4 answers
11k views

Catalog Price Rules conditions not working

When I create a catalog price rule everything works fine for a specific customer group. As soon as I add a category condition nothing works. Has anybody experienced this before? Conditions: ANY are ...
Paul Rose's user avatar
5 votes
3 answers
18k views

Magento2 How to get customer group name by using group id?

How can I get customer group name by using group id in a template (phtml file) ?
Waqar's user avatar
  • 974
5 votes
3 answers
15k views

Magento 2 override the cutomer account loginpost controller

I am trying to overriding the below class in my custom module: vendor\magento\module-customer\Controller\Account\LoginPost.php For overriding this I have created the Plugin file as per the below ...
mageDev0688's user avatar
5 votes
2 answers
1k views

Error showing special prices when changing store view - Magento 2.3.1

I have 2 store views, one for normal customers (product prices including tax) and one for wholesale customers (product prices excluding tax). See images for reference. Normal Store View (product ...
Despotars's user avatar
  • 475
5 votes
3 answers
436 views

Customer Group Code Limited to 32 Chars - Why?

The name/code for customer groups is limited to 32 characters. A client has groups with names that are longer. Is there any reason not to increase the length?
Ben Truby's user avatar
  • 551
5 votes
3 answers
3k views

Programatically Log User Out [Magento 2]

I have written a module which is basically an observer which triggers on 'customer_save_after_data_object' the content of this observer basically listens out for when the customers group is changed. ...
CreativeNerdSam's user avatar
5 votes
1 answer
941 views

Howto disable Price per Customer group?

does anyone know if there is a simple way or extension to disable price indexer per customer group? i have over 1000 Customer groups and over 100k products in catalog. So the price indexer raises ...
timr's user avatar
  • 131
5 votes
0 answers
133 views

Product pagination for customer group not working in Enterprise Edition [closed]

I am using Magento Enterprise ver. 1.14.0.1, when I log in with a particular customer group(Sales Representative) other than general customer group category product list not working as per general ...
Nazim Ghori's user avatar
4 votes
1 answer
785 views

PHP - How to get number of all members in a customer group

I am working on a custom magento extension. I've made a selection menu with all customer groups, here is the code of it: $CustomerGroups = Mage::getResourceModel('customer/group_collection')->...
Venelin Vasilev's user avatar
4 votes
1 answer
1k views

How to assign a group to user based on their email id on registration

I am making a project In which I have to differentiate between the user who have registered I want that if some one registered with the id [email protected] He should be automatically assign to ...
Ratnesh Choudhary's user avatar
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 ...
mageDev0688's user avatar
4 votes
0 answers
116 views

Custom store view per customer group

I need a solution for showing a different store view to different customer group. For example: Store view 1 must be displayed to the Customer Group 1 and Store view 2 must be displayed to the ...
Matteo's user avatar
  • 41
4 votes
0 answers
2k views

Magento 2.2.1 Bug price by customer group not working after add to cart

Magento 2.2.1 Bug price by customer group not working after add-to-cart I have set product price based on customer group so if wholesalecustomer is logged in then price will be 20$ and the general ...
jack's user avatar
  • 920
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
user2531490's user avatar
3 votes
1 answer
17k views

Get customer group name from customer group ID

I need to use the customer group name in the invoice. Based on $order I can get the customer group ID. $customerGroupId = $order->getCustomerGroupId(); I tried the following code: $groupname = ...
SPRBRN's user avatar
  • 1,307
3 votes
2 answers
951 views

Magento 1.9 Observer - How to disable Payment method in Observer?

I want to assign specific payment method only for selected one customer group, successfully get customer group & Payment method code, How to add condition, following are my workout, Following ...
zus's user avatar
  • 173
3 votes
1 answer
2k views

Add customer to group when registering

I'm not sure how to programmatically add customer to one of previously created customer groups when he/she registers. There are 2 groups: General customer - basic group Regular customer - customer ...
Mateusz Serotiuk's user avatar
3 votes
3 answers
2k views

Get Customer Group & Products Categories from Order Object

From the Magento checkout success page I need to get the following data to add to a tracking pixels script. $orderObj = Mage::getModel('sales/order')->loadByIncrementId(Mage::getSingleton('...
Holly's user avatar
  • 4,893
3 votes
2 answers
10k views

How to get customer group id by username without login?

I have been creating one custom module for block some customer group to wholesale store. we can get customer group id by current session like $session = Mage::getSingleton('customer/session'); // ...
DRAJI's user avatar
  • 855
3 votes
1 answer
1k views

Create Link Dynamically By Customer Group in Customer Account Navigation - Magento 2

I am attempting to add links to certain customer groups that will show on Customer Dashboard. I'm having trouble figuring this out! Help!
Nick Piro's user avatar
3 votes
3 answers
3k views

Magento 2: How to hide the price for guest user only wholesale group user can see price

How to hide the price for guest user only wholesale group user can see price in is there any script or code or some free extension please suggest ?
Sheenu's user avatar
  • 119
3 votes
1 answer
5k views

Magento 2: How to display all Customer Group Price on Product Detail Page

I would like to display all customer group price for that product on product detail page. May be need to work on vendor\magento\module-catalog\view\base\templates\product\price\final_price.phtml So ...
Jackson's user avatar
  • 9,939
3 votes
1 answer
3k views

Display shipping method for special customer group only

I want to display certain shipping methods - like "collection by customer" for special customer groups only. All I found is the Amasty "Shipping & Payment By Customer Groups" extension. Is there ...
user3423527's user avatar
3 votes
1 answer
10k views

How to add special price for customer group in admin

In magento products, admin have option to add customer group price. I also want to add customer group special price. There is already special price option in the products but it is for all customer ...
Karam's user avatar
  • 33
3 votes
3 answers
2k views

Add new registration form magento 2

i want to create a new registration form for wholesaler the form should be same as new customer registration form which is provided by magento.when i register wholesaler customer data should be save ...
Harsh Jayswal's user avatar
3 votes
1 answer
450 views

Group Price Report

I would like to get an MySQL report from the Magento database that displays the group prices for each SKU. If the group doesn't have a price, it should still show the group name and null or 0 for the ...
spdaly's user avatar
  • 163
3 votes
1 answer
2k views

Magento 1.9: How to add customer group on registration page

I have followed every tutorial I have found and doesn't work. I am trying to add the customer groups on the customer registration page but its not working. I hope this question will help others also ...
mudit mehrotra's user avatar
3 votes
1 answer
158 views

1500 different catalogs in Magento. How to achieve this?

I'm architecting a solution to a customer that have the following requisites: It will sell a catalog of products for 3 different public. Each public will see different prices for the same products (...
Ricardo Martins's user avatar
3 votes
1 answer
2k views

Showing different stores based on customer group

I want customers in the wholesale customer group to see our wholesale store, and I want everyone else to see the default retail store. I tried the solution found here, and it successfully showed ...
Zoop's user avatar
  • 31
3 votes
1 answer
375 views

Get products by customer segments in Magento CE 1.7

I am creating a special page only for the particular customer group.. So, Regardless of category, i need to get the products those are having exclusive price for that customer group.. I tried with ...
phpdeveloperbalaji's user avatar
3 votes
1 answer
830 views

Customer Groups and product_price_index growth in Magento

Magento seems to create a product_price_index row for each product X customer_group_id even if a given customer_group_id doesn't have a price for the product. This ends up in a problem such: I have ...
Jared's user avatar
  • 149
3 votes
1 answer
250 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 ...
sm77's user avatar
  • 33
3 votes
1 answer
1k views

Managing large number of customer groups and Products

I am working on a store where i need to import products on a daily basis and the number of products may go up to more then 1,90,000. The Store discount heavily depends on the customer groups which are ...
Taral Patoliya's user avatar
3 votes
0 answers
278 views

How to add new custom dynamic link in magento2 top header links?

I want to add a custom dynamic link on top gray navigation bar besides welcome message when a specific user with a specific customer group is logged in. the main entry would be dynamic which will ...
MSQ's user avatar
  • 211
3 votes
0 answers
782 views

One customer with multiple customer groups Magento 2

Does anyone know how to apply multiple groups for one single customer? I have seen one result for Magento 1.8 but it doesn't work. I have changed the DB to multiselect and not static value (varchar) ...
Paola's user avatar
  • 31
3 votes
0 answers
204 views

Use Multiselect instead of dropdown customer groups code in backend Magento

I'm using a custom redirect extension from iPragmatech to redirect a customer to a different URL after logging in. This is based on customer groups. I have asked the developer for help which he gave ...
user3007762's user avatar
3 votes
0 answers
1k views

Product different prices and options per customer group

I am looking to set up 3 simple products 1 box - 700g 8 boxes - 700g 12 boxes - 700g I would then make a configurable product based on a new custom attribute of "Number of boxes" and associate these ...
Goose84's user avatar
  • 2,631
2 votes
4 answers
11k views

Magento Programmatically Customer Group Create and Update

I have used the below code for create the customer group programmatically, it works well. But i need that if the same customer group exist it should update the values, instead of creating new one with ...
Helphin's user avatar
  • 974
2 votes
2 answers
6k views

Get all customer groups

Can anyone help me to get all available customer groups? I want to find customer group names and their ids.
vedu's user avatar
  • 867
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
Ronak Parmar's user avatar
2 votes
1 answer
2k views

How to automatically send a transactional email on customer group change?

I would like to send a custom transactional email automatically to a user when he is assigned to a specific user group. I think doing that with on observer but do not manage to find which event to ...
Alexglvr's user avatar
  • 1,675
2 votes
1 answer
682 views

Send invoice e-mail based on customer group [closed]

I want to send different content in invoice e-mails per customer group. Suppose, I have two customer groups A and B. When customer from group A will place a order it should send another e-mail then a ...
Elizabeth's user avatar

1
2 3 4 5 6