woocommerce icon indicating copy to clipboard operation
woocommerce copied to clipboard

[Bug] Custom template parts can be created in the mini-cart area

Open jarekmorawski opened this issue 1 year ago • 3 comments

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.

image

Meanwhile, custom template parts added to the Mini-Cart area appear in a dedicated section.

image

Steps to reproduce

  1. Go to Editor > Patterns
  2. Click the + button and Create template part
  3. Choose Mini-Cart from the Area list

Proposed solution

  1. Create a new Store area for commerce-related template parts and move Mini-Cart and Product Gallery there
  2. Prevent users from creating custom template parts in the Mini-Cart area

jarekmorawski avatar Apr 29 '24 15:04 jarekmorawski

Thanks @jarekmorawski I was able to reproduce. Adding this to the backlog.

opr avatar May 06 '24 16:05 opr

@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

ralucaStan avatar May 13 '24 16:05 ralucaStan

👍 having an estimate on each issue would be useful for prioritization

pmcpinto avatar May 14 '24 13:05 pmcpinto

we're not considering this a high priority so I'm removing the high priority label.

ralucaStan avatar Jul 16 '24 15:07 ralucaStan

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.

dinhtungdu avatar Jul 23 '24 02:07 dinhtungdu