Questions tagged [customer]

denotes questions related to the customers module

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

Is there any extension Order Exchange with same product option or different products in Magento 2?

Is there any Magento 2 extension available for Customer order exchange with same item different Size/color And also Order Exchange with different Products. reference link Myntra
0
votes
1answer
12 views

How it work Magento\Customer\Api\Data\AddressInterfaceFactory

I am analysising Magento\Customer\Model\Address\AbstractAddress By the way I am facing with $addressDataObject = $this->addressDataFactory->create(); in 567 line $this->addressDataFactory ...
0
votes
1answer
31 views

Magento 2 REST APIs fetch results by store code

When i am trying to fetch the orders, & customers & products collection by using store code I am getting another store results aswell. Did any one facing the issue in the magento 2.4 version? ...
0
votes
1answer
18 views

Magento 2 file upload error

I have upload customer image using ajax.I have upload images jpg,png,jpeg etc extension is working fine.But i have upload pdf extension showing below error Notice: Trying to access array offset on ...
0
votes
0answers
12 views

Error on Registration new customer in Magento 2.4 after enabling phone no. and DOB?

I have enabled Phone No. and Date of Birth for Registration Form from Admin. But when i tried to register a new Customer it gives me error and customer is not registered. Error : Class Magento\...
0
votes
1answer
23 views

How to swap firstname and lastname in customer grid magento 2

How to swap firstname and lastname in customer grid magento 2
0
votes
0answers
19 views

Customer Create using Ajax in magenot 2.4

I Want to create new customer using ajax in Magento 2.4. If Customer is register success show popup and show success message. Please help me. THANKS.
0
votes
1answer
22 views

Magento2 - Add customer attribute field validation in back end

How to add customer level Custom attribute field validation like Validate that end date is greater than the start date from the backend.
0
votes
3answers
55 views

Before customer login check condition in magento 2.4

I want to if customer login and customer cart is not empty so customer redirect checkout page other wise customer login and customer cart is empty customer redirect my account page. Please help me, ...
0
votes
1answer
14 views

Magento 2 - Check in minicart if customer is loggedin knockout

We want to check in the minicart if the customer is loggedin. <!-- ko if: isCustomerLoggedIn == 1 --> Does not seem to work well for the mini cart. This only works when you are visually in the ...
0
votes
0answers
10 views

All address field validation in customer account page

I need to do validation on server side on customer account page.That is, edit address I can validate id=street1(inspect address field1),working fine.How to validate for other address fields - street2 ...
0
votes
1answer
19 views

customer user name displayed on header bar when user logged out by session time automatically

I am building the magento 2.4 website By the way I am facing with below customer login issue "I had logged into the website with customer account I spent some times and I visited the site by the ...
0
votes
0answers
9 views

Customer segment rule add additional condition for customer attribute

I have created customer attribute called Lottery number(Input type text). This attribute is available for customer segment as well. There are 4 condition types are showing for this rule, Is, is not, ...
0
votes
0answers
23 views

Add customer service number at the left of the header

I want to add customer service number on the left side of the header. How can I do it? There is no option in the back-end to add number.
0
votes
3answers
43 views

Customer EAV attribute error: “Mobile Number” is a required value

I have created a custom attribute to store the users mobile number on registration. It's visible on the registration, and admin page, but upon trying to create a customer I get the following error: &...
0
votes
2answers
21 views

Removing a custom module doesn't remove it from the database

I created a customer EAV attribute to collect the users postcode on registration. I realized Magento already has this feature, so I removed the module. The problem is the module does not seem to be ...
0
votes
3answers
43 views

How to get Customer default shipping address in Magento 2

I want to get Customer default shipping address in Magento 2.
0
votes
0answers
13 views

in magento 2.4.1 and 2.4.2 customer custom image type attribute not save in frontend

I create Custom Image type Customer Attribute for save image but while create customer from backend save attribute but i will not work in frontend, image attribute not save from frontside so please ...
0
votes
0answers
10 views

