I’m working on a Magento 2.4 PWA system. The idea is to load a template from a CMS page. I’m using {{block class="CompanyModuleBlockIndexIndex" template="Company_Module::index/index.phtml"}} in the CMS page, but it doesn’t load or render anything in the page. I know it does something because if the reference to the template […]
Magento
I am referring this (https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/#step-1-declare-a-shipping-module) to create a custom shipping method. But I need to create multiple shipping methods. My doubt is that can we create multiple shipping methods in single module or we have to create separate modules for each. Can anyone please guide me on this?
My customer account register form is appearing this error when I try register a new account: Notice: Undefined variable: data in /home/clientes/grupofiscall/public_html/diaadiatributario.com.br/app/code/local/Diaadia/Usuario/controllers/AccountController.php on line 142 AccountController.php <?php require_once(Mage::getModuleDir('controllers', 'Mage_Customer') . DS . 'AccountController.php'); class Diaadia_Usuario_AccountController extends Mage_Customer_AccountController { /** * Action predispatch * * Check customer authentication for some actions […]
Magento 2: How To Override Mass action js For Current Module(works only for the current module)? Using the mixin I’m able to override core massactions.js but its working with other modules too. How can I add massactions.js for the current module only? Or How can I add massactions.js which only […]
We have been experiencing an odd issue on some of our sites since moving from Magento 1.7 to 1.9. When a sites cache hasn’t been cleared for a while add to cart is extremely slow. This also affect the checkout. As soon as we clear the cache it speeds up […]
Previously I had been using the code below to get the payment method title of an order and placing it in an email {{var order.getPayment().getMethodInstance().getTitle()}} However, since the upgrade to Magento 2.4.4 this no longer works because of the changes to do with the improved email syntax. I thought just […]
Is there any way we can create multiple categories at once and also create sub-categories in Magento 2?
Where is the status of “Confirmed email” saved in the database? How can I change the value directly in the database for this customer? I searched everywhere, but I can’t find the table where this relation between customer and attribute is stored. I searched in customer_entity_text customer_entity_varchar customer_entity_int