Questions tagged [customer]

denotes questions related to the customers module

685 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
1k views

No such entity with cartId = 0 on checkout page

Magento2 - Customer lost session occasionally on checkout page. After login when I go to checkout page it's shows me below error but after refresh 4 to 5 times customer session restore again but ...
6
votes
1answer
710 views

Magento 2 :- How can i add tab in customer group?

I tried to create new tabs as per the customer tab, add in admin side, but I am getting the error so can any one help me. How can i do this thing? I refer this link for that 1) http://www.dckap.com/...
5
votes
0answers
1k views

How to add filtering to custom table field column in Customers admin grid in Magento2?

Added custom columns from custom table to Customers grid using JOIN in the following method: \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection::_beforeLoad: protected function ...
5
votes
3answers
3k views

How to Get Customer data by telephone number in Magento2?

I have a telephone number which is given in Default address..by using this telephone number i need to get Customer Full data.Data like customer id, customer full name..etc
5
votes
2answers
2k views

Customer name is not displayed after login in Magento 2

Customer name is not displayed after successful login in Magento 2. It only displays the default welcome message. Can anyone help me?
4
votes
0answers
145 views

Custom additional custom address attributes not getting saved

I have created two custom address attribute latitude and longitude in custom address and they are showing fine in backend. However when I am creating a new customer from backend filling some value to ...
4
votes
1answer
181 views

How get customers that didn't bought in last X months in Magento?

I want to get customers list that didn't bought in last X months in magento 1 or 2? Like: Last 12 months Last 9 months Last 20 months Last 36 months
4
votes
0answers
1k 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 ...
4
votes
1answer
5k views

Magento 2.2.2 - Display Customer Account header dropdown and remove Sign Out link post login

After successful login, Luma theme shows customer account details in dropdown on header as seen in below image I need to replicate the same in our custom theme which has Blank as its parent. Vendor/...
4
votes
0answers
48 views

Magento 2 : There is Different Class for When User Logs Out Due to Inactivity

I need to redirect customer to a different URL when is logged out automaticly. I made a prefence for Magento\Customer\Controller\Account\Logout but it looks like, when the customer is logged out due ...
4
votes
0answers
214 views

Magento 2 : Email on customer Import

I have to import customers from Magento import customer feature and at the time of import there should be the email sent to customer and template should be registered_no_password so customer can set ...
4
votes
1answer
1k views

Send personalized email (different template) on customer registration on magento2

Is there a way to send a different email template on customer's registration based on some params (for example the customer gender)? For example: A male customer receive an email (defined in Maketing-...
4
votes
0answers
984 views

Default Billing Address not saved when user having no address and do checkout In Magento 2

I need help to save the default shipping address as Default Billing address. Steps to follow : Register as a new customer Now add product into cart Go to Checkout and fill Shipping Address Place an ...
4
votes
4answers
622 views

Magento 2 "All Customers" page does not work

Why doesn't load this page? What is wrong?
3
votes
1answer
535 views

Magento-2 How to show reset password options to first login customer

I have imported customer recently. customer imported by default password which I have set same password for all customer. Now I need two things to do for customer. How I can get customer login count, ...
3
votes
0answers
1k 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: ...
3
votes
0answers
81 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 when ...
3
votes
0answers
39 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 ...
3
votes
0answers
98 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 ...
3
votes
0answers
494 views

Magento 2 How can I add State and Country attribute for customer in Admin?

How can I achieve State and Country field functionality in Admin under customer Account Information? I have referred this link to create in front-end https://magecomp.com/blog/create-country-...
3
votes
1answer
864 views

How to send Payment Transaction Failed Email copy to customers in Magento 1

There is a setting in Magento Admin > System > Configuration > Checkout (from sales section) > Payment Failed Emails where you can add custom email id to receive it. But I want our customers to ...
3
votes
3answers
642 views

Only allow 6 digit number as customer password

Is there a way to make magento 2 only allow 6 digit number format as customer password?
3
votes
1answer
2k views

Newsletter subscription at the checkout review

Expected functionality: user checks the "Subscribe" checkbox in the OnePage Checkout's review step and is subscribed to the newsletter. So far I have managed to target the right event (after ...
3
votes
0answers
643 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) ...
3
votes
0answers
2k views

Magento 2 - Display eav attribute in customer grid (explanation & questions)

So where should I begin. In the last couple of days i've been working on showing custom attributes in the customer grid. There a couple of thing i would like to discuss since I don't really know the ...
3
votes
0answers
853 views

How to send invoice mail automatically when invoice is created on Magento 2

What i tried to do, is to send invoice mail automatically to the customer when I successfully created an invoice. By default the invoice mail in send just when i checked the Email Copy Invoice and ...
3
votes
1answer
75 views

M1 import orders disable all emails

We're working on importing orders from a legacy system into a Magento 1.9.2.3 store. We have a script that creates the customer if he doesn't exist and creates the order. We want to make ...
3
votes
0answers
500 views

