We are fetching layered navigation filters as follows: $layer = $layerResolver->get(); $layer->setCurrentCategory(2); $productCollection = $layer->getProductCollection(); $productCollection->addAttributeToFilter($attributeCode,$attributeValue1); $layer->setProductCollection($productCollection); $filters = $filterList->getFilters($layer); But the above filters are coming from the default store id and incorrect filter names. We have multiple store views and would like to get filters based on store id.
Magento
Never worked with Paypal PayLater before but on a Magento 2.4.3 build, we’ve got it enabled and set to display in frontend but nothing appears at all in frontend… Our client has completed the sign-up on Paypal’s website but of course we’ve got no idea what’s actually involved with that […]
Whats the right place for custom config path constants? const XML_PATH_ .... In Magento they are spread over different classes. Blocks. Models. Helpers. It seems they are set, where they are used, but it looks inconsitent. Isn’t it best kept in SomeModuleHelperData?
i am using magento 2.4.x ans i want to send data from ajax to controller but i cant do that , the compiler doesn’t enter to the controller class , is this because i have this error on my console on chrome ?=> ‘The Content-Security-Policy directive ‘frame-ancestors’ does not support […]
Magento 2.4.2-p1 Smartwave Porto theme We have a problem with our new Magento 2.4.2-p1 which is running on a NEWmagento account in our VPS hosting account. This appears when I try to set the Main store on a different domain. I found an article from our hosting company regarding the […]
I was trying to create an admin grid in the adminhtml trying to learn how they function and work and I ran into an issue following this guide: Mageplaza. I’ve been trying to debug where the issue is and, to the best of my knowledge I found that the issue […]
Magento 2.4.2-p1 Smartwave Porto theme We were running Magento 1.9.4 with 3 domains on www.domainOLDMagentoinstall.com: www.domain1.com www.domain2.com www.domain3.com We set up a new Magento 2.4.2-p1 on www.domainNEWMagentoinstall.com. I wanted to switch the first domain from old 1.9 Magento to the new today so I have done the following: In the […]
I am trying to set timeout for customer session in Magento 2.3 I would like to know what is the difference in configuration of Customer Online Minutes Interval and default cookie settings – Cookie Lifetime. I checked the magento docs here, I am not clear on this – https://docs.magento.com/user-guide/v2.3/configuration/customers/customer-configuration.html?itm_source=merchdocs-23&itm_medium=search_page&itm_campaign=federated_search&itm_term=online%20minute%20inteval https://docs.magento.com/user-guide/customers/customer-online-options.html?itm_source=merchdocs_ce&itm_medium=quick_search&itm_campaign=federated_search&itm_term=customers%20s