How can I get current category name when I am on a category page?
I tried some solutions, but they don't work when category is chosen from layered navigation. For example, if I click on category filter on left side - layered navigation, it returns URL:
and current category is Fitness, instead of Stepers.
When I go to category Stepers from main menu, the URL is:
examplepage.com/sport/fitness/stepers.html and current category is Stepers, which is correct.
I hope it is understandable:)