Magento2 : how to set per website is_required custom attribute for account creation form

I have Magento2 multiple websites. I already added some custom attributes for the customer entity, and I wonder if it's possible to set the is_required field per website. For example, I have an ...
3
votes
3answers
1k views

Magento 2 : Remove Top Links When Customer Not Logged In

I would like to remove My Account link from top links, when customer is not logged in. How do I achieve it via XML layout files?
3
votes
2answers
313 views

Remove all buttons from customer edit page in adminpanel magento 2

I want remove all buttons from customer edit page in adminpanel in magento 2
3
votes
0answers
492 views

Magento 2: Customer session not getting on enabling cache in backend

This is my XML file. <referenceBlock name="category.products.list"> <action method="setTemplate"> <argument name="template" xsi:type="string" cacheable="false">Company_Module::...
3
votes
1answer
291 views

Send email from observer using smtp on magento 2

I have this observer, and now i send emails via php mail() function, but i want to use the SMTP. Can anyone tell me which steep i need to follow? public function sendNotification($to,$subject,$...
3
votes
0answers
421 views

Can't getCustomer isLoggedIn magento2?

I try get custommer is login. it not success. this is my code protected $_customerSession; public function __construct( ... \Magento\Customer\Model\Session $customerSession, .... ){ ... $this->...
3
votes
2answers
217 views

Confused by multiple, conflicting 'Last Logged In' Stats

This is an example of a customer page on the backed. It shows two fields, 'Last Logged In:" and "Last Logged In(America/Los_Angeles):", which is the home timezone of the store. I am confused at what ...
3
votes
1answer
946 views

Customer Session

I am using the magento customer session to store some data. I want it to be destroyed when customer logs out. However (customer/session) still persisting the data. One way is I can unset data on log ...
3
votes
4answers
487 views

Remove Addresses tab from customer edit page magento 2

How to remove Addresses tab from customer edit(form) page in admin panel Magento 2?
3
votes
1answer
1k views

Add customer custom attribute to customer grid for searching and filtering

I have Magento 2.1.3 and have added a custom field in to the admin area of customers which works nicely, however I am now trying to add that field to the customer grid view in the admin area so we can ...
2
votes
2answers
37 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 ?
2
votes
0answers
71 views

magento 2.3.3 customer loggin issue quote table is_active?

Magento 2.3.3 customer login issue quote table is_active? When there is more than 1 data in the quote table with is_active = 1 then the user is facing login issues. So I have to change is_active to 0 ...
2
votes
0answers
98 views

How to unsubscribe customers on mass / bulk in Magento 2.3

We have migrated from M1 to M2, and it appears on M1 we had customers "subscribed" in Magento admin but had subsequently unsubscribed in our email platform. Unfortunately, this had not ...
2
votes
0answers
26 views

Plugin for customer group

if set "Privileged Customers" group for a customer, than ablity to add vouchers for this customer. Otherwise exception should be thrown with the next message "Customer isn't in a privileged group". ...
2
votes
0answers
33 views

Magento 2 I want my clothing size to be remembered across for the session

A selected size filter in layered navigation on a category page must be remembered and reapplied automatically when again visiting that category or any other category in that session.
2
votes
1answer
88 views

What is the difference between getStoredData and getData?

I'm adding some custom logic in the admin when the customer is saved. I've created an observer on the customer_save_before event. I am using the following code to get the customer: /** @var \Magento\...
2
votes
1answer
258 views

How to add customer Attribute inside custom tab section insted of "Account Information" in magento 2?

I have created customer Attribute programmatically and need that attribute to outside of "Account information" tab... means in custom tab. I have tried with customer group.... ui component file as ...
2
votes
0answers
29 views

how to create custom api to get customer collection magento 2?

I am beginner to create API in magento 2. Can anyone help me step by step process to create custom api to get customer collection. Which is better REST & SOAP? Also, How can I test this custom ...
2
votes
1answer
58 views

Magento2.3.1 How to add customer grid mass action link reset forget password and custom reset forget email sent to customer

I am using Magneto 2.3.1 and how to add customer mass-action inside link add reset forget password and when select customer sent to email for customer, but email not use in default Magento our custom ...
2
votes
0answers
20 views

How to get customer default shipping and billing address data (i am after country and postcode)

I have customer ID - Not sure how to grab the default shipping/billing address. I can get the current shipping address and billing address but not the default. Is there any way I could get the default ...
2
votes
1answer
222 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?
2
votes
2answers
1k views

How to update the mini-cart proceed to checkout according to customer login in magento 2?

I Want to check the user login status in mini cart and redirect the customer to the login page when click the proceed to checkout button in mini-cart. How to edit the minicart.js file to achieve this?...
2
votes
0answers
23 views

$order->getCustomerName() returned ?? for unicode customer name

Under Magento EE 1.14, I have unicode characters in the customer name, the following code does return correct name in unicode for the first time: $order = Mage::getSingleton("sales/order")->...

1
2 3 4 5
14