All Questions

Tagged with
Filter by
Sorted by
Tagged with
1
vote
6answers
85 views

Magento 2.3: How can I get the customer ID with PHP?

I am trying to get the items of the cart as well as the customer ID in my Module. But the problem is that I don't know how to get the customer ID properly. In the Moment I have this Code and it works:...
0
votes
0answers
19 views

magento migration from 1.9.4.1 to 2.3.2 customers exception

I'm doing migration tests from Magento 1.9.4.1 to Magento 2.3.2. Setup: magento2, Ubuntu 18.04 php-7.2 nginx When I try to view the list of clients I get the following exception: https://pastebin....
0
votes
0answers
27 views

How to create an event-observer that will help print a log when admin modifies some customer details?

I want to design an event and an observer that will print a separate log containing the details of the fields that was modified by the admin in admin panel (under all Customers -> edit). How can I ...
2
votes
2answers
34 views

Observer to fire on customer login Page Url (baseUrl.“customer/account/login”) magento 2

I want to fire observer on customer login Page url(baseUrl."customer/account/login") magento 2. I tried customer_login event but it's firing after customer login. etc/events.xml <?xml version="...
1
vote
1answer
99 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
1answer
18 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 ...
0
votes
0answers
34 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 ...
2
votes
1answer
290 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 ...
1
vote
0answers
18 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 ...
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) ...
0
votes
0answers
17 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?
0
votes
0answers
130 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 ...
2
votes
2answers
59 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) $...
2
votes
2answers
214 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
24 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 (...
2
votes
1answer
171 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
58 views

Update custom data for customer

I'm trying to Create new customer attribute "last_login_at" to store customer last login date time. My requirement is to update "last_login_at" data for the customer after the customer logged in. I ...
0
votes
0answers
23 views

How to get custome token in PHTML magento 2

I need to add products in the cart using rest api in javascript. Code is below: var data = JSON.stringify({ "cartItem": { "sku": "240-LV08", "qty": 1, "quote_id": "4" } }); var xhr =...
3
votes
1answer
403 views

Magento 2 - Add Customer Attribute with Select Field

I'm trying to insert a customer attribute in magento 2 This is the InstallData script: use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\ModuleContextInterface; use ...
1
vote
3answers
335 views

How to get Customer attribute value by loading customer id in magento 2

I have customer entity id, how do i get customer attribute value by loading customer entity id, Please provide me a solution
0
votes
0answers
176 views

Magento2 Update customer attribute via API

I'm trying to update an attribute for a customer using the rest API Being that I have a customer id, it should be a simple API call to /V1/customers/{id} The description of that endpoint is Create or ...
0
votes
0answers
78 views

Disable customer registration and login

First post on the forum. Is there a way to completely remove customer creation and registration, so when checking out, we go directly to payment, without having to log in or register?
1
vote
0answers
54 views

How to rebuild Magento 1.3.2.4 corrupted database ready for migration to Magento 2.3.0

We have an existing old live Magento 1.3.2.4 website (which is completely backed up). We have built a new Magento 2.3.0 website which is ready to go live, but just needs the old Magento 1.3.2.4 data ...
2
votes
1answer
463 views

How to get order list of customer using graphql?

How to get order list of customer using graphql. I have below code to get order list using graphql but can't get it. schema.graphqls type Query { salesOrder ( customer_id: Int @doc(...