Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Prices correct in admin but almost double in front end


Guest

Recommended Posts

Posted

Hello all..

 

In the admin section, the prices are correct but in the front-end of the system the prices are _almost_ double.

 

Can anyone give any suggestions on how to fix this?

 

Thanks

 

Regards,

Dave

Posted

Check your /catalog/includes/application_top.php file for this line and check to see if it is set to true or false.

 

define('DISPLAY_PRICE_WITH_TAX', false); // Display prices with tax (true) or without tax (false)

 

Hope this helps,

-Chris

Chris Sullivan

Posted

It may simply be that when adding the price (say in your currency) in the admin section, when you view your cart, the price may almost double because its displaying the price in another currency.

 

It's happened to me !! :?

Posted
Check your /catalog/includes/application_top.php file for this line and check to see if it is set to true or false.

 

 define('DISPLAY_PRICE_WITH_TAX', false); // Display prices with tax (true) or without tax (false)

 

Hope this helps,

-Chris

 

Hi Chris,

 

I have taken a look at that file and have found no lines matching that what so ever, so I have added it but makes no difference still.

 

Under my currency settings, I have ID 5, Currency Australia, Code AUD, Blank for Symbol left and right, Decimal Point is ., thousands point is blank and Decimal Places is . and Example Output shows 30 = 57 which i didn't think was correct, I have no idea what I should put into these fields so I have tried removing the Decimal point and decimal place's which is now showing an Example Output of 30 = 30 which must mean that the store front and admin prices should now be matching with each other but still has not changed.

 

Any ideas?

 

Thank you, I appreciate your help.

 

Regards,

Dave

Posted

Hey.

 

I can't imagine that the line I quoted you isn't in your /catalog/includes/application_top.php file. It really should already be there. Other than that, I am pretty lost. I can't imagine why it would show the incorrect price unless it is being shown with tax, or with a different currency.

 

I would tell you to go back and double check your application_top.php file, and then let me know.

 

-Chris

Chris Sullivan

Posted
Hey.

 

I can't imagine that the line I quoted you isn't in your /catalog/includes/application_top.php file. It really should already be there. Other than that, I am pretty lost. I can't imagine why it would show the incorrect price unless it is being shown with tax, or with a different currency.

 

I would tell you to go back and double check your application_top.php file, and then let me know.

 

-Chris

 

Hi Chris,

 

That's odd, I have done a grep "WITH_TAX" */* and it returns nothing within the oscommerce directory of mine... Can anyone please help?

 

Any help is greatly appreciated.

 

Regards,

Dave

  • 4 weeks later...
Posted

I have this same problem... seemed to come up after I removed every other currency besides that of $AUD... my prices don't even seem to have the "$" or the ".00" at the end of them anymore... I can't find any logical sense to the numbers it gets and yet it gets them the same every time...

 

I might just re-install. *Sigh* 2.2 or 2.1?

Posted

If I put all the currencies back in... it seems to display the $ and numbers properly again... but I only want one type of Currency to be used... AUD. How do I just use one currency in v2.1 ? Deleting them seems to screw things up...

  • 2 weeks later...
Posted

I found the same thing.

Deleting the unused currencies will break your cart. So set the one you want as default.

 

You are quite safe to delete the languages you dont want.

 

Tracy

Archived

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

×
×
  • Create New...