Skip to content

magento man

my First Admin Page is not shown up

I try to write a own module. After 1 week of searching I hope u can help to go on. Its a very simple admin page. module_dir: app/code/famberg/module_afterbuysync/ … Controller/Adminhtml/Settings/Index.php: <?php namespace FambergAfterbuySyncControllerAdminhtmlSettings; use MagentoBackendAppActionAction; use MagentoBackendAppActionContext; use MagentoFrameworkAppActionHttpGetActionInterface; use… Read More »my First Admin Page is not shown up

Amasty module conflict with custom module

I have added a custom module for layered navigation in frontend. It has a custom controller with endpoint https://example.com/wheels/index/result/?make=Alfa+Romeo&year=2021&model=Giulia&tire_size_select=225%2F50R17&fitmentlevel=4lift I give this error after installing amasty layered navigation module. The code where this error is origination is this. app/code/Amasty/Shopby/view/frontend/templates/layer/widget/fromto.phtml <?php… Read More »Amasty module conflict with custom module

preference :override class Pdfcreditmemos and class PrintAction not working

I override the classes ‘Pdfcreditmemos.php’ and ‘PrintAction.php’ to change the name of pdf Credit memos , but this is not working, it still works with origin classes, thanks for you help. MagentoSalesControllerAdminhtmlCreditmemoAbstractCreditmemoPdfcreditmemos MagentoSalesControllerAdminhtmlCreditmemoAbstractCreditmemoPrintAction *************di.xml <preference for=”MagentoSalesControllerAdminhtmlCreditmemoAbstractCreditmemoPdfcreditmemos” type=”LcdrInvoicePdfControllerAdminhtmlCreditmemoAbstractCreditmemoPdfcreditmemos”/> <preference for=”MagentoSalesControllerAdminhtmlCreditmemoAbstractCreditmemoPrintAction” type=”LcdrInvoicePdfControllerAdminhtmlCreditmemoAbstractCreditmemoPrintAction”/>… Read More »preference :override class Pdfcreditmemos and class PrintAction not working