Jump to content

Duplicate products in backend - Prestashop 1.7.5.1


HenrikStrange

Recommended Posts

I'm seeing multiple products with the same ID in the backend after upgradeing from 1.6.22 to 1.7.51.

In 1.6 i added this fix (solution from here) to AdminProductsController.php by replacing this:

        $this->_use_found_rows = false;
        $this->_group = '';

with this:

        $this->_use_found_rows = true; 
        $this->_group = 'GROUP BY '.$alias.'.id_product';

In 1.7 these two lines no longer exists, so I wonder if theres another way to fix the duplicate issue?

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

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