Home Forums WoodMart support forum How can I get the sorting of numbers / numeric in filters correct?

How can I get the sorting of numbers / numeric in filters correct?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #466942

    support-1174
    Participant

    Hello,

    In the store page Widget area, I use a lot of Woodsmart Woocommerce Layered Naviagation widgets.
    Filters with text/alpha are automatically sorted alphabetically.
    Like with colors:
    Black
    Blue
    Green

    But it does not sort by numbers/numeric correctly… I get it like so:
    101 t/m 150 cm
    151 t/m 200 cm
    201 t/m 250 cm
    251 t/m 300 cm
    51 t/m 100 cm

    It should be like:
    51 t/m 100 cm
    101 t/m 150 cm
    151 t/m 200 cm
    201 t/m 250 cm
    251 t/m 300 cm

    and I get this:
    10
    12
    2
    4
    5
    6
    7
    8

    It should be like:
    2
    4
    5
    6
    7
    8
    10
    12

    How can I get the sorting of numbers / numeric in filters correct?

    #467008

    Luke Nielsen
    Keymaster

    Hello,

    Navigate to Products -> Attributes and set sort manually per your needs: https://take.ms/gNuzf

    If there’s anything else we can do to make things right, just let us know.

    Kind Regards

    #467031

    support-1174
    Participant

    Thanks!

    #467084

    Luke Nielsen
    Keymaster

    You are welcome! In case you need any additional help, I’d be more than happy to assist you.

    Wish you all the best.

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How can I get the sorting of numbers / numeric in filters correct?’ is closed to new replies.