I am using magento 1.9 community edition. I want to put a custom (.php) file inside my magento project folder and want to retrieve current cart and product details on to it. I have tried various methods by searching in google but nothing is working. Please help.