Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Show 2 prices


rgvsean

Recommended Posts

Posted

Hi, I show my prices Excluded tax as a lot of sales go abroad so the price looks attractive to overseas buyers. However the downside is UK folk don't always read the text that says VAT is added at the end.

 

Would it be possible that there is some code that allows the software to pull in and display both sets of prices at the top of the products page like this:

 

PRICE: ?495.00

(?581.63 inc VAT)

 

Like that :thumbsup:

 

Many Thanks.

Sean

Posted

you could use a calculated field for each item. this is rather usefull as i think i will be doing something like it.

 

like this

<?php

define('VAT', '$products_price + (TAX * $products_price));

?>

 

you can put this little piece of code where the product price is listed at the top

 

find this in product_info.php

 

<td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td>

 

could be this:

 

<td class="pageHeading" align="right" valign="top"><?php echo $products_price; echo $VAT; ?></td>

 

I havn't testing this so the syntax is probably wrong, but you get the idea

Posted

Yes but I donlt know PHP,

 

I could test it in dreamweaver but no idea how to correct it. Can anyone else add to this?

 

Thanks so far!!! :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...