Wednesday, February 15, 2023

Magento2 get product object in template phtml of Extension

 $_product = \Magento\Framework\App\ObjectManager::getInstance() ->get(\Magento\Framework\Registry::class)->registry('product');


Sunday, May 24, 2020

Wordpress annotation plugin

http://php-you.blogspot.com/search/label/pdf%20annotation%20wordpress

With the plugin 
Plugin for annotation
Viewer page template for viewing all pages of pdf document with scroll
Manage annotation page for edit the text used for annotation and for deleting the annotation

Thursday, January 10, 2013

Magento Tips: 404 Not Found error after Magento module installation




Sometimes after Magento modules installation, you can see 404 page not found error in your Magento administration zone.




To fix this error, try to re-save permission role of your administrator user, using Magento admin zone -> System -> Permissions -> ‘Roles’ page -> Administrators -> Click on ‘Save Role’ button.


Don’t forget to clear Magento cache after this.