Web Analytics

Fill the form & Get Installation Support

Magento 2: How to resolve Item with the same ID “ID” already exists error?

When you get error like: Item (Magento\Catalog\Model\Product\Interceptor) with the same ID “<id>” already exists.

Then you can use below module to resolve above error.

1. Create new folders Magemonkey/DuplicateEntry in app/code magento folder.
2. add new file registration.php in DuplicateEntry folder and put below code.

3. add new file etc/module.xml in DuplicateEntry folder and put below code.

4. add new file etc/di.xml in DuplicateEntry folder and put below code.

5. add new file plugin/Collection.php in DuplicateEntry folder and put below code.

Fill the below form if you have any Magento programming need.





    Recent Articles

    Author Info

    Author Image

    Magento Developer

    Hire T. Baldha

    Get a Free Quote





      /* second popup */

      Connect With Us