New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edits to Product Archive template are not visible in the Product Category and Product Tag pages #42656
Comments
I can see an argument for it working the way you've described in this PR and the way it currently works. It's worth noting as well that if we decide it should behave the way you've outlined above then this should also apply to themes who only have the We just need to come to a decision of the correct behaviour before moving forward with this I think. |
… or Tag templates are present If the user has customized the `archive-product` template and there is no better choice for the Category or Tag, then the custom Product Archive is chosen. The priority order is the following: 1. Custom Taxonomy Template 2. Taxonomy Template from the Theme 3. Custom Product Archive Template 4. Product Archive Template from the Theme Fixes #5520
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
… or Tag templates are present If the user has customized the `archive-product` template and there is no better choice for the Category or Tag, then the custom Product Archive is chosen. The priority order is the following: 1. Custom Taxonomy Template 2. Taxonomy Template from the Theme 3. Custom Product Archive Template 4. Product Archive Template from the Theme Fixes #5520
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
This was fixed in woocommerce/woocommerce-blocks#7712. |
I might be understanding this wrong, but I think that if Product Category and Product Tag templates haven't been customized and don't have a custom template set by the theme, but the Product Archive has been customized by the user, the Product Archive template should take priority.
To reproduce
/product-category/clothing/
).Expected behavior
Any change in the Product Archive template should be applied to the Product Category and Product Tag pages if they hadn't been customized or the theme doesn't have a specific template for them.
Screenshots
Editor:
Frontend:
Environment
WordPress (please complete the following information):
trunk
and 6.1 RC1trunk
and disabledThe text was updated successfully, but these errors were encountered: