Home Forums Theme Support Dokan Orders get duplicated in earnings

This topic is: resolved

This topic contains 16 replies, has 4 voices, and was last updated by  Jani 4 years, 4 months ago.

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
  • #34084

    Post count: 18


    You will need to have an access to your database, and then run following SQL-query (how this is exactly done, depends on your database):

    ALTER TABLE dokan_orders
    ADD CONSTRAINT order_seller UNIQUE (order_id,seller_id)


    Post count: 16

    Hey Joonas,

    I'm using plesk -> phpmyadmin to control my db. DB stuff for me is a pain in the arse, so do you have a bit more specific instructions as I'm suffering from double orders in database myself. (sellers are being quite mad lmao.)
    And wanted to know before applying, does that method stick in the database meaning that it won't allow double orders to be displayed in future too?

    Jani (Finnish :)).

Viewing 2 posts - 16 through 17 (of 17 total)

The topic ‘Orders get duplicated in earnings’ is closed to new replies.