I want to change the
Sort By (Default product sort order in the front end) option that is available in the
Catalog -> Manage Categories -> Display Settings with a php script. I want to set that to
position for all categories.
Is there a way to do that in both Magento 1 and 2 ?
Thanks in advance.