[Bug] Custom template parts can be created in the mini-cart area
Hi there! I noticed we currently allow users to choose Mini-Cart as an area for new template parts. This is unexpected because the actual Mini-Cart template part is shown in General.
Meanwhile, custom template parts added to the Mini-Cart area appear in a dedicated section.
Steps to reproduce
- Go to Editor > Patterns
- Click the + button and Create template part
- Choose Mini-Cart from the Area list
Proposed solution
- Create a new
Storearea for commerce-related template parts and move Mini-Cart and Product Gallery there - Prevent users from creating custom template parts in the Mini-Cart area
Thanks @jarekmorawski I was able to reproduce. Adding this to the backlog.
@pmcpinto we should dedicate some time for the Mini Cart in the next cycle; there are some issues that impact what merchants can do with it, outside of this issue:
#46166 - also high priority https://github.com/woocommerce/woocommerce/issues/46726
👍 having an estimate on each issue would be useful for prioritization
we're not considering this a high priority so I'm removing the high priority label.
Create a new Store area for commerce-related template parts and move Mini-Cart and Product Gallery there
@thealexandrelara @roykho we should do the same for filter template parts.