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

Hi

I think this is what you want:

Code:
<table width="100%">
[compset.each]
	<tr>
		<td>[product.merchant_logo]</td>
		<td valign="middle" class="prc">
			<small>
				<?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?>
					Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span><br />
					Now: <span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span>
				<?php } else { ?>
					[product.currency mode='sign'][product.price]
				<?php } ?>		
			</small>
		</td>
		<td><a href="[product.url]" class="dfbutton dforange dflarge">Buy Now</a></td>
	</tr>
[/compset.each]
</table>​
By the way, your site looks stellar! Nice work.

Eric