• Resolved TITAN

    (@valletinformatique44)


    Hello,

    I am looking to sort the following list (“U20” “U10” “U110” “U11” “T1” “V1”) to first be sorted alphabetically then numerically so that it ends up being (“T1” “U10” “U11” “U20” “U110” “V1”)  (so U20 before U110) for exemple. It would be possible with your plugin ?

    Regards

Viewing 1 replies (of 1 total)
  • Plugin Support tahawbw

    (@tahawbw)

    Hi,

    By default, the filter sorts attribute values alphabetically as text, so values like U110 can appear before U20. This is expected behavior.

    However, you can try the following workaround:

    1. Go to WooCommerce → Products → Attributes.
    2. Edit the attribute you are using and click Configure terms.
    3. Set the attribute to Custom ordering and manually arrange the values in the order you want
      (for example: T1, U10, U11, U20, U110, V1).
    4. In the Product Filter settings, enable Order by custom for this attribute filter.

    Please let me know if this was helpful.

    Regards,

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.