Magento 2 comes with lots of advanced features. But most of the Magento 2 websites are slow. If you want to speed up Magento 2 website then follow these steps to get faster speed:- 1. Run Magento 2 on product mode which is the faster mode among (default, developer, production). 2. Enable Full page cache …
Magento
Magento 2 delete empty categories programatically
Deleting all empty categories and sub-categories is not easy in magento 2. To delete empty categories in magento 2 you need to find each categories in backend and delete them one by one manually. In case there are lots of empty categories created with any import script and extension then it can become a cumbersome …
Disable invoice email notification in magento
In magento, most of the payment gateways like paypal, stripe etc. creates the invoice automatically after capturing the amount. Once an invoice is created its email notification is send immediately. So, once a customer place an order, they gets 2 emails immediately one is for order confirmation and another is for invoice. Both have very …
Programmatically clear system configuration cache in magento
While making custom extensions or implementing any business logic, we need to update a system configuration programmatically. But the updated configuration will apply once we clear the cache manually which will be not suitable in case configuration update is made automatically or on occurrence of certain event. Using following code you can clear system configuration …