Osclass forums

Support forums => General help => 3.6.x => Topic started by: thiru_ch on December 03, 2016, 10:56:43 am

Title: A Button on the Item page
Post by: thiru_ch on December 03, 2016, 10:56:43 am
Hi my site is www.discountdunia.com
I am using this site to provide online offers and coupons details.
So I want to display a HOVER button on Item Image or a normal clickable button, so that when any user click on that button will directly send to the the affiliate site.
How to achieve this one?
here I am attaching Images
Image 1 is my site and Image 2 to is one the other site.
So I want to display the product details just like Image 2
 
Title: Re: A Button on the Item page
Post by: jhosua on December 03, 2016, 03:14:17 pm
try this in case you only use 1 static link
Code: [Select]
<ul class="contact_button"><li><a href="yourlink"><?php _e('your button text'OSCLASSWIZARDS_THEME_FOLDER); ?></a></li></ul> add to :
loop-grid.php
loop-list.php
loop-search-grid.php
loop-search-list.php
loop-user-public-grid.php
loop-user-public-list.php
Title: Re: A Button on the Item page
Post by: thiru_ch on December 05, 2016, 07:31:10 am
Hi jhosua,
Thank you for your reply.
What the main problem with your suggestion is to insert "url link".
Because the url is not same for all.
So How to add url automatically for this button.
Title: Re: A Button on the Item page
Post by: jhosua on December 21, 2016, 05:18:08 pm
ok