it goes into your theme’s functions.php (at the bottom, before the ?>)
If you’re creating a shop page using shortcodes, you can designate the ordering within the shortcode:
[product_categories number=”” orderby=”title” order=”asc”]
I tried to use the shortcode for “products by category slug”
[product_category category=”” per_page=”12″ columns=”4″ orderby=”date” order=”desc”]
but nothing shows up on my test page. I definitely do have categories with slugs set up, so I’m not sure what the problem is.
http://barricadeudt.com/store-test/
missing category slug
Ex:
[product_category category=”zombie-contingency” per_page=”12″ columns=”4″ orderby=”date” order=”desc”]
Any chance to order by sku?
Can’t find a solution for this problem.