Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [customer]

denotes questions related to the customers module

0
votes
0answers
20 views

Magento : Customer Not Able to Login

Recently I upgrade one website from 1.8.1.0 to 1.9.4.0. Everything working fine into the website accept one issue. I face strange issue, The customer who make the payment using "Paypal Express ...
0
votes
1answer
17 views

Magento 2.3.1 : No such entity with customerId = Backend Login as Customer Logs page

My English is not perfect sorry. I am using Magento 2.3.1 and I saw this issue. Admin > Reports > Customers > Login as Customer Logs Login as Customer Logs No such entity with customerId = 1 I added ...
0
votes
2answers
16 views

How to deny customer to change email adress

I am using Magento 1,9 I am making a b2b store and I would like to deny customer from changing email adress at any time, so this can only be done in backend And easy solutions?
0
votes
0answers
17 views

Redirected automatically to a store view based on a user group - M2

I have created two store views, one for my normal customers (group) and one for my wholesale customers (group). I need that when a Wholesale customer login will be redirected automatically to the view ...
1
vote
1answer
21 views

Magento 2 : Is there any way to stop to sending email to customer while importing customer?

Is there any way to stop to sending email to customer while importing customer ? Is Disable Email Communication : OFF this helpful for that ?
0
votes
1answer
19 views

How to change “input file” storage location in customer account edit form

I have added a customer attribute called "My File". It gets added in customer account edit form. By default, the selected file(My File) is saved under "pub/media/customer" directory. In my case, I ...
0
votes
0answers
11 views

Magento 2 Customer dashboard ../customer/account/ error Object DOMDocument should be created

