<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Order of products on category page?</title>
		<link>http://www.kriesi.at/support/topic/order-of-products-on-category-page</link>
		<description>Support Forum - Topic: Order of products on category page?</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 22:15:50 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/order-of-products-on-category-page" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Order of products on category page?"</title>
			<link>http://www.kriesi.at/support/topic/order-of-products-on-category-page#post-98341</link>
			<pubDate>Mon, 25 Feb 2013 07:04:51 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">98341@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I didn't test the code but based on the code from: &#60;a href=&#34;http://wcdocs.woothemes.com/snippets/custom-sorting-options-ascdesc/&#34; rel=&#34;nofollow&#34;&#62;http://wcdocs.woothemes.com/snippets/custom-sorting-options-ascdesc/&#60;/a&#62; I'd say you can change the order with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/**
 * This code should be added to functions.php of your theme
 **/
add_filter(&#38;#39;woocommerce_get_catalog_ordering_args&#38;#39;, &#38;#39;custom_woocommerce_get_catalog_ordering_args&#38;#39;);

function custom_woocommerce_get_catalog_ordering_args( $args ) {
	$args[&#38;#39;orderby&#38;#39;] = &#38;#39;meta_value_num&#38;#39;;
	$args[&#38;#39;order&#38;#39;] = &#38;#39;desc&#38;#39;;
	$args[&#38;#39;meta_key&#38;#39;] = &#38;#39;_price&#38;#39;;
	return $args;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;add the code to the very bottom of functions.php. You can also replace desc with asc for an ascending order.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>amaule07 on "Order of products on category page?"</title>
			<link>http://www.kriesi.at/support/topic/order-of-products-on-category-page#post-98314</link>
			<pubDate>Mon, 25 Feb 2013 03:06:07 +0000</pubDate>
			<dc:creator>amaule07</dc:creator>
			<guid isPermaLink="false">98314@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Anyway to change the order or default ordering for products on a category page, i.e. instead of alphabetical have it go by price?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
