Skip to main content

<< Producto anterior - Producto siguiente >>

More
12 years 9 months ago #137062 by vilo
Hola.

¿Hay alguna manera de colocar un menú de navegación en la página de producto para ir al producto anterior o al siguiente?

Algo similar al menu que tiene Virtuemart.

Muchas gracias desde ya.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #137101 by nicolas
Hi,

Sure, simply turn on the option "Show shortcuts to other category products" of the configuration.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #137157 by vilo
Nicolas , muchas gracias por su respuesta, funcionó perfectamente. Ahora puedo ver los iconos para navegar.

¿Sería posible que se vieran estos íconos acompañados de las palabras "anterior" y "siguiente"?

Muchas gracias desde ya.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #137160 by nicolas
You can change that by editing the code of the file "show" of the view "product" via the menu Display>Views

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #137165 by vilo
Nicolas, no entiendo mucho de código. Le agradeceré me indique la línea y lo que debo colocar en el código.

Muchas gracias desde ya.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago - 12 years 9 months ago #137335 by Mohamed Thelji
hola,
You'll just have to change these lines :
Code:
if(!empty($this->links->previous)) echo "<a title='".JText :: _('PREVIOUS_PRODUCT')."' href='".$this->links->previous."'><span class='hikashop_previous_product'></span></a>"; if(!empty($this->links->next)) echo "<a title='".JText :: _('NEXT_PRODUCT')."' href='".$this->links->next."'><span class='hikashop_next_product'></span></a>";
By :
Code:
if(!empty($this->links->previous)) echo "<a title='".JText :: _('PREVIOUS_PRODUCT')."' href='".$this->links->previous."'><span class='hikashop_previous_product'></span></a><span class='hikashop_previous_product_test'>".JText :: _('HIKA_PREVIOUS')."</span>"; if(!empty($this->links->next)) echo "<a title='".JText :: _('NEXT_PRODUCT')."' href='".$this->links->next."'><span class='hikashop_next_product'></span></a><span class='hikashop_next_product_text'>".JText :: _('HIKA_NEXT')."</span>";
And add use some CSS code like :
Code:
.hikashop_next_product_text { float: right; width: 35px; height: 35px; } .hikashop_previous_product_test { float: left; width: 35px; height: 35px; }
Last edit: 12 years 9 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

Time to create page: 0.154 seconds
Powered by Kunena Forum