Jump to content

Why do I get a 0 € price? (solved)


Recommended Posts

I created some products with combinations of attributes. For some reason, these products have a 0 euro price tag on the product page and the products without any attributes have the right price. I did set an impact on the original product price for every combination. However, the price is right in the backend and it is even right on the category page. It is wrong only on the product page. Why?

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

  • 3 weeks later...

It really helped indeed, thank you! For those who are having the same issue, you just have to go to themes/yourtheme/js/product.js and everytime you see group_reduction, you replace it with 1.

 

For example, line 299:

priceTaxExclWithoutGroupReduction = ps_round(productPriceTaxExcluded, 6) * (1 / group_reduction);

will be replaced with:

priceTaxExclWithoutGroupReduction = ps_round(productPriceTaxExcluded, 6) * (1 / 1);

And you do the same everytime it says group_reduction.

  • Like 1
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...