0

Trying to get parent-child relation through a mysql query in my extension but wrong detail stored in catalog_product_super_link and catalog_product_relation.

Example

+---------+------------+-----------+
| link_id | product_id | parent_id |
+---------+------------+-----------+
|       6 |     249594 |        54 |
|       9 |     249597 |        54 |
|      12 |     249600 |        54 |
|      15 |     249603 |        54 |
|      18 |     249606 |        54 |
|      21 |     249609 |        54 |
|      24 |     249612 |        54 |
|      27 |     249618 |        84 |
|      30 |     249621 |        84 |
|      33 |     249624 |        84 |
+---------+------------+-----------+

There is no product with entity_id "54" in catalog_product_super_link but still, we have a record for it even after reindexing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.