If you have been fixing or working with computers for awhile, you probably remember how much of a pain it could be to find the right installation media for reinstalling Windows. Mainly, because if you had a Dell, HP, or other store bought laptop or desktop, you couldn’t just use any Windows CD, but had […]
While helping a client with a Magento migration from Magento 1.X to Magento 2.X, it was necessary to convert some serialied objects over to json objects. While there is a data migration tool available for Magento 2, due to some technical reasons it wasn’t possible to convert this data over using the Magento 2 data migration tool, so I wrote this PHP script to convert the data over.
In the past, I have written about how to convert values in the wordpress database from serialized objects to JSON objects, but that used some of Wordpress’s functions to process the data and update the database.
This post describes a similar process, but is more generic and should work outside of Wordpress.
One of my web design clients ran into an issue on their Magento site recently when logged into the admin section and searching their mailgun transactional email log. After a little digging I found that there was an issue in the plugin they were using, Freelunclabs Mailgun integration.
I believe this issue only impacted admins using that search and so added a quick update to fix the search grid in the Magento extension.
If you have ever had to change an Order in Magento 1.X, you know it isn’t a straightforward process. By default, if you ‘edit’ the order, it actually cancels the existing order and then recreates it. Also, once an order has shipped or a credit memo has been created, I think you can’t even do […]
In an effort to add some accountability to the product deletion process in Magento, one of my clients asked me to help add some logging whenever a product gets deleted. While you can often piece together what happened via your server logs, this doesn’t work as well when you have multiple users and if you have a lot of products, it can be hard to figure out what actually got deleted without going back to check a database backup.
This post describes hooking into the catalog_product_delete_after and using an Observer to write a log entry whenever a product is deleted in Magento.