Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No TAX in the index.php


Kristofer

Recommended Posts

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

Link to comment
Share on other sites

  • 7 months later...
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

Link to comment
Share on other sites

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 ...

Link to comment
Share on other sites

  • 5 months later...

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']));

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...