i have problem with magento 2 ../customer/account error Object DOMDocument should be created. In report file i have this: a:4:{i:0;s:37:"Object DOMDocument should be created.";i:1;s:14394:"#0 /...
0
votes
0answers
20 views

How to set up address fields in magento 2?

I need only the first name, last name, telephone number, city, email, and one custom field in address form. But some of the fields are required for backend validation. I tried to make a plugin for ...
0
votes
1answer
16 views

Change condition to add new address if no address save in customer My address book

I want to change the condition that redirect you to customer/address/new if you want to see your address book. I just want to open the address book empty without force users to add a new address in ...
1
vote
1answer
6 views

how to find out where customer subscribed to newsletter from?

Is there anyway to find out where the customer sign up to newsletter from. i know the default way of subscribing is footer, but i am using the exact same way in different page also at checkout. Is ...
0
votes
1answer
19 views

Cache breaks my check for detecting if a customer is logged in

When I turned off cache (bin/magento cache:disable) the below code works otherwise it's not working. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $customerSession = $...
0
votes
0answers
19 views

how to create Mobile Number Verification (OTP)SMS on customer registration API webservices in magento1.9.x?

how to create Mobile Number Verification (OTP)SMS on customer registration API webservices in magento1.9.x? If you have any api code then please share me...
1
vote
3answers
45 views

Mangento check customer if exists

I need to load the customer by using customer repository to check if this customer is exists i used dependency injection in controller but it doesn't work. Can anyone help me? Many thanks namespace ...
0
votes
1answer
24 views

How to Force user to login to view catalog

I am beginner in Magneto and I have install magneto 2.1.15 using WAMP server. I want to force user to login first then redirect to home page to view catalog and other menu. Please suggest where ...
0
votes
1answer
25 views

Magento 2 Can not save custom attribute for customer

I am getting following error while register customer with API. It happen when i am try to save Company field. "Property \"Company\" does not have accessor method \"getCompany\" in class I have use \...
0
votes
1answer
26 views

Customer information not displayed in header after login

I am logged in my local machine as customer and magento header not displaying the name of logged in user. I am also tried to add product but cart is empty. Give me your suggestions to resolve this ...
0
votes
0answers
18 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
0answers
30 views

Magento2.3.0 How to overrite Customer this file Magento\Customer\Controller\Account

Please if anyone know how to override this file in our theme please reply me "Magento\Customer\Controller\Account" creatPost.php file This is my Mageplaza/HelloWorld/etc/di.xml <config xmlns:...
2
votes
0answers
276 views

Magento 2.3 - Updating a customer without store_id sets the store_id to default using REST

There are multiple store views in my site. I created a customer and set his store view to some value that is not the default. Use the rest api to change the first name of the customer (Like: put to ...
0
votes
1answer
12 views

Magento 2 logout using curl

As per my requirement i want to logout the customer using PHP curl. for that I used the following code in my custom controller action(execute) $lastCustomerId = $this->_customerSession->getId()...
1
vote
0answers
11 views

Create customer with default addresses via API

Is it possible to create customer via API and set default billing and shipping address at once ? I know that in customerCustomerRepositoryV1 and customerAccountManagementV1 are fields like ...
0
votes
1answer
11 views

How to add product to customer cart in magento2 programmatically

Everything works well, but it adds for all by default, but I need it added for a specific customer, regardless of whether it’s active at the moment or not, I have a customer ID, but how can i add ...
1
vote
1answer
34 views

Magento 2 how to use RepositoryInterface getList and why

I keep reading about the use of [interface]::getList within Magento 2 and how it's the preferred method for fetching records. For example: namespace Magento\Customer\Api; interface ...
1
vote
2answers
21 views

Magento 1.9.x trying to save $customer data => “Uncaught Mage_Customer_Exception: This customer email already exists”

Magento 1.9.x trying to save $customer data => "Uncaught Mage_Customer_Exception: This customer email already exists" We are looping thru all customers, updating data and saving Only when saving a ...
0
votes
0answers
10 views

Magento 1. Can we create a “customer based” bestsellers list of products (or product attributes)?

We would like to create a “customer based” bestsellers list of products for the logged in customer. It shows a list of say top 5 most bought products sorted by total qty sum desc. Question: How can ...
0
votes
0answers
11 views

Magento 1. Set customer attribute based on (max) order attribute values

we want to store some meta/customer attributes dynamically based on order data. Per customer we would like to store the brand attribute that was sold most and store the size attribute that was sold ...
1
vote
0answers
19 views

Magento 2.3.x Membership / Recurring Billing Solution

I'm looking for a way to setup a membership based store using magento 2.3.x. I need to be able to allow the customer to subscribe to a membership on a monthly or yearly billing basis (auth.net ARB) ...
2
votes
0answers
16 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")->...
0
votes
0answers
12 views

Remove recent transaction tab from my account page

I want to remove recent transactions tab present in my account page. Can anybody help me remove it by using layout file or any other method?
1
vote
2answers
59 views

How to override login.phtml in a custom module in magento 2 [duplicate]

How to override customer login.phtml file in custom module, whenever i try it not doing what I expected
0
votes
0answers
49 views

User Login not Working after Migration 2.2 into 2.3.1

I have Just Migration Magento 2.2 store in 2.3.1 Version but Customer User login not working after that. Give me below error. The account sign-in was incorrect or your account is disabled ...
0
votes
1answer
32 views

Magento 2 : View all orders on frontend

I have a customer group store_admin. If a customer belongs to store_admin, he should be able to view the orders placed by other customers. I am unable to find out where does Magento check for logged ...
-1
votes
0answers
36 views

How to get custom attribute front end value / label in Magento 2?

I am trying to get the frontend value of a custom customer attribute. I have the following code protected $_customerRepositoryInterface; public function __construct( .... \Magento\Customer\...
0
votes
2answers
36 views

How to show customer first name and last name after logged in Magento2.2.5?

I want to show customer first name and last name after logged in Magento2.2.5? As default magento fetches the first name and last name after logged in. In my case, I have removed magento default ...
0
votes
0answers
26 views

How to add product to the cart with customer id and product id magento 2.3?

Actually while adding product to the cart with product id and customer id, i am facing one error "We found an invalid request for adding product to quote." If anyone have any idea please guide me. &...
0
votes
1answer
17 views

“Require Customer To Be Logged In To Checkout” not available in Magento 2.2

Our Magento 1.8 store had the option "Require Customer To Be Logged In To Checkout" in the admin, so anyone could go to the checkout and login or checkout, and guests would have an account created ...
1
vote
1answer
19 views

How to get _data:protected on printing customer data in Magneto 2.6?

How to access this value from array [value] => 11113610 ? Array ( [is_saml] => Magento\Framework\Api\AttributeValue Object ( [_data:protected] => Array ( ...
0
votes
1answer
30 views

Magento2: How can i get all Customers from database tables

I want to get all Customers record (including their address) from database.How many tables i have to dump for.Kindly enlist the tables names here. How many tables which i have to dump and import ...
0
votes
0answers
24 views

A technical problem with the server created an error throws when customer is saving in backend magento 2.2.6

In the admin section of Magento, Customer edit & update the content and save the customer. It throws an error like: A technical problem with the server created an error . Try again to ...
1
vote
1answer
20 views

How to get phone on in customer form edit(Account setting) Magento 2

I have added a phone no text box in Customer Account edit form(Account Edit). Block file \Magento\Customer\Block\Form\Edit The issue is, I am not able to get the phone no to get it after the ...
2
votes
2answers
48 views

Customers custom attribute with dropdown is not working

I need to create a custom attribute for customer entity with the Yes/No. I tried to use boolean type and also select method. But nothing has worked. Below are my work: Try 1: (Type as select) $...
0
votes
1answer
34 views

php-cuong customer avatar customer profile image

I am getting an error, In admin panel when clicking on customers-> All customers, it is throwing an error Class PHPCuong\CustomerProfilePicture\Ui\Component\Listing\Columns\Avatar does not ...
1
vote
1answer
48 views

Magento 2 - How to validate your input with custom validation

We have created custom attribute name "username" for customers. We need to validate the username by allowing certain characters only. i.e. Username should contain : a-z A-Z 0-9 & .@_- only
1
vote
0answers
25 views

Magento 2 add a field to front account information tab

I'm trying to add a custom text field to the edit account information page on frontend customer dashboard, so i tried to create a module like this in VendorName\ModuleName\Setup\InstallData.php ...
1
vote
1answer
68 views

Magento 2 - Auto login with specific URL

I have a custom module, I want to auto login a customer on it when the customer comes with an specific url like: www.example.com/myModule/?k=2sadf23wasdfde3wefsd34ss43545sdgasdfg/ I have the email ...
0
votes
1answer
33 views

Need to fetch custom customer attribute load via SOAP API 'customerCustomerRepositoryV1'

I used SOAP API '{$baseUrl}soap/default?wsdl&services=customerCustomerRepositoryV1' to get customer attributes values. I am successfully getting these attributes values like name, email etc all ...
0
votes
3answers
30 views

How to get Customer Detail using Order id in Magento 2?

Please Help me on this , i want get full customer data using order id. 1) I have a order id in my phtml file i want to get whole data using block class and phtml file.
1
vote
3answers
42 views

How to migrate only Customers from magento 1.x to magento 2.x?

Actually i want to migrate Customers from magento 1.9 to magento 2.3 if anyone have any idea please guide me.
1
vote
1answer
35 views

How to create a custom API in magento 2 which can be accessed by all the customers only?

I need to create a custom API which can be accessed by all the customers only in magento 2 . Please help.
1
vote
1answer
24 views

Magento 2 validate the form input using plugin and save the modified data

I am using custom plugin to validate the user input for customer profile. I have created Module Company_Module and create di.xml file in etc to verify the input given by the user: <type name="...