Category: Magento 2
Install your generated module – Mage2gen
When you have generated your first module with Mage2gen it’s really easy to install the module in your Magento 2 Installation.
Your First Generated Module – Mage2gen
So let’s make a Basic Module with your buddy Mage2gen! Stop writing code and start generating!
Magento 2 Send Email Example
Sometime you need a small script to send a simple email. For example to warn a store owner that a import has failed. This code snippet shows you, in my opinion, the best way to send such email. Without bypassing all the Magento plugins that enable or disable emails and …
Magento 2 Incorrect Prices with Website Scope
Sometimes you have incorrect prices but you think they should be correct. Maybe there is a reason!
Magento 2 Remove Sample Data / Test Data
Sometimes you wish to remove Sample Data or even Test Data before going live with the webshop. In this article there are several queries which you can use to remove specific elements.
Magento 2.2 Inline Translate
In Magento 2.2 it is no longer impossible to enable inline translate in production mode. Sometimes the merchant still wants to update several translations, this is possible with the Mage2 Module Experius Missing Translations.
Magento 2 How to modify HTTP Header of a Page?
Sometimes you want a Search Engine to know that an URL is Gone. To do so you have to modify the HTTP Header of the Page. In this article you get a couple snippets with an explanation how you can modify the headers of a page by using the Magento …
Magento 2 Single Store Flat Index
Sometimes you want to test an update in the Flat Catalog on your development environment, but when you have several storeviews with many products you have to wait a very long time for the Flat Catalog Index. It is possible to add just one line of code temporary to the …
Magento 2 Storeview in a subdirectory
You could run a storviewe in a subdirectory and it depends on your server (NGINX or apache) how you can configure this.