OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: No TAX in the index.php
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > General Support
Kristofer
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
QUOTE (Kristofer @ Dec 5 2006, 05:11 AM) *
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
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?
jezmax
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
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']));
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.