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…
N ideas to increase performance of website – Part 1
Website speed matters. Fast-loading sites perform better on all fronts: better user experience, higher conversions, more engagement, even higher search rankings. If you’re targeting mobile traffic, site speed becomes even more important. No one wants to download a 4MB website on their smartphone, but most sites are that way. Your…