I am trying to override Woocommerce's templates files by duplicating them in my custom theme directory / woocommerce / templates, but the changes don't appear (I tried simply adding classes to begin with) on the website. Is there something I am doing wrong ?
Thank you for your concern.
make a Woocommerce folder inside the theme directory and then follow the folder structure symmetry as in the plugin for the fallback to work properly.
Hope it will work
While the directory structure in the WooCommerce plugin itself is:
You should define it like the following in your theme (note the missing
templates
dir):In other words, you should put all of the overrides directly within the
woocommerce/
directory (there will be notemplates/
directory). This is definitely confusing.