Added compatibility with older versions of woocommerce
fixed method names
Merge pull request #14 from wpbrasil/patch-1

Patch 1 - Inserção de compatibilidade com o WooCommerce 1.6.6