How to get a list of active filters in Magento?

To find the list of active filters from the selection in the product listing pages, use the below code:


<?php /*Create filter dependencies*/
$_activeFilters[] = array();
$_filters = Mage::getSingleton(‘Mage_Catalog_Block_Layer_State’)->getActiveFilters();
foreach ($_filters as $_filter):?>
<?php echo $this->stripTags($_filter->getLabel()) ?><a href=”<?php echo $_filter->getRemoveUrl() ?>” title=”<?php echo $this->__(‘Remove This Item’) ?>”><?php echo $this->__(‘Remove This Item’) ?></a>
<?php endforeach; ?>
You can place the above code in any of the catalog templates in app/design/frontend/{yourthemename)/default/template/catalog/

34 comments:

  1. Restylane Silk is a new dermal filler, specifically formulated to improve the look of your smile. It can add volume to your lips and diminish the look of fine lines around your mouth. Restylane Silk’s unique particle gel formula, along with an ultra-fine needle designed for improved accuracy, helps give you softer, more precise results — just what you need for a natural-looking smile.

    Lip tissue is different from the skin of the rest of the face. The soft and sensuous tissue of the lips is constantly stressed by how we move our mouths: eating, drinking and talking. The lips also tend to dry out more quickly than the rest of our face. Restylane Silk is designed for meticulously precise lip definition and line control for silkier, smoother lips you’ve been looking for.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. beer making kits for beginners

    Beer is the world's most widely consumed alcoholic beverage. So on this website we're gonna have fun talking beer. We'll take a trip through different Taverns and Pubs in this country, perhaps the world. We will look at the different type and styles of beers. We will check out the health benefits of home brewing. Learn how to home brew, and the different types of home brewing. I'll show products that will make a simple and pleasurable journey to home beer making.

    ReplyDelete
  4. How to lose weight fast for women

    Tired of carrying around those extra pounds? The best way to lose weight and keep it off is to create a low-calorie eating plan that you can stick to for a long time. If you just want to drop a few pounds fast, there are plenty of techniques and tips you can adopt to help you reach your short-term goals, too. Scroll down to Step 1 to learn more.
    if you know more click here:

    ReplyDelete
  5. รับแทงบอล

    เราคือผู้ให้บริการแทงบอลออนไลน์ Sbobet และ คาสิโนออนไลน์ อันดับ 1 ของประเทศ
    สมัครแทงบอลออนไลน์ Sbobet หรือเล่น คาสิโนออนไลน์ กับเราได้แล้ววันนี้ วิธีการสมัครไม่ยุ่งยาก เพียง 4 ขั้นตอน เรามีความมั่นคงทางเงิน บริการรวดเร็ว ตลอด 24 ชั่วโมง โดยมีพนักงาน CallCenter ผู้เชี่ยวชาญที่พร้อมจะให้บริการท่าน แม้ท่านจะไม่เคยเล่น แทงบอลออนไลน์ หรือ คาสิโนออนไลน์ ก็จะมีพนักงานคอยสอนจนเล่นเป็น ดังนั้นไม่ต้องเป็นกังวล ว่าจะเริ่มต้นอย่างไร และด้วยทีมงานที่มีคุณภาพระดับมืออาชีพจึงทำให้ท่านจะเริ่มต้นกับการเล่น แทงบอลออนไลน์ Sbobet และ คาสิโนออนไลน์ ได้อย่างมีประสิทธิภาพอย่างแน่นอน

    ReplyDelete
  6. Friendswood Plumbing We want to be your plumbers for life! We offer just about every plumbing service you'll ever need, delivered by the friendliest and most talented plumbers the industry has to offer.

    ReplyDelete
  7. hampton bay ceiling fan Shop our selection of Hampton Bay, Ceiling Fans in the Lighting & Ceiling Fans Department at The Home Depot. ... Indoor/Outdoor Brushed Nickel Ceiling Fan.

    ReplyDelete
  8. Foldable WheelchairThe World’s Best Motorized Electric Wheelchair...

    ReplyDelete
  9. penise enlargement medicinesatified with thier partners Smaller penis, Lack of stamina, aging often causes a steady decline in vitality & virility, which has a direct & negative impact on erections, sexual stamina & staying power. Some of the symptoms that may prevent you from satisfying the woman in your life may include:

    ReplyDelete
  10. Sell Bitcoin Without Identity Verification you can sell bitcoin without identity verification with fully anonymous method, then bitcoinscashout.com is best option get paid by paypal dollars bank .

    ReplyDelete
  11. Ellis Porter PLC MARRIAGE BASED VISAS & GREEN CARDS

    In a smaller world, true love can extend beyond borders.
    Connect with us and we'll make sure that borders aren't barriers for your international love story.

    Ellis Porter provides the following services for the foreign national spouses of U.S. Citizens:

    Marriage Based Visas

    K-1 Visas for Fiance/Fiancee of U.S. Citizens

    K-3 Visas for Spouse of U.S. Citizens

    Marriage Based Green Cards

    Green Cards for Spouse of U.S. Citizens

    ReplyDelete
  12. Wow, Excellent post. This article is really very interesting and effective. I think its must be helpful for us. thanks for sharing your informative.

    Our 3D Showcase is an online experience for buyers to move through a property and see it from any angle. Our distinct tours give homebuyers a completely unique sense of the property.
    We bring listings to life with immersive ...

    experiences that are more than virtual tours. At Realty Showtime our technology completely immerses visitors so they can create an emotional connection.

    We offer the latest real estate marketing technology to get more clients and sell more homes.

    If you've ever used Google Street View, you'll have a pretty good idea already of what Realty Showtime presents. Using 3D imaging technology,

    Realty Showtime allows online visitors to virtually "walk" through a property just like they would virtually "walk" around a city using Google Street View. This is the first piece of real estate technology that really allows users to control how the experience a property when they're looking at it online.

    "The key difference with this technology and what sets it apart from the videos and virtual tours that we are used to is that it allows the viewer a completely immersive, user-controlled walk around the experience of space in its entirety,"

    Get More info Realty Show time

    Contact Info:

    Demetre Politis. Broker/Owner,

    email: djpolitis1@gmail.com.
    email: info@realtyshowtime.com

    Phone:

    Canada +14163009293
    Greece +306944043311


    website: Realty Show time

    ReplyDelete
  13. BUY SPOTIFY PLAYS REAL PLAYS TO BOOST YOUR MUSIC.
    We will promote your tracks and give you very good promotion Buy spotify plays

    ReplyDelete
  14. Wow. Thank you very much for sharing this informative and useful post.


    Free Violin Tutorial - FREE Online Beginner Fiddle Lessons - Start Learning Today

    Description: Beginner Fiddle Course Start the Fiddle Online Beginner Fiddle Course Fiddle Primer to start Free Course.

    Get More Information Free Online Fiddle Lessons

    ReplyDelete
  15. finance GET UNIQUE INVESTMENT IDEAS FROM AN EXPERIENCED FUND MANAGER TARGETING 5X - 10X+ RETURNS.

    ReplyDelete
  16. Wow. Thank you very much for sharing this informative and useful post.

    We are a brokerage built on unrelenting dedication and authentic experience.

    Our ambition and enthusiasm for Real Estate have been a large factor in our brokerage’s success, however, it is the people that we are truly passionate about. Our mission is to provide you with the Real Estate of your dreams and that's what truly drives us forward.

    More info: Realty Show time

    ReplyDelete
  17. Cellulite treatment Authentic Option LLC offers collection of natural herbal products for skincare, hair care, and weight loss. We specialize in thermal weight loss, electrostimulation for muscle toning, cellulite removal, under-eye bags treatment and skincare products. We have an amazing range of beard growing products.

    ReplyDelete
  18. alprazolam On the other hand, the half-life of Xanax XR can be up to 15 hours. Many factors can affect the Xanax half-life, including:
    • Age: Younger people will metabolize Xanax faster than older adults. Xanax may have a shorter half-life for them.
    • Race: Studies show that the half-life of Xanax is increased by 15%-25% in Asians than in Caucasians.
    • Weight: Xanax will typically last longer for people who are overweight because the body has to work harder to process the drug.
    • Metabolism: Having a fast metabolism means that the body will process Xanax quicker, decreasing the amount of time that it’s effective. Underlying health conditions, like liver disease, can affect your body’s ability to metabolize drugs like Xanax.
    • Dose: Higher doses of Xanax will be effective for a longer length of time, increasing its half-life.
    • Expired medication: Xanax can expire after two to three years. Consuming an expired product could decrease Xanax’s half-life.
    • Drug-drug interactions: Taking Xanax with certain medications can cause an interaction that can affect the efficacy of one or the other drug, and/or worsen side effects of one or the other drug. Xanax 2 mg

    ReplyDelete

  19. Reputation Management Reputation Repair Service removes criminal history information and deletes criminal records. Creates positive content that replaces negative search results.

    ReplyDelete
  20. Addictions facts Addiction stands as the top public health problem in America outstanding all other major diseases including stroke, heart diseases and even cancer. The population of addicts is far larger than the patients suffering from the three mentioned diseases in America with sufferers ranging in millions.

    ReplyDelete
  21. TIkTok profile Personally, I find it quite annoying the presence of all those buttons (profile photo, I like, comments) superimposed on the video. I think they cover the video too invasively. For this reason, I decided to set a transparent profile photo on TikTok, so as not to obscure relevant areas of my video. If you too are annoyed by this, or simply want to set a transparent profile photo because it is “cool,” this guide is for you.

    ReplyDelete
  22. Samoyed puppy for sale We have been branded as the best cattery for breeding healthy kittens and puppies ready for a home.

    ReplyDelete
  23. fair online casinos Compare the best legit online casinos that pay real money including the best crypto casinos, best mobile casinos and the best online casinos in 2021

    ReplyDelete
  24. motherhood CO.MOM is a fun new online magazine and social network community created by moms for moms. Read interesting articles, get advice from our agony aunt, aunt\y anne, learn how to earn an income online with our guru debbie or you can even seek medical advice from our resident physician dr samantha and relax while checking out the latest horoscopes from our trained mystic. Theres even a thriving forum community where moms of the world can get together and enjoy good conversation along with lots of other fun ways to kill some time with a cuppa when taking a break from being super mom at co.mom.

    ReplyDelete