Don’t need to reinvent the wheel again and again. This article is about explaining why you should insist your vendor or client to go with some inbuilt framework rather to go with Core PHP. I will explain it via one real time example: Science Calculator Now assume, you have one…
Magento :Difference between Override and Rewrite
As Magento says don’t change the core files, so there are two ways you can change core files and for Block/Helper/Model classes. Definations:- Override : When we use design fallback mechanism then we are doing override Rewrite : When we rewrite magento Core classes in our class then we are…
Overwrite module phtml file and re-write in own theme Magento 2
Some day ago I am facing one issue in magento 2 with overwrite module’s PHTML file in my custom theme, So here is the solution , Steps, Copy the Phtml file from module (For module location On template path hint) go to MAGENTO_ROOT/app/design/frontend/VENDOR/YOUR_THEME/MODULE_NAME/templates/filename.phtml Here MODULE_NAME is your module name from…
Error after Magento 2 upgrade command
After firing this command from your terminal “php bin/magento setup:upgrade” If you get blank screen or your website crash and you get error in your log file, then just follow below steps to solve the issue. Here the simple steps are Delete the “di” folder located in var directory via…
N ideas to increase performance of website – Part 2
To get the basic idea please go through Part – 1. On Page Image Optimization As a general rule of thumb, larger files take longer to download than smaller files. Web page download time, also known as the Page Load Time depends on the total size of content assets being…