Jump to content

[SOLVED] Product price combinations Zero


wasabi80

Recommended Posts

Hi everybody, i have a mysterious problem, all my prices (for specific combinations) are showing 0,00 in frontend.

(one day all prices of combinations in frontend disappeared)


I have tried to enable debug, but no erros and also with DEBUG_PROFILING without results.

I have tried any suggested changes in varoius topics (add index, change template,  and so on) but without effects.

My PrestaShop version is 1.6.1.2 and i use the default theme.


If anyone have some suggestions please write to me.



Thanks in advance

Corrado

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

After a lot of debuggin i found the problem.

In classes\SpecificPrice.php  there was a limit of 1000 in specific price attributes.

 

so i changed this line

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

with

    private static function filterOutField($field_name, $field_value, $threshold = 10000)
  • 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...