Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No TAX in the index.php


Kristofer

Recommended Posts

Posted

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

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

Posted

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

  • 5 months later...
Posted

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

Posted

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

Archived

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

×
×
  • Create New...