New answers tagged

0 votes

Load custom layout handle after catalog_category_view

Now in latest magento version (2.4.X) the event is changed as $this->eventManager->dispatch('layout_render_before_' . $this->request->getFullActionName()); So for above case the new event ...
  • 29
0 votes

Remove Item By key Using with Own attribute

This works for me, $collection = $observer->getEvent()->getCollection(); if (!empty($collection)) { foreach ($collection as $k => $product) { $prdIdd =...
  • 26

Top 50 recent answers are included