Vote up!
Vote down!

What causes duplicate orders on the admin list?

I have a problem in my order page View. The orders appear duplicated, and if I delete one order the other is deleted also.

Whats seems to be the problem?

Asked by: rprmatias
on January 3, 2013

1 Answer

Vote up!
Vote down!

For future questions, please provide more detail, as the best I can do is assume. That's never a great way to deliver support. : )

It sounds, though, like you have edited the View in such a way that it's causing duplicate results to show. This can happen when you add a relationship to the View from the Order table to some other table, like Line Items or Customer Profiles where there may be multiple entries per order.

Views doesn't limit you from displaying the same order multiple times, because it doesn't know that you're trying to show order fields at all. It just performs the query, finds multiple results sharing the same base order data (perhaps one per line item), and then renders them as separate rows in the table.

Revert the View or fix your configuration, and the problem itself will disappear.

Ryan Szrama
Answer by: Ryan Szrama
Posted: Jan 25, 2013