Exist a way to one file for all language?
I’m doing my .csv for language files in Spanish. I need to do es_BO, es_ES, es_CL, etc for every kind of language. Is possible to do an “es_*” or similar? Thanks
Auto Added by WPeMatico
I’m doing my .csv for language files in Spanish. I need to do es_BO, es_ES, es_CL, etc for every kind of language. Is possible to do an “es_*” or similar? Thanks
I’ve created a plugin in Magento 2.4.5 to overwrite MagentoCatalogSearchModelLayerFilterPrice ‘s method. <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”MagentoCatalogSearchModelLayerFilterPrice”> <plugin name=”magento_core_price” type=”MyVendorMyModuleModelMagentoPrice” sortOrder=”1″ /> </type> </config> After that I’m getting following error: Cannot instantiate interface MagentoCatalogModelLayerContextInterface I’ve already tried to… Read More »Error: Cannot instantiate interface MagentoCatalogModelLayerContextInterface Magento Plugin
In an Admin Controller Class, How do I check if the admin user is logged in, then redirect to the login page if not logged in, then return to the previous controller after login? A cut down version of my… Read More »Magento 2.4 Admin Custom Controller Check If User Logged In and Redirect to Login If Not
I have a simple payment method module. I have successfully used Dependency Injection on both the 2 Controllers I have for 2 new Routes and on my Observer where I grab some data from the config. BUT, I have been… Read More »Why is the Magento AbstractMethod class throws an error when I use Dependency injection on my own class that extends it?
I’ve been strugling with this a lot, I have to redirect the users to Home when they login to the site. I’ve been following solutions given in other questions about the same, but nothing works, here are some links I’ve… Read More »Redirect to Home after login
I have created a payment method module in Magento 2.4.4 after a lot of trial and error and I finally have a small working version that works both in the adminhtml and the frontend. The problem I have is that… Read More »Why does my own payment method not get disabled?
I created a custom field for customer: <?php declare(strict_types=1); namespace VendorMyModuleSetupPatchData; use MagentoCustomerModelCustomer; use MagentoCustomerSetupCustomerSetup; use MagentoCustomerSetupCustomerSetupFactory; use MagentoEavModelEntityAttributeSet; use MagentoEavModelEntityAttributeSetFactory; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupPatchDataPatchInterface; use MagentoFrameworkSetupPatchPatchRevertableInterface; class AddCustomAttributeCustomerAttribute implements DataPatchInterface, PatchRevertableInterface { /** * @var ModuleDataSetupInterface */ private $moduleDataSetup;… Read More »Add field to Checkout
I extended magento 2 pageBuilder media content types (image, banner, slide, slider etc..). So if I add any value in that custom field that will be displaying on frontend CMS (home) page correctly but I have the image/banner in category… Read More »Added custom field/attribute to magento 2 pageBuilder all content types but the attribute is not displaying on frontend html
Me again. When I filter in a category in Magento, it show a page like www.mymagento.com/mycategory?cat=3 Exist a way to replace the ID for the name? for example www.mymagento.com/mycategory?cat=mysubcategory or in a better way www.mymagento.com/mycategory/mysubcategory Thanks!
Exists a way to show all products from all categories in a page in Magento 2.4.6? for example www.mymagento.com/all-products.html Thanks