Woocommerce error face

archive-product.php or search page doesn’t work on my theme
The solution for me was to add theme support… Which, it’s been a while since I used woocommerce, so I completely forgot about that. But after adding the following line to my functions.php file, archive-product.php is now being used (/mytheme/woocommerce/archive-product.php) and I can update it, as I should be able to.

add_theme_support('woocommerce');
Advertisements