rgvsean Posted September 1, 2006 Posted September 1, 2006 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
ScottCC Posted September 1, 2006 Posted September 1, 2006 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
rgvsean Posted September 2, 2006 Author Posted September 2, 2006 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:
rgvsean Posted September 3, 2006 Author Posted September 3, 2006 I found it and tried it but it didn't do anything. Didn't even give an error.
rgvsean Posted September 3, 2006 Author Posted September 3, 2006 I have installed this contribution: http://www.oscommerce.com/community/contributions,1807 It shows the ex and inc prices in the columns which will do for now. Great contrib :thumbsup: However if someone likes a challenge I would still like to see both prices at the top of the items own individual page and under each item in latest products.
rgvsean Posted September 4, 2006 Author Posted September 4, 2006 WOoooooooooooooooooooooooo HHHhhhoooooooooooooooooo Thanks to the person who pointed me to this: http://www.oscommerce.com/community/contributions,1186 Does everything I wanted. :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.