Let’s see how we can re-index programmatically in this post. If you want to invalidate the indexer programmatically, Please check out the post – https://sbdevblog.com/magento-2-how-to-invalidate-indexer-programmatically/ We are very often required to re-index using code as […]
Month: January 2023
Magento2: How to Add Customer Address Attribute Using Data Patch
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 […]
Magento 2: How to Unlock Admin User?
We often notice that despite entering a username and password, we get an error: You did not sign in correctly or your account is temporarily disabled. It happens while someone has tried to attempt a […]
Magento 2: How to Get Formatted Price With Currency
Very often, we are required to get the prices of products, but we get those prices without a currency symbol. Therefore, we need to show prices according to the currency set in the store. To […]
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. […]
Magento 2: How to invalidate indexer programmatically?
Very often we need to perform the indexing. We either run the index manually or we set the index corn-based to run invalidated indexes automatically which we have set to Update on schedule. Some events […]