• Resolved Chandra

    (@naturepinks)


    Hi @pileggi,

    v2.0 of plugin WooCommerce Out Of Stock Last has broken product sorting on the product catalog.

    Default sorting (custom ordering + name) does not work anymore and products seem to be sorted by recency (Out of stock products show after in stock products and this part is correct, only sorting is not correct).

    I have tried replacing the plugin php file v1.0 and that works correctly. Deactivating the plugin also sorts products correctly.

    Could you kindly review.

    *Edit:* just saw your Changeset 2615912 (Fix to do not change order products in admin panel)
    I think the logic should be to first separate out products by stock status and then apply the sorting order chosen in the customize screen. Thanks.

    Thank you.

    • This topic was modified 2 years, 5 months ago by Chandra.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alcmidia

    (@pileggi)

    Hi @naturepinks

    True, the ordering was wrong, thanks for the warning.

    The problem has been fixed, now it sorts first by stock and then by title.

    In the future, we are considering adding optional default ordering types.

    Best Regards

    Thread Starter Chandra

    (@naturepinks)

    @pileggi
    Very nice of you to fix it so fast, thank you.
    Works perfectly!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product sorting broken in Plugin v2.0’ is closed to new replies.