Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8897407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:20:06+00:00 2026-06-15T00:20:06+00:00

I am looking to add or remove content from a Magento site based on

  • 0

I am looking to add or remove content from a Magento site based on which filters are being applied. Specifically, detecting when filters of the same type are being applied.

For instance, if items from a sports store can be sorted by league, I am looking to detect if NBA and NFL are selected filters. I can successfully detect if one league is being filtered for using something like this:

$_filters = Mage::getSingleton('catalog/layer')->getState()->getFilters();

if (is_array($_filters)) {
   foreach ($_filters as $_filter) {
      $filterName = $_filter->getName();
      $filterLabel = $_filter->getLabel();
   }
}

I was unable to loop through and detect multiple filters from the same category (in this case, League), because it seems to only add one filter per type. Is there another method for detecting applied filters that would help with this situation?

Thanks for any help, it is much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T00:20:07+00:00Added an answer on June 15, 2026 at 12:20 am

    Plugin Mana Filters will allow you to do what you want ,

    You can use Mana Filters Modules that will allow you to have multiple filters from same type, then you can loop etc .. !

    http://www.manadev.com/advanced-layered-navigation-ce

    Thanks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a way to add an EventListener which will automatically removes itself
I am looking for a good plugin to add/remove a set of form fields
I'm looking to add a _ _ in the Array variable for each of
I am looking to add functionality to my website where users can add an
I am looking to add a local database file (.sdf) into my .NET Project.
I'm looking to add double buffering to a drawing function like this. dc =
I'm looking to add transactional support to my DB engine and providing to Abstract
I'm looking to add a textbox on my website that captures a single email
I am looking to add the Google Map API to my own website, but
I'm looking to add a menu option to change the font size in my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.