• Resolved António Carreira

    (@streetdog1971)


    When using Create Block Theme with WooCommerce, a few templates are added to the template list. Among these templates we get Product Catalog, Products by Tag, Products by Category and Products by Attribute.

    I don’t need specific templates for product tags, categories or attributes, I want them to be exactly like the Product Catalog template, so I deleted the html files from the theme templates folder:
    – taxonomy-product_attribute.html
    – taxonomy-product_cat.html
    – taxonomy-product_tag.html

    The problem is, even after deleting the html files, these templates still show on my template list and there’s no option to delete them.

    Am I missing something here?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter António Carreira

    (@streetdog1971)

    I found out that if I delete the html files and save the theme, the html files are created again but they get their content from the archive-product template.

    It’s a bit weird, but maybe that’s how it’s suppose to work?

    Moderator Felipe Santos

    (@foosantos)

    Hi there,

    Yes, I believe this is the default expectation from WooCommerce (they likely create these by default when you don’t have one), so it indeed makes sense that it is working like that.

    You can always open a topic direct with them to confirm.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delete WooCommerce templates’ is closed to new replies.