This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Store Editing Templates: Added By template information incorrect for customised template based off product-archive.html #5441
Labels
focus: FSE
Work related to prepare WooCommerce for FSE.
focus: template
Related to API powering block template functionality in the Site Editor
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
This appears to be a fairly niche bug and is related to #5380 however this wasn't an issue at the time of merging.
If we are using the
product-archive.html
template from the theme also for the product categories/tags (because templates for these dont exist in the theme), when we customise one of the product category template (or product tag template) and save it. It will set the template icon as your Gravatar and the added by value will be "demo"To reproduce
Steps to reproduce the behavior:
archive-product.html
template into your FSE enabled theme.archive-product.html
file for the category and tag templates as they're typically the same.Expected behavior
I expect the "Added By" value to be the theme
Screenshots
The text was updated successfully, but these errors were encountered: