celextel, on 16 May 2010, 06:20, said:
Either you do not have the following file:
catalog\includes\classes\currencies.php
or the following function is missing in the catalog\includes\classes\currencies.php file:
function calculate_price($products_price, $products_tax, $quantity = 1) {
global $currency;
return tep_round(tep_add_tax($products_price, $products_tax), $this->currencies[$currency]['decimal_places']) * $quantity;
}
You should setup osCommerce directly in the root directory of your website or in the catalog directory. You have setup under store\catalog\. This is not usually done.
Thank you so much!
I did not have the function in the currencies.php so I added your code and everything works fine now.
I agree with you about the setup. I am trying out a new hosting provider and it automatically installed the application.
Is it possible to move the setup by just moving the files to the root?
dink














