Questions tagged [customer]
denotes questions related to the customers module
2,078
questions
0
votes
2
answers
34
views
Magento 2 - Customer Type Table SQL
I need to create a query that will list me as in the admin panel all registred customers, of course, I can do it through the tables customer_entity. However, it does not contain the customer type ...
0
votes
0
answers
10
views
Custom customer attribute: Magento 1.9
I had a custom module Vendor_CustomerAccountExtended for customer modifications. Now I wanted to add there a custom attribute for customer(avatar). The problem is that I can create that attribute only ...
0
votes
0
answers
24
views
Order items not showing in the shipping mail for the Store owner
I upgraded the website from Magento 2.3.3 to version 2.4.3p2. When I do shipment of order then mail receives for both client and store owner.
But the issue is items are not displayed for the store ...
0
votes
2
answers
41
views
Add a custom button to Customer registration form on the admin
I want to add a custom button like "Generate a random email", into customer registration form section.
"Generate a random email" button will send an email to customer which are ...
1
vote
1
answer
21
views
How to update customer data when ordering magento 1.9
I'm making available to the user the option for him to edit his personal information during checkout, when he is logged in. How could I do this? which class should i extend ?
0
votes
0
answers
9
views
I want to create a new tab in customer dashboard and save its data in a table
I want to form a customer tab in customer dashboard.
When click on tab show custom tab having field customer name and save
data in custom table.
0
votes
0
answers
12
views
How to create a registration form in standard checkout magento 1.9
I need to create a user registration form in magento 1.9, but on the magento checkout page, and register the user at the end of the purchase. But I don't know the correct way to do this working in ...
0
votes
1
answer
34
views
Magento 2 - where to find "confirmation" attribute for customer?
Where is the status of "Confirmed email" saved in the database?
How can I change the value directly in the database for this customer?
I searched everywhere, but I can't find the table ...
0
votes
0
answers
18
views
Why does trigger_recollect go to an endless loop?
I am facing some issues after customer login.
When I debug, I check the quote table of that customer, and it is set trigger_recollect=1
If I am set trigger_recollect=0 all works perfectly.
can anyone ...
0
votes
0
answers
20
views
Magento 2 how to associate a customer to multiple companies
I need to extend the magento 2 b2b module to be able to assign a customer to multiple companies, currently i'm extending the company_advanced_customer_entity table to add an id as a primary key but ...
0
votes
0
answers
7
views
Export list of customers with 'created in' field - Magento 1
I need to export a list of all the customers with the field of 'created in' which indicates the language in which the customer was created'.
0
votes
2
answers
46
views
Magento 2: Customer not able to login on multi-website second website
I have a multiwebsite on 2.4.3p1 with urls xyz.com and xyz.com/wholesale. The customer is not able to login from the wholesale website. It is redirecting to the login page.
Any help would be ...
1
vote
1
answer
30
views
Add image attachment on already existed default shipping email magento 2.4
I am trying to add the image as an attachment along with the shipping email when a customer is notified like this $this->_shipmentNotifier->notify($orderShipment);
can anyone have any ...
0
votes
1
answer
29
views
Get customer custom attribute value without loading the customer
I'm trying to get custom customer attribute value (for attribute code abn_no) without loading the customer but not able to find any way to get it.
Is there any way to get custom customer attribute ...
0
votes
0
answers
17
views
Magento 2 customer logout immediately after login
I am facing an issue with Magento 2.3.7 customer logout immediately after login in frontend. Its random behavior sometime its working fine with login but sometime its logout after I login. I have ...
0
votes
0
answers
15
views
Create a Customer Segment based on number of orders
guys.
I need to create a customer segment to match customer that had no orders in the last 6 months or more.
I created the condition in the image below , but it is not filtering correctly
0
votes
1
answer
81
views
How to add custom attributes to Customer Export? (from the import/export admin page -> Customers Main File)
I need to add custom attributes to the Customers Main File export (from the Import / Export admin page), but I can't seem to find a way to do it.
I believe I can create a preference to override \...
0
votes
1
answer
17
views
Customer attributes not saving from admin
I've created custom customer attribues
$attributeCodes = [
['code' => 'customer_company' , 'label'=> 'Societe'],
['code' => 'customer_siret', 'label'=> '...
1
vote
0
answers
10
views
cache for customer
I am having a strange problem. When some customers login the cache loads with error (the page is lopped and images don't load). But for other clients after logging in the loading is normal. Is the ...
0
votes
0
answers
8
views
customer Testimonials for different categories
I use testimonials on my website where I can insert manual the messages and pictures which I will get from the customers.
I want to use it for each category "algenentferner" and "...
0
votes
1
answer
52
views
For Register customer, After adding the item to cart, when clicked on the edit product, customer header display signin
For Register customer, After adding the item to cart, when clicked on the edit product in Mini-cart, customer header display signin. ever had anybody faced this kind of error. Please help me if anyone ...
0
votes
1
answer
20
views
Magento 2 how to make frontend customer logged activley for 5 days?
I have Magento 2.4.1. I want the to customer must be logged in for min 5 days once he logged in to my website.
I tried with PHP setting session.gc_maxlifetime but that not working.
Is there any ...
0
votes
1
answer
16
views
Control manditory fields for customer create from adminside
how to add custom rule from js for firstname in magento2?
<validation>
<rule name="required-entry" xsi:type="boolean">true</rule&...
0
votes
0
answers
5
views
Synchronize all registered accounts outside the front end with add new account module in magento 2
I am writing a module with the function of creating an account in admin and that account if logged in will be redirected to our main page. And if that account is created outside when logging in, it ...
0
votes
0
answers
129
views
Searching for customers by their company_id / Magento 2 B2B REST API
We are trying to search for all customers which belong to a specific Company via the REST API.
When we get the customer JSON data, there is a field for the Company ID - company_id - so apparently the ...
0
votes
1
answer
56
views
how to set never expire Customer token in Magento 2.4?
In magento 2.4, there is a field in System > Configuration > Service > Oath > Customer Token Lifetime (hours). This field is Mandatory field,I wanna set this one never expires, Anyone know ...
0
votes
0
answers
35
views
Magento 2 : Set Catalog price rules based on customer IDs
I need to setup a catalog price rules based on customer ID. for that i added "customer_id column in "catalogrule_product_price" table. and put condition of customer ID in getRulePrice ...
0
votes
1
answer
131
views
Add date picker on customer registration form in magento 2.2
I want to add DOB field on customer registration page with 3 dropdowns as Day, month and year (datepicker)
Can anyone help me in that?
Currently the DOB field is just a text box.
0
votes
1
answer
150
views
How to get the customer email by customer id in magento2 admin grid
How to get the customer email by customer id in magento2 admin grid. in my table I have customer id based on customer id get the email id in the admin custom grid.
namespace Vendor\Module\Model\...
0
votes
0
answers
19
views
Magento 2 - How to make a customer attribute required in admin_checkout form only
Magento 2 - How to make a customer attribute required in admin_checkout form only
0
votes
1
answer
84
views
magento 2.4 customer login time increase up to 1 year or more
i want to my customer login time increase when he is one time logged in after when he/she open browser it must logged in
and i have below settings increased but not affecting in my store
Go to System &...
0
votes
1
answer
58
views
Magento 2.4 Get tracking Information from order/shipment [closed]
Track My Orders Using Order Status in Magento 2
Pending as Ordered
Processing as Accepted
Shipping as On It's Way
Completed as Delivered
0
votes
1
answer
41
views
How to encode custom attribute filed input value in magento 2
I have added column password_custom in table eav_attribute customer. I want to encode the input data. How do I do that? I followed the instructions here
https://vacademyideas.com/blog/how-to-add-...
0
votes
1
answer
53
views
How to add custom password in magento 2
I am wanting to create a password record in the customer_entity table. And after the user creates an inviting account it will save the user password in it.this is my current code
UpgradeSchema.php
...
1
vote
2
answers
121
views
Encrypt Customer data before save into the database and Decrypt Customer data after fetched from the database
I need to encrypt the customer data in the database, so if the database is hacked. the Hacker cannot access my customers (Customer privacy).
I need to encrypt the customer data just before saving it ...
0
votes
1
answer
21
views
Some old random orders are associated to newly registered customer Magento 2.3.5-p2
I have a problem about customer's orders. When new customer registers there is a chance that some random order will be attached to it. If I go to customer's orders I can see that they got orders which ...
0
votes
1
answer
126
views
Magento 2 how to associate one customer with multiple companies
Magento 2 how to associate one customer with multiple companies.
In Magento 2 admin, customer edit page we have a drop-down option Associate to Company, but I want it to make as a multi-select.
...
0
votes
1
answer
119
views
Magento 2.4.x, How to assign company to customer
In Magento 2.4.x, How to assign the company to customers???
I am using B2B, the M2EE version.
I tried this solution but it is not working.
Here is my sample code, I tried.
<?php
class YourClass {
...
-2
votes
3
answers
263
views
How to add custom attribute in magento 2 customer export dynamically while click on export button
When I click on the export button, I want to add a custom attribute in the customer data export file.
I am trying to override the vendor/magento/module-ui/model/export/ConvertToCsv.php file But when I ...
0
votes
1
answer
100
views
How can I get custom customer code from javascript in Magento 2?
I added a custom customer attribute to the eav_attribute table. I am trying to get this from within js.
For example, I can get
this.customer.firstname
but I can't get it like this
this.customer....
1
vote
1
answer
86
views
How to verify the email exist or not in magento2 api
How to verify the email exist or not using 3rd party api in magento2 while customer registration
thanks
1
vote
0
answers
60
views
Customer data not get in helper of Magento 2
We have sites in which React as Frontend and Magento 2.4 as Backend in which we are facing an issue to get customer data in helper file when a customer login into frontside React(API).
Do we need to ...
0
votes
1
answer
114
views
How to share customer data between 2 websites in the same Magento install?
Magento 2.4.2-p1
Smartwave Porto theme
extensions from Amasty
I've manually duplicated our 2nd website because of problems we were having (as can be seen here: 'Unique constraint violation found...
0
votes
0
answers
17
views
Class Magento\\Eav\\Model\\Attribute\\Data\\Email does not exist error comes when trying to create a customer using API Magento 2.4.2
The below JSON only I requested in V1/customers API but I am getting the error while trying to create the customer
{
"customer": {
"email": "test@gmail.com",
&...
0
votes
0
answers
28
views
How to force change customer confirmation status - email not received
Magento 2.2, a new customer contacted us because he is not able to confirm email since he said he didn't receive any email. He said he checked junk mail and everywhere and couldn't find that email. ...
2
votes
2
answers
220
views
Redirect Customers to specific page after Login in Magento 2?
How to redirect customers to a custom page when they go to any other page.
I have set Redirect Customer to Account Dashboard after Logging in to the store configuration but it is not working.
0
votes
0
answers
21
views
Extend Customer API Functionality
I am trying to extend the customer API functionality, so that as well as being able to get a customer by default using the ID using:
http://c4u.local/rest/V1/customers/1
I can also get it by a custom ...
0
votes
1
answer
61
views
Which tables need to restore to get backup of all customers in magento 2.4.1
I am using magneto 2.4.1. Accidently I have deleted all my customer lists but I have a backup. So now which tables I need to restore to get back those all customer list.
0
votes
0
answers
30
views
How to uppercase customer first and last name server side before register?
I am trying to find the observer but not getting the perfect solution. It would be a great help if you can suggest the best solution for this.
Thanks in advance.
0
votes
0
answers
61
views
magento2 success toast message is not shown on ajax login response
I have checked in Login.php under Ajax folder on Customer module, success toast message is not showing on successful login. But Failure message is showing properly.
May I know the reason. What was ...