Issues With Magento and CloudFlare SSL HTTPS

I ran into this weird issue when trying to implement CloudFlare on a Magento 1.7.0.2.

The SSL setup is right with CloudFlare, however, every time the site tries https protocol (during checkout/admin area), a SSL redirect loop occurs.

The problem can be solved by adding the following line in .htaccess

############################################
## FOR NGINX, LIGHTTPD, VARNISH OR ANY OTHER REVERSE PROXY TO APACHE
SetEnvIf X-Forwarded-Proto https HTTPS=on

http://www.wecode.com.au/magento/cloudflare-magento-ssl-redirect-loop/

How To Add An Address & Logo on Magento Invoice

By default Magento invoices are void of your own address and logo.

You can easily add your own logo and address to the automatically generated invoices in Magento however it is one of those features that’s hidden behind a massive menu hierarchy and is hard to remember how to get back to.

System->Configuration->Sales->Sales->Invoice and Packing Slip Design

You can even use different logos for HTML and PDF print views.