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


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:

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">
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>
<?php } else { ?>
<div class="prc">
[product.currency mode='sign'][product.price]
<?php } ?><table width="100%">
<td>[product.currency mode='sign'][product.price]</td>
<td><a href="[product.url]" class="dfbutton dforange dflarge">Buy Now</a></td>

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

Many thanks