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
1answer
25 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
1answer
23 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
273 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
0answers
21 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
20 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
39 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
35 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
25 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
18 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
29 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
23 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
18 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
47 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
46 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
32 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
41 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
34 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
23 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="...
1
vote
0answers
28 views

Import users/customers in Magento 1.9 without overwriting users/customers users passwords

As per title, I'm exporting users/customers from a previous Magento installation via the Dataflow functionality. I've a problem with the import: the new installation already has some users/customers, ...
3
votes
2answers
133 views

Magento 2 - Customer/Token Rest API issue

Customer is signup through rest api in magento 2.3 successfully. after signup, I am unable to get customer's token through customer/token rest api. Api returns following error: Any help, experience ...
2
votes
0answers
22 views

when register in magento2 getting no entity

when I'm registering magento2 getting an error like Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with email = prasad@value22.com, websiteId = 1 Exception #0 (...
1
vote
1answer
43 views

How to redirect customer on custom page after registration in Magento 2

Here is my code customerregistersuceessobserver.php <?php namespace Webkul\Marketplace\Observer\Rewrite; use Webkul\Marketplace\Observer\CustomerRegisterSuccessObserver; use Magento\...
1
vote
1answer
21 views

how can we access customer session in checkout

I have one special field called some_id in customer data and I want to save the some_id and quote_id in database. I am using sales_quote_save_afterevent to save both ids. But my customer session is ...
2
votes
0answers
25 views

Magento 2 Increase guest session time and keep the items in cart for 20 days

I want t increase guest user session time in magento. If guest user add to cart and just go for lunch or any other activity putting his/her website open in browser, when user come after 5-6 hours ...
2
votes
1answer
44 views

How to filter customer collection with its attribute?

I've bunch of customer attributes, So how can I filter customer collection with its custom attribute ?
1
vote
1answer
32 views

How to create page in customer account section Magento 2

I want to create new page and link to => HISTORY how i can do this?? where I can add a new link?
1
vote
0answers
32 views

Do not make Customer Default Shipping Address while creating an Order

When User Go To Checkout Page, And if he has already added the address, I do not want it to be preselected. it always shows unselected. Like This
2
votes
3answers
57 views

Magento 2 New user give the discount

In Magento 2.2.6, How to give 5% discount for a newly registered customer ? Thanks in advanced!
0
votes
2answers
10 views

Magento 2 Customer import fails

I had exported customer from local machine and i am importing on server. When i tried to import on server it gives me an error saying "Sorry, but the data is invalid or the file is not uploaded." I ...
2
votes
1answer
27 views

POST /rest/V1/carts/{cartId}/items isn't working when logged as customer

I'm trying to use all the /carts/{cartId} endpoint list in the magento rest API documentation with the cart ID I've recevied on POST /rest/V1/carts/mine but every time I'm getting a error "message": ...
0
votes
0answers
21 views

Magento 2.2.2- ACL Permissions not Working for Customer module

I have created a new admin user and set a new user role which have access to only customer section. When we logged in with that particular user , we are able to see the customer list but when clicked ...
1
vote
0answers
31 views

Import only the customer from magento 1.9 to Magento 2.2

I am creating a new site with Magento 2.2 I need to import only the customer from an old site that is running on Magento 1.9. Any option can be import customer details using .csv file.Please help.
1
vote
1answer
50 views

Can't Export Customers Error Please correct the data sent value

Magento 2.2.7 Trying to export customers and get the error, Please correct the data sent value. Exception log says, main.CRITICAL: Notice: Undefined offset: 14 in /home/public_html/vendor/...