Skip to main content
5 events
when toggle format what by license comment
Oct 30, 2014 at 12:28 comment added Le Matmasta I can not imagine, how it might look?
Oct 30, 2014 at 9:57 comment added AndreaShining Oh so you want to show the last clicked filter? Then you could use cookies ;)
Oct 30, 2014 at 4:44 comment added Le Matmasta Need a precise definition of attribute is applied, but how to do it right? I'm confused and spent a lot of time. Who can help?
Oct 30, 2014 at 4:41 comment added Le Matmasta At the end of the array is always an attribute whose position below in the magento attributes settings. And with each filter selection - output doubles. Tested with <?php $_filters = Mage::getSingleton('catalog/layer')->getState()->getFilters(); if (is_array($_filters)) { foreach ($_filters as $item) { if ($item = end($_filters)) { echo '<a>'.$item->getFilter()->getRequestVar().'</a>'; } } } ?>
Oct 29, 2014 at 23:07 history answered AndreaShining CC BY-SA 3.0