WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Random sort for category products (3 posts)

  1. jcyin1
    Member
    Posted 1 year ago #

    Hello,

    I would like to have the products in the archive page of a category be displayed in a random order each time a page is refreshed, instead of the default date sorting. How do I do that?

    Thanks

    http://wordpress.org/plugins/woocommerce/

  2. Roy Ho
    Member
    Posted 1 year ago #

    In your shortcode, I believe you can use if I remember correctly...

    orderby="rand"
  3. jcyin1
    Member
    Posted 1 year ago #

    But in my case I'm not using any shortcodes to display the products. If you click View under product categories, you are directed to the archive page with all of the products under that category. However they're sorted by date I think so I need to modify that part to be random.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic