View Single Post
  #2  
Old September 20th, 2011, 09:54 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Yes, you can add short codes which are links directly to the merchant's site.

First you need to create a custom view. Let's call it "product link".

Then you add a Product Detail module to it.

In the Product Detail module template area, add this:
HTML Code:
<a href="[product.url]" class="dfbutton dforange dflarge" title="Buy this product" target="_blank" rel="nofollow">Buy</a>
Then in your posts, where you want the link to display, just add this: [product link?p=1111111111111]. Change 1111111111111 to the actual product ID.

That's it.

Eric