Questions tagged [customer-group]

Denotes question related to customer group

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

Error Being Caused by Observer Extension in Magento 2

I am currently using an instance of Magento 2.3.2 I have now implemented the following code in the app > code folders: registration.php file inside GroupSite/SiteSwitch/ <?php \Magento\...
0
votes
0answers
33 views

Magento 2: How can dynamically display Name of Tax Rule on product page

To display Name of tax rule on the product details page I creat a module through this link (Magento 2: How can display Name of Tax Rule on product page). And it's working successfully check below ...
2
votes
1answer
22 views

How to make some Products visible to a single Customer Group?

I know this has been asked before but could not get a reliable answer without suggesting some paid extension. I need to hide some products to be visible only to user with some group id. I have a ...
0
votes
0answers
15 views

Set customer group to visitor

i want to set Group id for visitors(not logged in) to show them special prices for this group, is it possible with out login user?
0
votes
0answers
26 views

Magento 2.3.x: Allows customers to choose dropdown option to tax prices including or excluding on product page

By default Magento2 allows admin to select whether prices will be displayed including tax, excluding tax or both, however it does not allow customers to change or choose the dropdown option, this ...
0
votes
0answers
29 views

Magento 2 : Customer Group dropdown Tax option on product page

I created a customer group Tax, name corporate, and apply two tax rule, IVA Nomraml 21% Govt 4% and IVA Nomraml 10% Govt 4%. Now I need the customer has to be an option to choose the tax amount from ...
3
votes
3answers
101 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 ...
1
vote
1answer
22 views

Adding a new Customer Group Programatically

I would like to know if it is possible from a public function to create a customer group? I would like, in my saveNewGroup function to crate a new customer group. I saw another example online but it ...
0
votes
0answers
15 views

Is it possible to create “Assign customer group” option (dropdown) for my custom table in admin grid in magento 2?

