Correction made as per new woocommerce plugin.