WooCommerce - excelling eCommerce
Newbie sort question (3 posts)

  1. DecoDean
    Posted 1 year ago #

    I have inherited a woocommerce ecom site and am sorting through a lot of new material.

    here is the site:


    Each shopping PAGE has this sort of code in its html:

    [product_category category="Golf balls" per_page="60" columns="3" orderby="price" order="desc"]

    I have successfully fiddled around with
    per_page and

    ...and am now trying to sort the products based on price (low to high) but am getting nowhere.

    A) Where can I find the various orderby codes?
    B) Where can I find the various order codes?
    C) What is the difference between them?
    D) Is there some sort of code I can put in the HTML that will let the user dictate the sort order for the page?

    Thanks in advance!



  2. Roy Ho
    Posted 1 year ago #

    Yes, the regular pages "not shortcodes" have the sorting capability built in. So for example if you go to the default shop page, you will see the sort dropdown available. This goes same if you want to display any of the product category pages.

  3. DecoDean
    Posted 1 year ago #

    Thanks Splashing! I'm getting there!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic