Custom Woocommerce Templates with Sage 10

What’s the best way to go about editing woocommerce templates in Sage 10?

Creating a folder in the sage root directory named ‘woocommerce’ and copying the contents of the woocommerce templates folder works. I’m wondering though if there is a better way or if there is a way to get them to work with blade.

I noticed if I add, “add_theme_support( ‘woocommerce’ );” to my setup file that I lose my site’s header and footer, but then the reviews tab shows on the product pages.

I have used this little library GitHub - generoi/sage-woocommerce and the development has gone pretty much ok without problems. Follow the installation process explained.

You can try it and if you have a more specific question you can ask.

1 Like