• Resolved Caridor

    (@shaar7)


    Hi

    First of all, I want to thank you for ur support even for the Lite version. which is make you superior to other.

    Kindly I want to make the default sorting store page be “most Recent “.

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello @shaar7 ,

    Thanks a lot for your kind words.

    Can you please specify which store page you mentioned?

    The store list page shows the most recently created stores by default. The store page shows products based on the most recent ones.

    The default shop page’s sorting can be chosen from wp-admin > Customize > WooCommerce > Product catalog > DEFAULT PRODUCT SORTING – https://prnt.sc/vrpc1g

    Let me know if this is what you mentioned, otherwise you can share a screenshot to make it clear to me.

    Thank you ??

    Thread Starter Caridor

    (@shaar7)

    hi @rur165

    the solution which u sent is working perfect for the products page.
    stores list which is I mean vendors list. the page which is display all vendors using this shortcode [dokan-stores]

    I need to sort them how it can be ?

    Thank you ??

    Hello @shaar7 ,

    There are no settings to select the default sorting for the store list. It will be sort as most-recent by default. If you want to add or remove any sorting option you can use this filter – dokan_store_lists_sort_by_options

    Let me know if you have further questions.

    Thank you ??

    Thread Starter Caridor

    (@shaar7)

    hi agian

    for me, it’s sorting from old to new. I don’t know why !!

    and for the filter which u sent where i can you it ?!

    thanks

    Hello, it’s the same for me. [dokan-stores] is sorted from oldest to newest !

    Hello @declicben & @shaar7 ,

    It looks like I have made the wrong assumptions. The store is ordered from old to new by default. As of now, we do not have a built-in solution to change this. Basically, it is generating the order from this file – \dokan-lite\includes\Vendor\Manager.php – see get_vendors() function. Here you can change order_by to DESC – https://prnt.sc/vu7jeb

    I know this is not the recommended way. I will suggest to include this sorting feature in the store-listing shortcode instead.

    Thank you ??

    Thread Starter Caridor

    (@shaar7)

    Its working perfect thank you bro a lot ??

    I only can order DEDC and ASC ? are there other options? like random sorting ?1

    Thank you dear

    Hello @shaar7 ,

    It looks like these are the two options we have now for this. Random sorting is unavailable here.

    Thank you ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Sort Store Page’ is closed to new replies.