Questions tagged [customer]

denotes questions related to the customers module

Filter by
Sorted by
Tagged with
0
votes
0answers
15 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
1answer
22 views

Magento2: Create customers programmatically and associate to multiple websites

I have written a customer import which works just fine. Now the requirement has changed .. the Magento instance runs now multiple stores / websites and i need to change the customer import so that the ...
0
votes
2answers
47 views

What event should I use for Customer delete observer in Magento 2.3?

I'm very new to Magento 2.3, so I can't find a list of all the events that are related to user accounts. I need to create observers for user deleted, user updated (any information in account) and user ...
0
votes
2answers
52 views

Magento 2 - How to check if an User is logged in?

I want to check if a user is logged in. Because I need to access customer-specific information. Thanks for your help.
0
votes
0answers
29 views

region is a required field on login page magento 2

The region is a required field on login page Magento 2 When the customer tries to log in on-site its throw region is a required field error.
0
votes
3answers
31 views

Know if user are logged in with Jquery

I'm doing a custom JS code but i wanna know if user are logged in with Jquery.
1
vote
4answers
59 views

Magento 2.3: How can I get the customer ID with PHP?

I am trying to get the items of the cart as well as the customer ID in my Module. But the problem is that I don't know how to get the customer ID properly. In the Moment I have this Code and it works:...
0
votes
1answer
41 views

Magento 2 : Separate home page for logged in and guest user [closed]

I want to show different home page for logged in user, Which event/plugin I can use for this ? Whenever logged in customer clicks on homepage he should be redirected to different url Logged-in ...
0
votes
1answer
16 views

What does “Associate To Website” mean?

In Magento 1.9 Customers > Add New > Account Information What does "Associate To Website" field mean? What's the difference between "Admin" and "Main Website"?
1
vote
0answers
48 views

Magento 2 customer data migration & volume check failed?

