Change class woocommerce on function.php
Create a woocommerce/ folder in your theme if one doesn’t already exist. Then copy the file from plugins/woocommerce/template/path/to/file.php to your theme’s /woocommerce/path/to/file.php and edit the class to your needs.