In our store the sort by position (ie 'Best Value') option is not being shown when viewing categories. I believe this was removed/hidden by someone in the past but now we want to show it again.
I have checked all the common areas for this and can't find where/how it has been removed. For instance, all categories have all the sort options selected under the "Available Product Listing Sort By" list - the 'Best Value' option is not deselected for any category:
Also, i've checked and
app/design/frontend/our/theme/template/catalog/product/list/toolbar.phtml does not exclude the 'position' attribute. I tried echoing the output of
toolbar.phtml and the list does not include the position field so I assume that position is somehow being removed via code before the template is rendered.
How can I find where/how position is being removed from the product sort options?
We are running Magento 22.214.171.124 CE.