• Hello, I ask you because I would like to sort the stores so that they can be sorted alphabetically

    Could you help me or add a button to sort the stores?

    thank you in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi

    I noticed that it automatically lists by date created.
    So if you go into your store list, and change the order create date/time, it reorders the list.

    Obviously this isn’t scalable, so I’m also hoping for a solution here ??

    • This reply was modified 5 years, 1 month ago by buntubites.
    Plugin Author Keylor Mendoza

    (@keylorcr)

    Hello @antibuff and @buntubites

    Actually there is no sort option in the plugin, but you can easily edit the query that gets the stores with your own order criteria. You just need this filter wps_store_query_args to handle this.

    Maybe in the future, I will work this functionality in the plugin’s core.

    Hope it helps

    Regards

    Thread Starter antibuff

    (@antibuff)

    Hi,

    Thank you for your answer, I directly sorted the table as agreed in the function. In the meantime I will not update the plugin until there is the sort option. Thanks for your help

    Regards ?? !

    Plugin Author Keylor Mendoza

    (@keylorcr)

    Hey @antibuff

    So are you editing this function wps_store_get_store_admin directly in the plugin’s code?

    If you do, I would recommend you to use the filter as I explain in the previous thread.

    Keep in touch!

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to sort stores ?’ is closed to new replies.