Basically i have made a custom table in admin which has id,customer id,email,positon,department(custom column from custom table).Now i want to make customer groups from this custom table(in admin ...
0
votes
0answers
5 views

Price don't change on product page when customer group change (and price different in this group)

I have a strange behavior on a Magento 2.2.10 (but may be it's the same on other version) I have created 2 more customers groups (G1 and G2), each one with a set of products prices different from ...
2
votes
2answers
34 views

How to get rule id with respect to customer group id

class CouponCode extends \Magento\Framework\View\Element\Template { protected $_customerSession; protected $_customerGroupCollection; public function __construct( \Magento\Customer\Model\...
1
vote
0answers
11 views

How to conditional show content by customer group

I have a function to get the customer group ID and in my phtml file if it equals the customer group id I show content. The issue is that when I test it in a production environment the content doesn't ...
0
votes
0answers
21 views

Can't change customer group when creating order in admin for new customer

I have Magento 2.3.3 and when creating a new order in admin for a new customer I can't change the customer group from dropdown. It just reloads back to the first selection no matter what is selected.
0
votes
0answers
61 views

Magento 2 : How to add field in customer group create / edit form in backend?

I wish to add custom field (boolean value select) to customer group form in backend. I have created below plugin for that, Field is added to form, but its not reflecting value in edit form, neither ...
3
votes
1answer
34 views

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

I want during registration process to assign a different group to users that has a specific domain e-mail: So user with: abc@domain.com 123@domain.com …@domain.com will be assigned to a specific ...
1
vote
1answer
32 views

How to set special price for specific customer group

Guys I'm wondering how to add special price for specific customer group? For example, I have a group called "VIP", I want to set 10% discount on every product for this specified group only. Thank you ...
0
votes
0answers
34 views

Magento 1.9.4.3 - Run php scripts only once

I describe my situation: I created a PHP script in the header.phtml file that allows customers to change the group based on their order total. I put this script inside an if and it works perfectly. ...
0
votes
0answers
8 views

Magento 2 Update customer group price of a configurable product using update attributes

I don't find the option for customer group price when I select all the variations of a configurable product and update the attributes, how can I set the customer group price once for all the ...
0
votes
1answer
21 views

how to override private function in sales module

I am trying to override this following function. /** * Extract the form values from attributes. * * @param array $attributes * @param int $storeId * @return array */ private function ...
1
vote
0answers
90 views

Magento 2.3.1 - Advanced pricing error after customer login in frontend

we are working with Magento 2.3.1. Cache is enabled. We are experiencing a strange behavior with the respective customer groups and the advanced pricing: It seems the customer gropus somehow "slip ...
0
votes
1answer
26 views

What is the event that will fire after assigning customer to group in Magento?

I have to fire an observer method when the admin assign customer(s) to group on adminhtml. Can you help me which event is it? I tried adminhtml_customer_save_after but it didn't worked. Edit: My ...
0
votes
0answers
9 views

I need to change customer group when user logs in via specific link

I need to link already registered user to the customer group. I'm trying to solve it using event and observer. User will receive a link and logging in using the present link, the customer will be ...
0
votes
0answers
38 views

Add customer to multiple customer group magento2.1

I set group with eav_attribute group_id to multi-select and set it to varchar. But it doesn't show multi select. I want to set my customer to multiple customer groups in magento2.1
0
votes
3answers
221 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 ...
1
vote
1answer
247 views

Magento 2 How to notify user when it's customer group has changed?

I want to find a solution for sending an email to the customer when the administrator in backend changes its customer group. I have 3 customer groups, each one has different discounts in the store, so ...
1
vote
3answers
236 views

Magento 2 upgrade 2.1.7 to 2.3.2 give error Foreign key constraint is incorrectly formed modify column customer_group_id in table of customer_group

Can anyone please explain about this type of error Like http://prntscr.com/oow1oz Also, I refer to this link Magento 2 failed database rollback cannot add foreign key constraints but not working for ...
1
vote
0answers
29 views

VAT Customer shipping goods to different country with billing address VAT magneto 2.2.3

Not sure how to get this working, if anyone has any idea will be appreciated for the time. My aim is to create a module to check if the customer passing two different countries in billing and ...
0
votes
1answer
68 views

how to get the bundle product prices in the Magento 2 for specific customer group?

how to get the bundle product prices (Maximum & Minimum) in the Magento 2 for customer group and tax as well? I tried various functions in the Magento's default code but did not get the exact ...
0
votes
3answers
73 views

Magento 2 How to get customer info on resetpasswordpost controller?

Magento 2 How to get customer info on customer/account/resetpasswordpost controller? I am trying this code - echo "<pre>"; print_r($this->session->getData()); and getting this response ...
0
votes
0answers
56 views

M1.9: To get calculated Customer Group Prices for Bundle Products using Product Object

Wanted to show bundle product's calculated price for customer group in Magento 1.9.3.x. I'm using Magento 1.9.3.x. Bundle product customer group price: Define some percentage to different customer ...
0
votes
0answers
131 views

ALTER TABLE `customer_group` MODIFY COLUMN `customer_group_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT

PHP version : PHP 7.1.3 Magento Version Magento 2.1.16 I tried to upgrade the Magento from 2.1.16 To 2.3.1 and I face this issue. Query Executed during update: ALTER TABLE customer_group MODIFY ...
5
votes
2answers
180 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 ...
0
votes
0answers
38 views

Advanced pricing rule not working for specific user group in magento2.3

Advanced price rule not working with specific user group. I have created new user group "Salon" and created advanced price rule discount for specific product with respect to specific user group "Salon"...
1
vote
0answers
97 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 ...
0
votes
1answer
86 views

Set default filter for Customer grid during order creation in Magento2

I added a Customer Group column in Customer grid during order creation for Magento2, Then I filtered this grid base on Customer Group. Customer grid filtered and it is working fine but module ...
2
votes
1answer
178 views

Add a new column of “Customer Group” in a Customer grid during order creation

I want to add a Customer Group in a Customer grid during order creation For Magento2. I made [vendor]\[module]\view\adminhtml\layout\sales_order_create_customer_block.xml like this: <?xml ...
0
votes
1answer
44 views

How to override the GroupInterface by creating extension attributes in magento 2

I wish to override Magento\Customer\Api\Data\GroupInterface to add my custom fields. Custom fields are 1.custom_terms 2.handling_fee I have created the below file in etc/extension_attribues.xml &...
0
votes
0answers
39 views

How to add new text field in Customer group form in magento 2

I wish to add new field in customer group form in magento 2 Please provide me a solution to add new field in custom group form. I wish to add new text field below Tax Class field
0
votes
1answer
146 views

magento 2 customer groups get group_renderer in system configuration

I need to display all customer groups in dropdown in magento2 admin configuration but customer group_renderer is not working. can anyone please help me. public function _prepareToRender() { ...
4
votes
0answers
44 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 ...
3
votes
0answers
89 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 ...
2
votes
3answers
681 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 ...
0
votes
0answers
23 views

How to assign multiple TAX classes for customer group?

Hi I need to assign multiple TAX classes for different customer group. For example: I have three customer group: group1, group2, group3 For group1 2% tax will be applicable. But for group2 2% ...
2
votes
0answers
54 views

Magento 2 admin product custom option page add customer group dropdown

I want to add customer group dropdown on product custom option page. the reason behind is to show the custom option based on the customer group in front-end. how can i achieve the above functionality....
2
votes
1answer
609 views

Get Product price by customer Group magento 2

I am trying to get Product price by customer group. Used below code. $sku = 123; $customerGroup = $this->getCustomerGroupId(); $currentProduct = $this->loadProduct($sku); $productPrice = $...
2
votes
1answer
106 views

Can't change customers groupId in observer

I try to change the customers group id in the observer sales_order_place_after but it seems to be impossible. I successfully managed to change the firstname of the customer just for test, but groupId ?...
1
vote
0answers
33 views

Customers receiving order confirmation with another customer's details

We recently upgrade out Magento 1.9.0.1 site to the latest patches through to SUPEE-10975. We have started seeing a number of problems like so; Some backend orders show customer email address and ...
0
votes
2answers
224 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?
1
vote
0answers
36 views

Magento 1.9.3: Need extra fee specific plugin

I have a specific need: I need a plugin (no problem if paid) that allows me to apply an extra fee on specific products and per customer group. The situation in detail is this: General customers ...
0
votes
1answer
385 views

Magento 2 : How to get order collection group by customer?

To get order collection by customer wise i.e.., customer A and customer B have placed order and it should retrieve by customer wise per collection? public function getOrdersByCustomer() { $...

1 2 3 4 5 6