Thread: URL Settings
View Single Post
  #10  
Old January 10th, 2011, 11:07 AM
cyberil cyberil is offline
 
Join Date: Jan 2011
Posts: 57
Default

Eric

Everything is running great and the software is excellent.

I have one small issue that perhaps you can assist me with.

I have used 'standard template 1' for the 'comparison sets' which is straight forward. However, I want to add the 'sale price (if exists)' option. However I can't get it to view correctly on the webpage. For instance please see: http://www.dysoncompare.com/dyson-up...27-all-floors/

1. The 'sale price' shows but does not remove the old price
2. The 'sale price' shows above the logo

The code I used is as follows:

<?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?>
<div class="prc">
<small>
Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span>
Now: <span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span>
</small>
</div>
<?php } else { ?>
<div class="prc">
<small>
[product.currency mode='sign'][product.price]
</small>
</div>
<?php } ?><table width="100%">
[compset.each]
<tr>
<td>[product.merchant_logo]</td>
<td>[product.currency mode='sign'][product.price]</td>
<td><a href="[product.url]" class="dfbutton dforange dflarge">Buy Now</a></td>
</tr>
[/compset.each]
</table>​

Eric, I've asked a friend to help but he couldn't fix it I wonder whether you are able to.

Many thanks

Paul