On category page, sorting by price return products in wrong order for configurable products. Lets say i have a product with 3 associated products with prices $10, $20, $30. The sort by price will order this product by adding all prices 10+20+30= 60 .
Is there any setting in the admin im missing?
Checked the theme file and i think it is getting products collection by this :
Mage::getSingleton('catalog/layer')->getProductCollection();
Best Answer
If you are using an older version of 1.9.x you may need to upgrade to the latest as there was some confirmed bug with sorting on configurable products on 1.9.2.1 up to 1.9.2.4 (rough guess)
There are lots of examples of how to fix the sorting issue like with work arounds if you are unable to upgrade:
Local override file: app/code/local/Mage/Catalog/Model/Resource/Product/Type/Configurable/Attribute/Collection.php
Sauce:
However with that said, if you are running the latest Simple Configurable Product (SCP) may be an option you need.
Related: