Kristofer Posted December 4, 2006 Posted December 4, 2006 Hello! I have some problems with my osCommerce installation. The shop do not show the prices with TAX included at the front page (index.php). All other pages works perfect. What can be wrong? I tried to copy the codes in products_new.php to index.php. The prices became right, but the categories didn't work instead. I think the reason for that is that the products_new.php code doesn't contain any code for "cPath". Maybe it's possible to mix that two codes and it will work? Thank you!!! /Kristofer
hobnob Posted July 16, 2007 Posted July 16, 2007 Hello!I have some problems with my osCommerce installation. The shop do not show the prices with TAX included at the front page (index.php). All other pages works perfect. What can be wrong? I tried to copy the codes in products_new.php to index.php. The prices became right, but the categories didn't work instead. I think the reason for that is that the products_new.php code doesn't contain any code for "cPath". Maybe it's possible to mix that two codes and it will work? Thank you!!! /Kristofer Hi Kristopher, Have you had any replies to this as I am getting the same problem. Thanks, Vlad
♥Monika in Germany Posted July 16, 2007 Posted July 16, 2007 Vlad, can you post a screenshot, and identify where it's ok and where not? Can you see from the source code which file is included in the section that has the wrong prices? :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
jezmax Posted January 10, 2008 Posted January 10, 2008 im getting the same problem if you want to see go to www.gbmotoracingparts.co.uk , the index has no vat where it should but the other pages are fine
jezmax Posted January 11, 2008 Posted January 11, 2008 hi thius is the solution in the includes/modules folder select new_products find the line thats like $products_price = $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_price])); and change to $products_price = $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id']));
Recommended Posts
Archived
This topic is now archived and is closed to further replies.