Magento PHP

Sort product by newest in Magento (with out hacked!)

After adding a few products in my Magento site, I have found that the latest added product will go to the last of the product list. That doesn’t make sense. So… I googled it for finding the solution but almost of them are hacking the Magento’s core code. This will cause my website some problems when upgrade Magento in the future.

The right solution is try to config Magento using layout files.