Support » Plugin: WooCommerce » Woocommerce sort by price problem

  • Resolved kantze

    (@geokantze)


    Hello there. I’ve got a weird problem with woocommerce.

    When trying to display the products by price (low to high) it sorts right the integer part of the prices and by random (!!) the decimal part.

    See the problem here.

    I’ve already tried to disable all the plugins and change the theme to storefront but didn’t work.

    Any help appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have same problem. “sort by price” box is missing when I use “advance search”.

    Check this: https://github.com/woocommerce/woocommerce/issues/14292

    Wait a minute. I didn’t say that any box is missing. The products on a category page are not arranged by price as needed when the integer part of their price is the same and the decimal only changes.

    For example I see:

    Product 1: 0,50€
    Product 2: 0,60€
    Product 3: 0,40€ -> Wrong! Should be shown first.

    Please, don’t open another issue here.

    @geokantze
    I can’t see the sort filter drop-down. Did you hide it?

    Does it work if you set the euros/cents separator to . instead of , ?

    Yes, I did.

    I’ve found somehow a solution.

    I didn’t mention (and sorry for that) that I’ve imported the products with WP ALL IMPORT and for some reason there’s a problem with the prices.

    I change the prices and I update the products and then the sorting works fine.

    Thanks guys for replying.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce sort by price problem’ is closed to new replies.