Skip to content

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:

Need a little advice

Hi everyone! I’d like to ask a little advice for our website. Recently, we requested HostGator to upgrade our server to PHP 8.1 version … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1908475&goto=newpost