Let’s see how we can add customer address attributes programmatically using the data patch in this post. We have seen how we can add product attributes programmatically using the data patch in a the post […]
Tag: Customer
2 min read
Magento 2: How to check customer is Logged in Knockout JS?
We have got logged-in customer id. We also have got logged-in customer id while Full Page Cache (FPC) is enabled. Now, we will explore how to check whether a customer is Logged in using JavaScript. […]
1 min read
Magento 2: How to get current customer id while FPC is enabled?
We have tried to get customer id in post https://sbdevblog.com/magento-2-how-to-get-the-current-customer-id/ . However, we are not able to get customer details like customer id, Log-in Status of visitor because we are getting NULL value each time we […]
1 min read
Magento 2: How to get logged in customer’s id?
We will check How to get logged in customer’s id? in this post. We need to read the customer sessions in order to get the current logged-in customer-id. This post shows you by reading customer […]