WooCommerce use different template for Archive page and Single page

I am building a theme with WordPress and WooCommerce. I created a woocommerce.php file in my theme folder, but all the page of WooCommerce use this template. How do I use different template for Archive page and Single page?

For example, Archive page has left sidebar with product categories; and Single page has right other sidebar with related products.

Thank you very much! Sorry for my bad English. WooCommerce version 4.2.0