Jump to content

Where in code does the reduction(%) is set?


malex

Recommended Posts

Thanks for reply.

I need to change the price for some users with an alorithm that rounds the price. Where do I put it in the code?
I'm currently trying to modify getReductionValue() function of classes/Product.php. Is there any other way?

Link to comment
Share on other sites

  • 2 weeks later...

Hi again, I posted here because it's related.

It doesn't calculate correct when the product has attributes.

I commented the return value in ps_round and when it has attributes it display the price(incorect), when it has attributes it usses othe function than ps_round() from Tools?

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