Jump to content

Product::priceCalculation correct?


Recommended Posts

Hi,

Have problem with this core function. 

It gives me strange outputs for a product price. I want one price with tax and one without. Also I want it to take into account price reductions.

What is givs me back is same price, even if I set $useTax to true och false.

Also it calculated wrong price. Seems it outputs:

calculated price = "price-without-tax"  -   "price-redution-with tax"

Any thoughts on that fuction?

Edited by bloggus (see edit history)
Link to comment
Share on other sites

Is a module I'm testing out.

PS 8.2.1
php 8.1.x

The rest of the parameters are basically default, like country, group etc.

Changing the UseTax to true/false/0/1 give e the same straneg result. It is like tax is not used at all.

Shop has been around for many years, so no problems there with that.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...