Datafeedr Support Forums

Datafeedr Support Forums (/index.php)
-   Questions (/forumdisplay.php?f=67)
-   -   Merchant logo link product affiliate (/showthread.php?t=10936)

nvaonline September 2nd, 2014 04:07 AM

Merchant logo link product affiliate
 
Hi,

I'm trying to link the merchant logo to the product affiliate url.
Can someone help me out?

<div class="pl">
[product.each]
<div class="t1 col2">
<div class="bdr">
<div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div>
<h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
<div class="prc">Vanaf [product.currency mode='sign'][product.price][product.merchant_logo]</div>
<p class="desc">[product.description]</p>
<div class="btns">
<a href="[product.link]" title="Meer informatie over [product.name]" class="dfbutton dforange dfmedium">Details</a>
<a href="[product.url direct='0']" title="Prijzen voor [product.name]" class="dfbutton dforange dfmedium" rel="nofollow">Prijzen</a>
</div>
<div class="clearingdiv"> </div>
</div>
</div>
[/product.each]
<div class="clearingdiv"> </div>
</div>

stefan September 2nd, 2014 04:16 AM

Replace in your code

[product.merchant_logo]

with

<a href="[product.url direct='0']" rel="nofollow">[product.merchant_logo]</a>

nvaonline September 2nd, 2014 04:20 AM

Quote:

Originally Posted by stefan (Post 50512)
Replace in your code

[product.merchant_logo]

with

<a href="[product.url direct='0']" rel="nofollow">[product.merchant_logo]</a>


Tryed that but the image wont show then, it's a broken image see :

http://www.groepshuizen.nl/Vakantieh...huizen-belgie/

Eric September 2nd, 2014 05:23 AM

Hi,

This could work, too:

HTML Code:

<div class="prc">Vanaf [product.currency mode='sign'][product.price]</div>
<a href="[product.url direct='0']" rel="nofollow">
        <img src="[product.merchant_logo tag='0']" width="150" height="40" />
</a>

Eric

nvaonline September 2nd, 2014 05:54 AM

Quote:

Originally Posted by Eric (Post 50518)
Hi,

This could work, too:

HTML Code:

<div class="prc">Vanaf [product.currency mode='sign'][product.price]</div>
<a href="[product.url direct='0']" rel="nofollow">
        <img src="[product.merchant_logo tag='0']" width="150" height="40" />
</a>

Eric

This worked!

Thanks


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.