View Single Post
  #2  
Old January 10th, 2011, 10:07 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Currently, we only support coupons from ShareaSale, Pepperjam and Affiliate Window.

I created a coupons template that you can use wherever you want to display a list of your coupons. Of course you can modify it. This code needs to be placed in a "Product list" module.

Here's some sample code:

Code:
<h2>Coupons</h2>

[product.each]
	<p>
		<a href="[product.link]"><strong>[product.name]</strong></a> 
		from <span style="color:#999;font-size:85%;font-style:italic;">[product.merchant]</span><br />
		[coupon.description]<br />
		<small>
			<strong>Code:</strong> [coupon.code]<br />
			<strong>Restrictions:</strong> [coupon.restrictions]<br />
			<strong>Begin Date:</strong> [coupon.begin]<br />
			<strong>End Date:</strong> [coupon.end]<br />
		</small>
	</p>
[product.end]


<div class="pgr">
  Pages:
  [pager.first text='&lt;&lt;first ' alt='']
  [pager.prev text='&lt;previous ' alt='']
  [pager.pages delim=' ']
  [pager.next text=' next&gt;' alt='']
  [pager.last text=' last&gt;&gt;' alt='']
</div>
And here is what it produced on my test site:



Eric