Woocommerce Custom Loop template

Hi there,

I’m building a custom loop, and I’m modifying the X theme files. Namely pro / framework / functions / plugins / woocommerce.php

  • I tried moving this file to the child theme’s - / framework / functions / plugins / woocommerce.php spot, like with all modifications, but it does not update my code if I do it this way. Any ideas on how to fix this?

Thanks!

Hi @Pbalazs89,

The only place that we override the Woocommerce plugin is the woocommerce folder. There you will find that we only change the start and end of the loop and not the actual loop itself.

So any other normal Woocommerce override will work. For example here is a Google Search on how to override the product archive page.

Also, you may be interested in the Hooks of the Woocommerce that enables you to do the changes from functions.php file of the Child Theme instead of overriding the actual Woocommerce files. For more information:

https://docs.woocommerce.com/wc-apidocs/hook-docs.html

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.