Require Js query

I found a line like below in require-config.js of a module shim: { 'MagePal_GoogleTagManager/js/datalayer': ['Magento_Customer/js/customer-data'] } What it means please explain.
1
vote
2answers
39 views

Magento 2: Redirect to specific page on customer registration fail

I have made custom registration form which uses Magento's createPost for creating a new customer. On registration fail it is redirecting to customer/account/create I would like it to redirect it to ...
0
votes
0answers
12 views

Can't save to vertex_customer_code table

I have tried everything under the sun to save to the vertex_customer_code table but my data never winds up in the db. I have tried this in both an observer and plugin for the customer save event (both ...
0
votes
0answers
18 views

Google Product Ratings

I have a Magento site and already set up the Google Customer Reviews. Now I want to create a code to get and display Google Product Reviews. The code should pull barcodes of the items in the basket ...
0
votes
1answer
27 views

Can't get getCustomer() in custom event

If I observe customer_save_after event I can get information about the customer with $customer = $observer->getEvent()->getCustomer();. However, if dispatching my custom event instead of ...
0
votes
2answers
70 views

How to edit the change password validation message for customer in magento 2?

suppose , after a customer login into the website(you may need to sign up first as a customer), after a customer login then he click on change password option from the drop down , he will reach a ...
0
votes
1answer
21 views

I found this file /vendor/magento/module-customer/Controller/Account/LoginPost.php file is having some code. What is the explanation of below code?

I want to know what actually these two lines of code are doing. $redirectUrl = $this->accountRedirect->getRedirectCookie(); if (!$this->getScopeConfig()->getValue('customer/...
1
vote
1answer
31 views

What does resultRedirectFactory?

I found a code at /vendor/magento/module-customer/Controller/Account/Login.php /** @var Redirect $resultRedirect */ $resultRedirect = $this->resultRedirectFactory->create(); I want to know ...
1
vote
0answers
27 views

Mass update customer attribute programatically in a single query

I've created a custom customer attribute via install script. Now I would like to bulk update this attribute for batches of customers programmatically. Preferably in a single query (using foreach would ...
0
votes
0answers
9 views

CustomerSession -How is the getNoReferer() method assigned value?

Class \Magento\Customer\Model\Url - Line 122 I can't find the place that system sets value for getNoReferer() method. Please show me how the system sets its value. Thanks.
0
votes
1answer
17 views

Can't override my-account.phtml

In my default.xml I have the following: <move element="my-account-link" destination="header-wrapper" before="minicart" /> <referenceBlock name="header.panel....
-1
votes
3answers
37 views

How to solve exceptions that are occured while going to accoutnt page in magento 2?

1 exception(s): Exception #0 (Exception): Notice: Undefined variable: objectManagerInterface in /var/www/html/htg/htg/app/code/Webkul/MpBlog/Block/Account/Navigation.php on line 139 Exception #0 (...
0
votes
1answer
27 views

Magento 2.3.5 create boolean custom Customer Attribute

I am trying to create a Yes/No attribute for Customer in the admin panel, but its not working. I have tried several available solutions but didn't seem to work. My code is given below. /Setup/...
0
votes
0answers
17 views

Why there is no form key validation in some customer's controller actions?

I'm not an expert in Magento but I think there should be a form key validation on these controllers in Magento_Customer, no? vendor/magento/module-customer/Controller/Account/ForgotPasswordPost.php ...
0
votes
0answers
21 views

How to use Magento’s session within WordPress From Magento 2?

I have one wordpress setup like this Wordpress Project Path :- /var/www/html/wordpress/ And in that i set the my magento 2 setup like that /var/www/html/wordpress/magento-2/ so i need to access ...
0
votes
0answers
22 views

How to create/add a personal model in module-customer in magento 2?

That model will be linked with the table rpt_customer_personal_info will call carry three fields like company, country, mobile. Please provide some help or give the links which can be helpful.
1
vote
1answer
61 views

How to change price when customer group get change from my account

I need to know how we can achieve this when the user changes its group to another customer group that has a different price. This is working when the user logout and gets login again but I want to ...
1
vote
2answers
29 views

Magento 2 - Create customer programmatically from order

What is most optimized way to create customer programmatically from order ? As i need to create customer for a guest user, what will be the better way of implementing it ?
0
votes
1answer
104 views

Magento 2.4.2 GraphQL not get uid from customerCart and cart query

I installed Magento 2.4.2 According to Magento GraphQL DevDocs updateCartItems mutation cart_item_id is Deprecated. Use cart_item_uid instead. The unique ID assigned when a customer places an item in ...
0
votes
1answer
24 views

quote not get saved after changing grand total and decrease store credit from grand total

P.S I want to display grand total after store credit is applied because as of current it shows without store credit in it, for example customer applied 200 credit out of 500 purchase so his grand ...
0
votes
0answers
10 views

Magento 2.3 - Customer Login custom product view

We have a customer who asked that when a customer log's into their account, they can only see the products they have been allocated. Our customer is selling a type of products to different stores. And ...
1
vote
2answers
91 views

Magento 2 : Get total spent by customer

Is their any way we can get total amount that has been spend by customer in magento 2 ?
3
votes
1answer
134 views

Admin > Customers > All Customers > Edit Customer: > left hand tab “Account Information”

How can I populate this field so it's filled in when a customer creates an account? The value of the field just needs to match what customer[parent_customer_id] has. It doesn't necessarily have to ...
0
votes
0answers
16 views

Multiple Website, When change the customer group from admin that “customer_tax_class_id” Dose not change in Magento 2

When change the customer group from admin that the "customer_tax_class_id" dose not change in quote table in normal defaul web site they working fine but in other store they not working
0
votes
1answer
34 views

How to allow Notify me when Product back in stock for Guests / not Logged-In users?

I want to notify to customer and guests, when products back in stock, But in magento this feature is working only for customers, who is register on my website, But i want allow to also guests and not ...
1
vote
0answers
29 views

Magento 2 Admin Console - Performance Issues

For one of our big projects, our client is using the Magento backend Admin Console for their Project Managers to create orders/customers etc. Our Customer has time and again reported that the ...
3
votes
2answers
81 views

M2 Import customers with API with hashed passwords?

I can import customers with the API using /rest/all/V1/customers endpoint. I can also supply a password. But is it possible to import a customer with a hashed password with the M2 API? If possible, ...
0
votes
0answers
16 views

Magento2 How to solve 505 internal error while saving migrated customer from admin

I migrated my magento 1 store to magento2 and all customer and other data are migrated successfully. but when i try to save customer from admin , the page is redirect to 505 internal error. if i ...
0
votes
0answers
15 views

Due to heavy traffic on site customer not able to loggedin/after reseting password not able to login Magento2

We are using Magento2.3.4-p2 cloud pro. Client has reported everytime that her customer facing issue for login/after reseting password they are not able to login while promotions are running on site. ...
0
votes
1answer
29 views

Magento 2: Customer Account Reorder button not showing

I have activated reorder in my magento 2 website. Now I wanted to build the functionality where if the customer click on the reorder button it will add all the products in the cart except for disabled ...
0
votes
0answers
35 views

The “loggedAsCustomer” section source isn't supported. - Magento 2.3

I have updated my Magento version from 2.2.5 to 2.3.3 so Now when I go to any page on the front side so I am getting this "The "loggedAsCustomer" section source isn't supported." ...
0
votes
0answers
13 views

How to check customers custom attribute order place in Magento 2

How to check customer custom attribute is 'No' order is pending. And customer custom attribute is 'Yes' Order is processing. So please How to achieve this. Thanks

1
2 3 4 5
41