Button in product listing
- condorazul
-
Topic Author
- Offline
Less
More
14 years 5 months ago #46511
by condorazul
Button in product listing was created by condorazul
how can i create a button in product_listing "+ info" that goes to the product page? dont know how to use php
Please Log in or Create an account to join the conversation.
14 years 5 months ago #46662
by nicolas
Replied by nicolas on topic Re: Button in product listing
You don't need to know PHP for that. Edit the file "listing_img_title" of the view "product" via the menu Display->Views and add some HTML like that:
<input type="button" onclick="window.location='<?php echo $link; ?>';" class="button" value="+info"/>
<input type="button" onclick="window.location='<?php echo $link; ?>';" class="button" value="+info"/>
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
14 years 5 months ago #46703
by condorazul
Replied by condorazul on topic Re: Button in product listing
Thank You! another small question i put alt="añadir cesta" but it doesn´t display.How can i do it?
Please Log in or Create an account to join the conversation.
14 years 5 months ago #46854
by nicolas
Replied by nicolas on topic Re: Button in product listing
alt is for images. You should try with title instead.
More information on input HTML element attributes here:
www.w3schools.com/tags/tag_input.asp
More information on input HTML element attributes here:
www.w3schools.com/tags/tag_input.asp
Please Log in or Create an account to join the conversation.
Time to create page: 0.188 seconds