<< Producto anterior - Producto siguiente >>

  • Posts: 86
  • Thank you received: 2
11 years 8 months ago #137062

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.

  • Posts: 84237
  • Thank you received: 13681
  • MODERATOR
11 years 8 months ago #137101

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.

  • Posts: 86
  • Thank you received: 2
11 years 8 months ago #137157

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.

  • Posts: 84237
  • Thank you received: 13681
  • MODERATOR
11 years 8 months ago #137160

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.

  • Posts: 86
  • Thank you received: 2
11 years 8 months ago #137165

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.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #137335

hola,
You'll just have to change these lines :

 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 :
  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 :
.hikashop_next_product_text {
float: right;
width: 35px;
height: 35px;
}
.hikashop_previous_product_test {
float: left;
width: 35px;
height: 35px;
}

Last edit: 11 years 8 months ago by Mohamed Thelji.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum