fixed suporte to woocommerce 2.1