{if $category->id_parent!=2} <li> <a href="{$link->getCategoryLink($category->id_parent)}" title="Ver Categoría Superior" class="img"> <img src="/warehouse/img/imgSubCat/volver.jpg" alt="volver" /> </a> <a href="{$link->getCategoryLink($category->id_parent)}" class="cat_name">Ver Categoría Superior</a> </li> {/if}
Hello again, can anyone help me to adapt this code to work with PS 1.7? I had it in P.S 1.5 and when I was in a subcategory or category, pressing the button redirected me to a parent category. The error is thrown at me in the code {$link->getCategoryLink($category->id_parent)}
Does anyone know how to make it compatible with PS 1.7? 🤨