- Posts: 86
- Thank you received: 2
<< Producto anterior - Producto siguiente >>
12 years 9 months ago #137062
by vilo
<< Producto anterior - Producto siguiente >> was created 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.
¿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.
12 years 9 months ago #137101
by nicolas
Replied by nicolas on topic << Producto anterior - Producto siguiente >>
Hi,
Sure, simply turn on the option "Show shortcuts to other category products" of the configuration.
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.
12 years 9 months ago #137157
by vilo
Replied by vilo on topic << Producto anterior - Producto siguiente >>
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.
¿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.
12 years 9 months ago #137160
by nicolas
Replied by nicolas on topic << Producto anterior - Producto siguiente >>
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.
12 years 9 months ago #137165
by vilo
Replied by vilo on topic << Producto anterior - Producto siguiente >>
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.
Muchas gracias desde ya.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 9 months ago - 12 years 9 months ago #137335
by Mohamed Thelji
Replied by Mohamed Thelji on topic << Producto anterior - Producto siguiente >>
hola,
You'll just have to change these lines :
By :
And add use some CSS code like :
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>";
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>";
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.183 seconds