Jump to content

"New" in front of Orders doesn't disappear?


Recommended Posts

I have 6 orders in my store, all of them have had status updates etc ...

But only on the 3rd and 4th does the "new" image disappear. I've opened the other orders multiple time, they keep having "new" in front of it? Even after logging out/in again ...


Anybody else got the same problem?

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

Here's the query that determines whether an order is marked as "New":

IF((SELECT COUNT(so.id_order) FROM `'._DB_PREFIX_.'orders` so WHERE so.id_customer = a.id_customer AND so.valid = 1) > 1, 0, 1) as new,



It seems it marks all orders as new if they have the "valid" field set to 1.

Link to comment
Share on other sites

×
×
  • Create New...