Datafeedr Support Forums

Datafeedr Support Forums (/index.php)
-   Questions (/forumdisplay.php?f=67)
-   -   Adding merchant logos to cat lists (/showthread.php?t=9092)

youngy May 14th, 2013 04:31 AM

Adding merchant logos to cat lists
 
Hi Eric, hope yrou well mate.
I have a custom view, called embedcats. I want to add merchant logos within each product display: Heres the code im using now, what do I need to add to this code to make this work?


HTML Code:

<a href="<?php echo dfr('url')->query_to_url('page=2&view=category&c='.$category->id); ?>">View more</a><br />
<!-- Product List -->
<div class="pl">
  [product.each]
  <div class="t1 col3">
  <div class="bdr">
    <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
    <div class="thmb"><a href="[product.link]" title="[product.name]">[product.thumbnail tag='1']</a></div>
    <div class="prc">[product.currency mode="sign"][product.price]</div>
    <p class="desc">[product.description]</p>
    <div class="btns">
    <a href="[product.link]" title="View details of [product.name]" class="dfbutton dforange dfmedium dfrounded">Details</a>
    </div>
    <div class="clearingdiv"> </div>
  </div>
  </div>
  [/product.each]
  <div class="clearingdiv"> </div>
</div>
<!-- /Product List -->

<a href="<?php echo dfr('url')->query_to_url('page=2&view=category&c='.$category->id); ?>">View more</a>


Eric May 14th, 2013 08:16 AM

Hi,

You could change this:
HTML Code:

<p class="desc">[product.description]</p>
To this:
HTML Code:

<p class="desc">[product.description]</p>
<div>[product.merchant_logo]</div>

Eric


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

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