Implemented

Dynamic sorting of categories

Hi,

I need to dynamically sort categories associated with the product based on an independent parameter.

Could you add a filter in the /inc/class-frontend.php at line 341 (like in the attached picture) ?


This filter allows me to reorganize the categories in order to choose the first one which will be displayed by default.


Best regards

customsort.png
(35.5 KB)
  • Hi,

    did you take a look at this request? could I have a reply please?


    Regards

  • Still doesn't work. We can't sort design categories in FPD :/ (we can, but changes are not saved)

  • Hi,

    we don't need any save of this sorting.

    We have a single woocommerce product which is in almost a hundred fancy categories. This hook allows us to move a category among all others to the top (1st position) of the list based on a parameter in the url. The customer can then navigate the front interface between all categories but the selected category is still at the first position.

Login or Signup to post a comment