stanleyek18 Posted October 7, 2016 Share Posted October 7, 2016 Hej, próbuję wykombinować wyświetlanie wraz odnośnikiem na stronie produktu nazwy kategorii domyślnej. Jak na razie mam coś takiego dodane w product.tpl, ale to wyświetla mi tylko "surowy" link. Chciałbym wyświetlić prawdziwą nazwę kategorii. <a href="{$link->getCategoryLink($product->id_category_default)}">{$product->category}</a> Będę wdzięczny za każde pomysły.A może ktoś już coś takiego zrobił w najnowszej preście? Poprzednie rozwiązania (trzy, czteroletnie) jakoś u mnie nie działają. Link to comment Share on other sites More sharing options...
endriu107 Posted October 7, 2016 Share Posted October 7, 2016 Sprawdź {$category->name} Link to comment Share on other sites More sharing options...
stanleyek18 Posted October 7, 2016 Author Share Posted October 7, 2016 Hej, dzięki! Działa, ale wyświetla aktualną kategorię. Ja natomiast muszę wyświetlić nazwę kategorii domyślnej. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now