WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Newbie sort question (3 posts)

  1. DecoDean
    Member
    Posted 11 months ago #

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

    here is the site:

    http://www.golfballmonster.com

    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
    category
    per_page and
    columns

    ...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!

    -Dean
    DeanRickman@Yahoo.com

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

  2. Roy Ho
    Member
    Posted 11 months 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
    Member
    Posted 11 months ago #

    Thanks Splashing! I'm getting there!

Reply

You must log in to post.

About this Plugin

About this Topic