Jump to content

Discounts Not Applied In Front End


bibob

Recommended Posts

i have created a normal product discount with amount and also as percent in the product admin
and it is created succesfully

the problem is that in the front end it still shows the normal price also in the cart. seems that there is something is still not applied. i have used prestashop for long time and never faced this issue

I have disabled all non prestashop modules and also disabled all overrides and restored to default theme and still facing same problem

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

SOLVED!!! really strange  but prestashop set a limit of max 1000 discounts allowed.  so i increased this value in classes/specificprice.php 

 

private static function filterOutField($field_name, $field_value, $threshold = 30000)

 

before $threshold = 1000

 

also i would like to know if increasing this value from 1000 could cause any other issue. maybe for the cache limits or something ?

Edited by bibob (see edit history)
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...