Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 8th, 2011, 05:53 AM
macfink macfink is offline
 
Join Date: Feb 2011
Posts: 685
Default Custom Buttons

Hi Eric,

I have tried to add my custom buttons. However, due to me being a novice, i'm doing something which is messing things up.

Below is the code with the default buttons, highlited in red is the code i need to change

<!-- Single Product -->
<div class="sp">
<div class="lc">
<div class="thmb">
<a href="[product.url direct='0']" title="[product.name]" target="_blank">
[product.image tag='1']
</a>
<div class="btns">
<div>[product.currency mode="sign"][product.price]</div>
<a href="[product.url]" class="dfbutton dfblue dflarge dfrounded" title="Buy this product" target="_blank">Buy</a>
</div>
</div>
</div>
<div class="rc">
<h3><a href="[product.url direct='0']" title="[product.name]" target="_blank">[product.name]</a></h3>
<p class="desc">[product.description cut='75 words']</p>
<div>
</div>
</div>
<div class="clearingdiv"> </div>
</div>
<!-- /Single Product -->

This is what i have changed it to which messes with the CSS i think. I know what i'm doing is incorrect, but what is it?

<!-- Single Product -->
<div class="sp">
<div class="lc">
<div class="thmb">
<a href="[product.url direct='0']" title="[product.name]" target="_blank">
[product.image tag='1']
</a>
<div class="btns">
<div>[product.currency mode="sign"][product.price]</div>
<a href="[product.url]"><img src="http://www.freakfish.co.uk/images/button_buy_now_large.jpg" title="Buy this product" target="_blank">Buy</a>
</div>
</div>
</div>
<div class="rc">
<h3><a href="[product.url direct='0']" title="[product.name]" target="_blank">[product.name]</a></h3>
<p class="desc">[product.description cut='75 words']</p>
<div>
</div>
</div>
<div class="clearingdiv"> </div>
</div>
<!-- /Single Product -->
__________________
ID 30949
Website:
http://www.freakfish.co.uk/
  #2  
Old April 8th, 2011, 08:13 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

There is no image at this URL:

http://www.freakfish.co.uk/images/bu..._now_large.jpg
  #3  
Old April 8th, 2011, 09:20 AM
macfink macfink is offline
 
Join Date: Feb 2011
Posts: 685
Default

Sorry

<a href="[product.url]"><img src="http://www.rideonsurfshop.co.uk/images/button_buy_now_large.jpg" title="Buy this product" target="_blank">Buy</a>
__________________
ID 30949
Website:
http://www.freakfish.co.uk/
  #4  
Old April 8th, 2011, 09:25 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

This should do the trick:

HTML Code:
<a href="[product.url]" title="Buy this product">
	<img src="http://www.rideonsurfshop.co.uk/images/button_buy_now_large.jpg" alt="Buy this product" target="_blank" />
</a>
Eric
  #5  
Old April 8th, 2011, 10:25 AM
macfink macfink is offline
 
Join Date: Feb 2011
Posts: 685
Default

That worked great

http://rideonsurfshop.co.uk/store/sn...7200197925771/

I'm trying to update the category buttons now.

http://rideonsurfshop.co.uk/store/ca.../snorkel-sets/

The detail button is only showing, here's the code.

<a href="[product.link]" title="View details of [product.name]"><img src="http://www.rideonsurfshop.co.uk/images/button_details.gif"></a>
<a href="[product.url direct='0']" title="Buy [product.name]"<img src="http://www.rideonsurfshop.co.uk/images/button_buy_now_large.gif" alt="Buy this product"></a>

My dodgy code again? lol
__________________
ID 30949
Website:
http://www.freakfish.co.uk/
  #6  
Old April 8th, 2011, 10:30 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

You are missing a closing ">" on the second <a> tag.
  #7  
Old April 8th, 2011, 10:41 AM
macfink macfink is offline
 
Join Date: Feb 2011
Posts: 685
Default

Sorry if im being thick again

Isnt it closed off?

<a href="[product.url direct='0']" title="Buy [product.name]"<img src="http://www.rideonsurfshop.co.uk/images/button_buy_now_large.gif" alt="Buy this product"></a>
__________________
ID 30949
Website:
http://www.freakfish.co.uk/
  #8  
Old April 8th, 2011, 10:42 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Quote:
Originally Posted by macfink View Post
Sorry if im being thick again

Isnt it closed off?

<a href="[product.url direct='0']" title="Buy [product.name]"<img src="http://www.rideonsurfshop.co.uk/images/button_buy_now_large.gif" alt="Buy this product"></a>
<a href="[product.url direct='0']" title="Buy [product.name]"><img src="http://www.rideonsurfshop.co.uk/images/button_buy_now_large.gif" alt="Buy this product"></a>
  #9  
Old April 8th, 2011, 10:47 AM
macfink macfink is offline
 
Join Date: Feb 2011
Posts: 685
Default

Cheers Eric as ever, most appreciated.

I really admire you, putting up with me sometimes!

Thanks again
__________________
ID 30949
Website:
http://www.freakfish.co.uk/
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Customizing buy buttons and custom CSS disappears after upgrading to v3? hexagon85 Upgrading from V1 to V3 10 March 11th, 2011 11:32 AM


All times are GMT -5. The time now is 12:54 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.