Order by price and default order
Two questions:
1) If there are for example 3 ads with the following prices: 11.000 / 10.000.000 / 100, if I order by price ASC the plugin shows 100 / 10.000.000 / 11.000 obviously not correct. Also if the values are for example 750 / 680.000 / 160,00 it shows 680.000 / 750 / 160,00 (seems it interpeter the point like a comma and viceversa). How to change this behaviour?
2) I want the ads ordered by default by date DESC and not by price, but since I've added this plugin it order by default by price. I tryed also to modify the taxonomy-ad_cat.php file, as indicated by thesanerone but the ads are always displayed by price in any case
my mofification was:
HTML Code:
query_posts( array('post_type' => APP_POST_TYPE, APP_TAX_CAT => $term->slug, 'ignore_sticky_posts' => 1, 'paged' => $paged, 'orderby' => 'date', 'order' => 'DESC') );
Thank you in advance for your answers