Typo error and added WooCommerce compatibility