skip to Main Content

Include PHP file in Woocommerce template

I'm customising the Woocommerce content-single-product.php and want to add a custom template file for the sidebar. so far I've tried: <?php require get_stylesheet_directory() . '/layout/page-sidebar.php'; ?> This works elsewhere in my theme but not on Woocommerce templates where it gives…

VIEW QUESTION
Back To Top
Search