I would like to migrate only customers data using magento2 data migration tool. Can anyone suggest how to resolve the below error when migrating data [2019-08-06 12:20:19][INFO][mode: data][stage: ...
0
votes
0answers
20 views

Magento 2 : Multiple Customer Groups with Global Accounts

We are setting up our store with Global Account, while disabling the SID. If customers have different tax rules in each website and store, what's the best way we can go about assigning them a ...
1
vote
2answers
37 views

How to get customer ID Magento 2.3.2

After logged in Magento frontend. I need to get ID of user on which account I am currently logged in. Please help.
0
votes
1answer
22 views

Magento 1.9 how to get all customer email and password

I want to customer email and password. How to get it in Magento1.9. Thanks
0
votes
0answers
18 views

magento migration from 1.9.4.1 to 2.3.2 customers exception

I'm doing migration tests from Magento 1.9.4.1 to Magento 2.3.2. Setup: magento2, Ubuntu 18.04 php-7.2 nginx When I try to view the list of clients I get the following exception: https://pastebin....
0
votes
0answers
31 views

Magento 2.2.3 How to change GrandTotal

var billingAddress = quote.billingAddress(); var billingCountryId = (billingAddress.countryId); // console.log(billingCountryId); console.log({billing: ...
0
votes
1answer
21 views

Magento 2 get customer old and new data on save customer button in admin backend

I am working on Admin Actions Log Extension. For the reference i am using link below https://amasty.com/admin-actions-log-for-magento-2.html I want to get old and new data of customer while we save ...
0
votes
3answers
31 views

How to get all shipping addresses of a customer in magento 2

I want to show all shipping addresses of a customer. I am getting customer_id only. I am using $customer->getAddress() but it's giving all addresses from customer_address_entity table according to ...
1
vote
5answers
182 views

Magento2: How can I logout customer from controller?

In Magento 2, I want to write a custom controller. Whenever anyone tries to call the controller URL (http://mymagento.com/mycontroller/index/index). It should redirect to this controller an event ...
0
votes
0answers
12 views

M2 EE | How to create New Admin grid for Store Credit Custom Options

I want to create a new grid at CUSTOMERS->All Customers->Selecting edit for any customer in Customer grid ->From left Navigation Selecting Store Credit as in Screen shot: The New grid should ...
1
vote
1answer
26 views

Get front-end customer admin navigation

I'm a beginner in Magento and I try to create a page on which I get all orders of a customer payed with a custom payment method. Now, the page work but I want the page to looks like a real customer ...
1
vote
1answer
82 views

Move users from one store to another (Do not share) - Magento 2.3

I had a store and many customers. Now I have 3 website with 1 store and i store view per each website, and I need to move some of my customers to the other stores, but when I edit a customer, the ...
0
votes
1answer
19 views

Magento 2 - Reauth/Revalidate the Customer Password after placing the order [duplicate]

Revalidate the logged-in customer's password after placing the order, once the password is correct, order status is changed to "New Status" till that it will in "Pending" status on Admin. Is there ...
0
votes
4answers
36 views

Filter customer collection by custom attribute in magento 2

I created a custom attribute for customer and would like to filter my collection through it. My UpgradeData: if (version_compare($context->getVersion(), '1.0.6', '<')) { $attributesInfo = ...
1
vote
2answers
35 views

How to get customer id , customer firstname with customer_account_edited event ? Magento2

event.xml <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">...
0
votes
0answers
27 views

How to create an event-observer that will help print a log when admin modifies some customer details?

I want to design an event and an observer that will print a separate log containing the details of the fields that was modified by the admin in admin panel (under all Customers -> edit). How can I ...
1
vote
0answers
29 views

Manage customers in different stores - Magento 2.3.1

I am using 3 stores on my same website, how can I restrict access to customers to different stores? I would like that customers can only buy at a particular store, not at all. It's possible?
0
votes
0answers
20 views

“Last Activity” on customer list dashboard

I would like to view customers' "last activity" on my full customer list but there is no option to include it in the view. But I do note that it is an option on the customers now online report but ...
0
votes
0answers
18 views

magento2 Mysql count number customers who ordered more then once in a specific date range

I have a Magento 2.2.5 based website and I want to get a list of emails of customers who have made more than 2 orders within a specific date range. I know I can do the below MySQL query to list ...
0
votes
2answers
49 views

Is it possible to copy all customer related data migrate to another magento 2 database?

I want to know how I can copy only customer related data to another Magento 2 database If it is possible then what are the tables that I can copy to the second DB Magento ver 2.2.6
1
vote
0answers
31 views

Magento 2 customer export is giving me the error

I added one custom attribute with Yes/No option in customer grid and with that i'm unable to export the customer data, facing issue like below Fatal error: Uncaught Type Error: Argument 2 passed to ...
0
votes
3answers
30 views

Magento1.9 customer can't reset password

PHP Fatal error: Uncaught Error: Call to a member function getBackend() on boolean in app/code/core/Mage/Eav/Model/Entity/Abstract.php:1553 Stack trace: app/code/core/Mage/Customer/...
2
votes
2answers
33 views

Observer to fire on customer login Page Url (baseUrl.“customer/account/login”) magento 2

I want to fire observer on customer login Page url(baseUrl."customer/account/login") magento 2. I tried customer_login event but it's firing after customer login. etc/events.xml <?xml version="...
0
votes
0answers
23 views

How to print custom text in login page ? Magento 2

This code checks whether the customer status is suspended, then the customer cannot log in and returns to the login page, but I need to print his status or any text after or before login form or ...
0
votes
0answers
22 views

How to edit customer information with custom attributes Magento 2

I have created 2 custom attributes and one is a select type so I succeed to make them appear in the form of edit account but when trying to save I get an error and I am stuck there. I also have two ...
0
votes
1answer
28 views

how to add custom attributes in the edit form and then save them

I have created 4 custom attributes attributes and i can see them in the register.phtml and i can create new customers but my question how to show those attributes in the edit account like first and ...
0
votes
0answers
34 views

Magento 2 add custom tab in customer edit section and save data

I am able to add custom tab customer edit section when they click on it i am showing one form by using protected function _prepareForm() { this function form is showing but when i change data in that ...
2
votes
1answer
44 views

how to get a dynamic customer attribute option from eav_atrribute_option _value table in magento 2

how to get a dynamic attribute options from eav_atrribute_option _value table in magento 2 app/code/Cm/CustomerAttribute/Model/Plugin/Checkout/LayoutProcessor.php <?php namespace Cm\...
0
votes
1answer
21 views

magento 2 online customer data not showing

In my instance when I try to check the now online customers the customerid, email and names columns are not showing. Can anyone help me with this
3
votes
0answers
39 views

Magento Customers edit is broken in the backend admin panel

After I updated few security patches in my local Magento 1.9.3.8. PHP 7.o-fpm, nginx server. SUPEE-10888 SUPEEE-10975 SUPEE-11085 SUPEE-11155 So when I was testing all functionalities I saw that ...
0
votes
0answers
31 views

Magento 2 get customer attribute value issue

I am trying to get customer attribute value i have created text attribute and storing json data. {"cloud":["<div><span style=\"font-family:Comic Sans MS,cursive\"><u><span style=\...
0
votes
0answers
16 views

Magento2 : How to configure that one customer can purchase only one product once in website

In my website i have to configure that one customer can purchase a single product and if that customer login again he couldn't able to purchase any product. Is it possible???
0
votes
0answers
26 views

I am getting this error when I click on edit customer in the admin back-end panel

I am getting this error when I click on edit customer in the admin back-end panel
2
votes
1answer
51 views

Magento 2:How to enable google customer review survey email from google merchant center

I am implementing the google customer review on success page. It's working fine. But survey email confirmation is not sending to customer after complete the order. Any suggestions?
0
votes
0answers
26 views

Import customers without e-mail notification?

How can I import all our customers from Magento 1 to Magento 2 without any e-mail notification? Is this possible with the default importer from Magento 2?
0
votes
0answers
10 views

How to add custom address of customer in new order or new shipment email template?

I want to add label before the address fields.I found that currenly customer address is rendered from backend->Configuration->Customers->Customer Configuration->Address Templates. But when i edit it ...
0
votes
0answers
9 views

Validation for new attribute on customer signup controller

I have created new attribute 'customer_interest' and successfully getting it in form, frontend validation is working. Now I need to validate it on backend(php), which file I need to work on? where is ...
3
votes
0answers
22 views

I want to apply a limit for discount amount on checkout

I want to apply a limit for discount amount on checkout. I am providing multiple discount to my customer what I want whenever customer checkout the maximum discount limit will be 50% of the order ...
0
votes
0answers
35 views

In magento2 , how to show dynamically added customer attributes in customer grid?

In magento2 , how to show dynamically added customer attributes in customer grid? I have used this extension dynamic added customer attributes in backend Customer_gitd
5
votes
1answer
38 views

Set custom tab in customer edit page Active

I created a custom tab for customer edit page in backend like this: app/code/Namespace/Module/view/adminhtml/layout/customer_index_edit.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
2
votes
0answers
22 views

Spam account registrations, limiting characters in database not working

We had a problem of spam account registrations the last year, and the answer to this question worked great Spam customer registrations, CAPTCHA not stopping it, Max field rule being bypassed We ...