Skip to content

magento man

Catalog search index process error indexation process

I did a new installation of Magento (2.4.6-p2) and did the data migration from Magento 1. Everything seems to work, except the catalog pages, which give the following error on the frontend: Error: Cannot instantiate interface MagentoAdvancedSearchModelClientClientOptionsInterface in /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121 I… Read More »Catalog search index process error indexation process

Change url filter in Magento 2

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!

How to toggle custom tab visibility in product view with event observer based on custom attribute’s value (custom layout handle)?

There is a custom tab “Ask Question” in a product that has a form (it has a logic for saving data to the database). My task is to create an event observer for the attribute that I have created programmatically… Read More »How to toggle custom tab visibility in product view with event observer based on custom attribute’s value (custom layout handle)?

wish list button in custom theme

i added a new custom theme, in that theme i listed the products, now i need to add functionality of wish list, phtml file contains wishlist button, so how i can achive wishlist by clicking this button

magento 2 layer navigation by categoryId i’m getting below error

“message”: “No record found with %fieldName = %fieldValue”, “parameters”: { “fieldName”: “id”, “fieldValue”: “0” }, <?php namespace handymustFilterModel; use handymustFilterApiFilterInterface; use MagentoFrameworkExceptionLocalizedException; class Filter implements FilterInterface { protected $_layerResolver; public function __construct( MagentoCatalogModelLayerResolver $layerResolver ) { $this->_layerResolver = $layerResolver->get(); }… Read More »magento 2 layer navigation by categoryId i’m getting below error

I can’t add custom css file

I created the default_head_blocks.xml file in app/design/frontend/Magento_Theme/luma/layout and the local-m.css file in app/design/frontend/web/css/ and the code for the xml is: