You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the current situation
An existing site may have a woocommerce folder set up in a child theme for custom versions of some of the files. If this is changed to be named classic-commerce it is not recognised. So this folder currently still needs to be called woocommerce, even when using CC.
Additional context
It's a good idea that the woocommerce folder is recognised so as not to break existing sites that already have this folder in place. But anyone setting it up from scratch would probably call it classic-commerce. Can it be set up to to recognise either of them?
The text was updated successfully, but these errors were encountered:
This will first look for the existence of directory theme-name/classic-commerce. If that exists, it is set as the template path ( WC()->template_path() ). If theme-name/woocommerce exists, it is ignored.
If theme-name/classic-commerce does not exist, theme-name/woocommerce is set as the template path if it exists.
This does mean that the user cannot have both theme-name/classic-commerceandtheme-name/woocommerce in use at the same time but I personally think that's best anyway otherwise things could get a tad messy.
I think theme-name/woocommerce should be for legacy installations only and that we encourage the use of theme-name/classic-commerce.
Describe the current situation
An existing site may have a woocommerce folder set up in a child theme for custom versions of some of the files. If this is changed to be named classic-commerce it is not recognised. So this folder currently still needs to be called woocommerce, even when using CC.
Additional context
It's a good idea that the woocommerce folder is recognised so as not to break existing sites that already have this folder in place. But anyone setting it up from scratch would probably call it classic-commerce. Can it be set up to to recognise either of them?
The text was updated successfully, but these errors were encountered: