• Resolved netart.gr

    (@geokantze)


    Hello and thank you for your great plugin.
    I’m wondering what “sort by popylarity” shows if there a no or the same sales per product.

    Does it sort them by name? Randomly? Or it count “product views”?

    It would be very helpful to me to know which products have a lot of views.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    In the shop, when “Sort by Popularity” is selected but the products have no sales or the same number of sales, then they appear to sort by ID descending (so the most recent one that was added is listed first). They did not sort alphabetically, and I tried changing the “published date” on one product, but when selecting “Popularity”, they still seemed to sort based on the ID.

    It appears there is some discussion in the thread below about how to add custom code to make it sort products by number of views (which is not built-in):
    https://stackoverflow.com/questions/50518802/sort-products-by-most-viewed

    If you need assistance with coding or custom development, we recommend reaching out to a developer from one of the services at https://woocommerce.com/customizations/.

    I hope that helps! Have a wonderful day!

    Thread Starter netart.gr

    (@geokantze)

    Dear KellyMetal,
    Thank you for your answer.

    The link provided doesn’t exactly give a solution and it is a bit complicated (I expected something like a ready snippet to copy paste it).

    Unfortunately, your proposal to pay for a customization isn’t affordable for me.
    (I have checked the prices…)

    Anyway, thanks again for your time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sort by Popularity’ is closed to new replies.