Jump to content

Edit History

abdamu

abdamu

{if $category->id_parent!=2}
								<li>
									<a href="{$link->getCategoryLink($category->id_parent)}" title="Ver Categor&iacute;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&iacute;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? 🤨

abdamu

abdamu

{if $category->id_parent!=2}
								<li>
									<a href="{$link->getCategoryLink($category->id_parent)}" title="Ver Categor&iacute;a Superior" class="img">
										<img src="https://www.mercanutri.com/themes/warehouse/img/imgSubCat/volver.jpg" alt="volver" />
									</a>
									<a href="{$link->getCategoryLink($category->id_parent)}" class="cat_name">Ver Categor&iacute;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? 🤨

×
×
  • Create New...