• Resolved avatarz

    (@avatarz)


    Hi,

    Running woocommerce on my site and i have noticed that i have a category that says “mine” with 3 orders under it.. can we fix this / correct it?

    thanks

    Avatarz

Viewing 1 replies (of 1 total)
  • Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    @avatarz I’m assuming you are referring to this option in the Orders screen: http://cld.wthms.co/u2NeTP

    Is that right? If so, this isn’t a “category” exactly, nor can this be hidden just from the settings of the plugin.

    WooCommerce 3.5.0 introduced a change that made it so the customer in an order is set to the author of the order. Because of this, there are now multiple authors for orders, instead of just the ID of 1.

    Whenever there are multiple authors for a post type, WordPress will add a Mine option for filtering, so that you can easily find the ones you have created.

    This shouldn’t affect things in terms of functionality, but if you are keen on hiding this option, you’ll need custom coding. You might want to try this code snippet, which contains a filter that will unset the Mine option from the order view page: https://gist.github.com/jessepearson/3279983d904e30ca51537ca849c2a4ad

    Haven’t tested it myself, but you might want to give it a try.

Viewing 1 replies (of 1 total)

The topic ‘“mine” catagory under orders?’ is closed to new replies.