Sort order of related products seems to be same with sort order of category products.
I would like to use position for sorting. when I tried to set position fields of related products and reindex category products, nothing happen.
Does someone know how to edit specifically for related products?
Sorry Amit
I can't understand your solution. I just would like to use magento default function.
Usually, if I set positional order in related product tab in product editing page. It can use.
I searched the internet and somebody says related.php
file has a bug in this thread.
Do you think so?
core>Mage>Catalog>Block>Product>List>Related.php
Original
$this->_itemCollection = $product->getRelatedProductCollection()
->addAttributeToSelect('required_options')
->addAttributeToSort('position', Varien_Db_Select::SQL_ASC)
->addStoreFilter()
to
$this->_itemCollection = $product->getRelatedProductCollection()
->addAttributeToSelect('required_options')
->setOrder('position', Varien_Db_Select::SQL_ASC)
->addStoreFilter()
but this solution also not working for my site.