Questions tagged [customer]

denotes questions related to the customers module

Filter by
Sorted by
Tagged with
0
votes
2answers
19 views

Unable to save value of customer attribute in magento2

I am trying to edit customer form data in which i have added one contact number as attribute in form. On removing the text from contact number and then saving it i am not able to save null or empty ...
0
votes
0answers
9 views

How to implement popup for new users?

I found a nice popup implementation https://magento.stackexchange.com/a/222160/85778, but how do I define new users? For example. If 48 hours have not passed since the creation of the user, then it is ...
0
votes
2answers
36 views

Attributes showing values instead of their labels. Exporting in customers grid: Magento 2.3.5

I Have two custom attributes in my customer grid, named old_customer (1=>Yes,0=>No) and zone (1=>India, 2=>UK, 3=>Others ) , both attributes is_used_in_grid is true . but while I'm ...
1
vote
1answer
23 views

How to get customer id using graphQl?

I am getting below data on customer data GraphQL query const query = () => ({ query: { customer { customer_id firstname lastname suffix email ...
0
votes
0answers
9 views

Why do some of my products not have a custome price check box when creating an order from the admin side? Magento 2.4

When creating an order in Magento 2.4 Some of my products will have a custom price check box, and some of them won't. The attributes for each are exactly the same. The only difference is the name. Is ...
0
votes
1answer
21 views

Magento 2 - How to add customer name in CMS page/block?

I need to add the name of the customer into a CMS Site or Block. I tried to insert {{var customer.name}} as seen in the documentation, but it does not work.
0
votes
2answers
24 views

Address Options > Number of Lines in a Street Address

I am experiencing a problem in my magento 2 store. I cannot set the line quantity in Settings> Client Configuration> Name and Address Options> Number of Lines in Address I can put any value 1,...
0
votes
1answer
27 views

How to update value of custom customer attribute (image) from frontend in magento 2

Trying to update custom customer attribute value while customer edit from frontend , and my field is file upload control but unable to save the attribute Tried $customer = $observer->getEvent()->...
0
votes
0answers
13 views

Unable to save additional option and Custom Price on Customer Login!

I'm adding an additional option and custom price of a product via custom api Call in quote using this code $quote->addProduct($_product, 1) ->addOption(array( '...
0
votes
0answers
8 views

Custom customer attribute search not working in admin

I added an attribute to customer, but when I try to search values of customer code on the backend, nothing comes up. I can't get my customer attributes to be included in search. What can I do to get ...
0
votes
0answers
18 views

Prevent new customers (never purchased anything before) from ordering specific products in Magento 2

I am in a situation that requires to prevent new customers (who never purchased before) from placing an order that contains some specific products. These products should be available for all customers ...
0
votes
1answer
24 views

Move Customer from one website to another

I am able to move the customer from one website to another from the list view. However, I am not able to change the associated website after clicking edit Also, after moving customer from one website ...
0
votes
1answer
48 views

Magento 2.3 Customer My Account Custom Tab

I am trying to create a custom tab in Customer my account area and adding a link in the left bar to it, have followed the code structure similar to this article: https://www.mageplaza.com/devdocs/add-...
0
votes
0answers
13 views

How to Add Custom mass action in Customer grid?

I'm using Magento 2.4.1, i want to sync multiple customers data to another place using mass action in Magento 2 backend customer grid, the problem is I don't know how to add an option in the mass ...
0
votes
0answers
31 views

How to change “Account Created In” value from the Customer grid in Admin panel

The customer has a value of "Account Created In". They are also displayed in the customer grid. If you change the value of "Send Welcome Email from" on the customer information ...
0
votes
1answer
35 views

How to update new value field on customer_entity table?

I am new to magento 2, and I would like to know how to update an added field in the customer_entity table, I have created a popup form with sending the information through post jquery, and the ...
0
votes
1answer
24 views

Magento 2 Commerce : How to get the customer segments associated with current customer?

How do I get the customer segments associated with current logged in customer.
0
votes
0answers
16 views

Customer Extension Attribute - Exception #0 (ReflectionException): Class object does not exist

I am trying to create an extension attribute on customer entity but running into an issue. I will omit model/resource model/collection in below example as I don't believe they are part of the problem. ...
0
votes
0answers
20 views

How to send customer a reset password link using REST API?

EDIT: I made changes to my discussion of IsEmailAvailable to correct an error in my assumption as to how that works. I am unsuccessfully trying to get Magento Commerce 2.3.6 (on Adobe Commerce Cloud) ...
0
votes
0answers
10 views

Magento 2 Customer last_login_at column not exporting

I am unable to export the last_login_at column which is in the customer_log table in System -> Export -> Customer Main File area. Could you please help me out?
0
votes
0answers
14 views

php -f bin/magento customer:hash:upgrade not working in magento 2.3.3

After migration from magento 1 to magento 2, I ran this command but it is not working. I am not able to login with customers passwords. Why the command is not working?
0
votes
1answer
22 views

Multiple Magento Installation

I would like to have multiple Magento installation for my company, because I want to put the installations on different server in the world, but I would like to ba able to login on all installations ...
0
votes
0answers
20 views

After deleting the module I'am getting “class does not exist” - magento2.3

I had created the dropdown action in the admin panel in the customer grid after that I had deleted the module but the view all customer page is getting an error in the admin panel as the class does ...
0
votes
0answers
8 views

Duplicate customer orders functionality for new type of order

I'm looking to create a new menu item in addition to the standard Orders menu item on the customer account page. However I need to have the new menu item, target orders of a new type. So for example, ...
0
votes
2answers
21 views

How to add tables to database with foreign key?

I'm trying to extend costumers to add some wholesale info we need, so I'm trying to create a module with an InstallSchema to create, let's say, the table 'wholesale_info' with some columns and getting ...
0
votes
0answers
13 views

Magento 2 - Redirect to last page after login for custom login form

I created a custom login form in the header. If you click on the icon then the form shows. However, if I login in this form, then the user is getting redirected to the customer dashboard, after he ...
0
votes
1answer
22 views

How to remove specific column from the customer edit form view?

I have this form with many columns. I'd like to remove the specific column which is Enable Delivery Order Service. In what kind of way I can achieve this?
0
votes
0answers
10 views

Magento 2 times used of cart price rules are wrong

I have configured a cart price rule without coupon with uses per customer as 4. The customer gets discount for his 3 orders. But he didn't get the discount for 4th order. But the "times_used"...
0
votes
0answers
14 views

how to append media url in magento customer edit page admin custom field in magento 2.3

customer_form.xml <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
0
votes
0answers
11 views

How to create multiple active quotes for a single customer

I want to create multiple quotes for a single customer and assign the quotes based on some identifier in the quote table. For checkout, I want to use a single quote every time but in the quote table ...
0
votes
2answers
25 views

get() in CustomerRepository doesn't receive $customer from retrieveByEmail() for password reset

I've got the weirdest problem I've ever come across, I'm not brilliant with class based systems so maybe its not magento related... So the basics are that the reset password function isn't working. I'...
1
vote
1answer
24 views

Adding phone number to customer creation page

I want to add phone number to the customer creation page, since on of our users want's to contact people when they register to their webpage. I did follow this guide (https://store.magenest.com/blog/...
2
votes
1answer
17 views

Can we create Two customers with same email (Magento 1)

I have just saw a different behaviour I have created a customer with email "abc@abc.com" from admin. & then tried to login from frontend but it asked to sign up i sign up & customer ...
0
votes
1answer
24 views

How to filter customer by custom attribute using SQL query?

The zd_user_id is our customer custom attribute. $customerCollection = $this->customerFactory->create(); $customers = $customerCollection->addAttributeToFilter( [ ['attribute' =&...
0
votes
0answers
11 views

how to create customer in installData?

$websiteId = $this->storeManager->getWebsite()->getWebsiteId(); // Instantiate object ( this is the most important part ) $customer = $this->customerFactory->create(); $...
0
votes
1answer
26 views

In magento 2 how can i give discount to product if particular category's product exist in cart?

In Magento 2 I am want to give a 15% display to the product which do not exist in the "member" category but in cart must be 1 product available which is from the "member" category. ...
0
votes
1answer
33 views

while creating customer account in magento 2 it shows “we can't save the customer”

1 exception(s): Exception #0 (ReflectionException): Class Mageplaza\CustomerApproval\Model\Config\Source\AttributeOptions does not exist
0
votes
0answers
14 views

How to create REST API to upload image into customer custom fields

I am using Magento Enterprise Solution. Where I have created a few custom fields (File Type) for a customer. I want to get help to create REST API to upload an image into these fields by using REST ...
3
votes
1answer
33 views

Error while Creating custom attribute for Customer

So i'm creating a custom attribute for Customer, the attribute was created with success. But when i try to register a Customer, it says that "field is required" even though it's filled. So i ...
2
votes
0answers
34 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 ...
0
votes
1answer
17 views

Set specific source inventory to customer with MSI

We currently have a B2B project with about 50 physical stores, and each store has its own independent inventory. Each customer is assigned to one or more physical stores. When the customer logged in, ...
0
votes
0answers
14 views

Adding data to the admin's view customer page

So we're currently working on an additional process where customers will be segmented to special customers based on the required government ID they upload. I added this extension: https://github.com/...
0
votes
2answers
33 views

Magento Commerce 2.3 Quick order link for logged in customers only

By default the Quick order functionality of the B2B module is available for both logged in users as well as for guest users. What can I do to hide it from guest users and make it available/visible for ...
1
vote
1answer
141 views

Magento 2.4 cannot edit customer admin

After using magento 2.4 updated from 2.3.5 about 2 weeks I noticed in some customer, which are subscribed in newsletters and have been sent from us 1 or more newsletter, when trying to edit in admin ...
0
votes
0answers
34 views

Plugin / Interceptor on Customer Custom Attribute (M2)

Is there a way to have a plugin / interceptor on a custom attribute to modify its value regardless of where used on the website? We have an additional attribute on Customers (is_allow) which returns a ...
1
vote
1answer
20 views

Migrated Customers not able to complete the purchased

Before is started in this company they migrated a lot of customers from Magento 1.9 to Magento 2.3. The issue we are seeing with customers that is from Magento 2 is when they go to checkout they ...
0
votes
0answers
35 views

In Magento 2.4 How to update subtotal with custom price after add product to cart and check if customer is login?

I want to update cart subtotal by custom price. Example : I have display member price which is 10% of final price and i have display it on product details page and cart page now i want to update ...
0
votes
1answer
15 views

No show customers in Customers section table

I have a problem after upgrade from 2.3 to 2.4. After correctly upgrate I don't see customers inside the table customers. In particular, I'm seeing only the first row on the table while all other rows ...
0
votes
0answers
31 views

magento 2 iframe issue

Invalid 'X-Frame-Options' header encountered when loading '': '*' is not a recognized directive. The header will be ignored. Refused to load the font '' because it violates the following Content ...
0
votes
0answers
14 views

Adding a tab to customer information in Magento 2.3.5

I'm trying to add a tab to the customer information section in the admin from my custom module. For some reason it is not adding the tab Here is my view/adminhtml/layout/customer_index_edit.xml <?...

1
2 3 4 5
41