Magento
CategoryMagento 2.3+ – Attach a PDF on an email programmatically
Adding a custom made PDF inside an email would be something that you might need to develop, which is not standard contemplated by the core..
Magento 2.x – “Invalid Form Key. Please refresh the page.” when saving a product
Hi Everyone,
If you are trying to save a product on your admin panel, and getting the following error message “Invalid Form Key. Please..
Magento 2.x – create a PDF and its downloadable link
With the following code snippet, you will be able to create a link in your store, where an action is called and a custom PDF is sent to do..
Locally Install ElasticSearch to interact with Magento.
Prerequisites:
- Install Apt Transport HTTPS
Step 1 – Download and install ElasticSearch
- Save repository definition
Note..
Magento 2.x – How to get product option value on an order item by option sku.
Hi there, hope your doing well and staying safe at home.
In this post, i’ll show you how to get a custom option value, iterating throug..
Magento 2.x – how to force redirect to controller on observer
In this tutorial i am going to show you how to redirect a user to any particular controller. This was made on an observer, but could be po..
Magento 2.x – Rest APIs – Fix The consumer isn’t authorized to access %resources.
If you face the following message when you try to access to the Magento Rest API, it is because you do not have the authorization to acces..
Magento 2.x – how to set and get with a custom customer attribute programmatically
If you added an EAV attribute for your customer, and you now need to set it in a piece of code, the following snippet will be helpfull for..
How to map an image on different locations
If you need to locate where a user clicked over an image, in order to proceed with something according the placed clicked, you can use thi..
Magento 2.x – How to lock and unlock customers programatically
If you want to lock a customer programatically, you can perform the following steps.
- You can Lock it directly over the database chang..