Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

woocommerce template overrides not working #651

Closed
kevinalves opened this issue Dec 24, 2015 · 5 comments
Closed

woocommerce template overrides not working #651

kevinalves opened this issue Dec 24, 2015 · 5 comments

Comments

@kevinalves
Copy link

Normally to override Woocommerce template files you can really simply do that by copying woocommerce/templates into your theme folder and renaming it woocommerce.

With FoundationPress this does not work. I've confirmed that it does work with, for instance, the default wordpress themes. Any idea's why? this would greatly improve my workflow.
Thanks!

@zamson
Copy link

zamson commented Jan 2, 2016

Maybe this has something to do with the renaming of hooks in library/cleanup.php on line 251. Not able to test at the moment.

@Growthmill
Copy link

Probably related to #601

@zamson
Copy link

zamson commented Jan 26, 2016

Any updates? Still not working

Edit: Seems to be related to cache and some woocommerce templates saving to session. Most of the overrides works.

@ghost
Copy link

ghost commented Feb 2, 2016

Just a thought:
https://docs.woothemes.com/document/template-structure/
Especially this part:
"Note: When creating woocommerce.php in your theme’s folder, you will be unable to override the woocommerce/archive-product.php custom template in your theme, as woocommerce.php has priority over all other template files. This is intended to prevent display issues."

@zamson
Copy link

zamson commented Feb 2, 2016

@eccola That's correct. I wonder if this issue should be marked as solved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants