Advertisement:

Author Topic: A Button on the Item page  (Read 1623 times)

thiru_ch

  • Jr. Member
  • **
  • Posts: 75
A Button on the Item page
« 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
 
« Last Edit: December 03, 2016, 11:18:21 am by thiru_ch »

jhosua

  • Newbie
  • *
  • Posts: 24
Re: A Button on the Item page
« Reply #1 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
« Last Edit: December 03, 2016, 07:37:56 pm by jhosua »

thiru_ch

  • Jr. Member
  • **
  • Posts: 75
Re: A Button on the Item page
« Reply #2 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.

jhosua

  • Newbie
  • *
  • Posts: 24
Re: A Button on the Item page
« Reply #3 on: December 21, 2016, 05:18:08 pm »
ok