View Single Post
  #4  
Old February 2nd, 2015, 10:00 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

If you want a button to appear right next to your product 'buy' and 'details' button, then yes, that is what you need.

Adding that code to your Product List modules will do the trick:

HTML Code:
<?php $category = $s->category_for_product($product); ?>
<a class="dfbutton dfgreen dfmedium dfrounded" href="[category.link]">[category.name]</a>