Imported products show a 404 page

I used a plugin to import products to WooCommerce store, however after importing the products the single product pages give a 404 error. Saving permalinks didn’t help.