How to create wordpress theme woocommerce supportable

This code can help you to  make woocommerce supportable theme, or upgrade your existing theme with theme code your theme will be fully woocommerce supportable

(1) Add following code in functions.php file

function your-theme-name_setup() {
add_theme_support( 'woocommerce' );
}
add_action( 'after_setup_theme', 'your-theme-name_setup' );

(2)Create a folder “woocommerce” in your theme
(3)Copy template file from “wp-content\plugins\woocommerce\templates” and paste into “wp-content\themes\your-theme-name\woocommerce”