Woocomerce – When viewing cart it uses page.php template
I’ve developed a custom theme for wordpress and just installed woocommerce. Now the problem I’m having is whenever i click view cart, it uses my page.php file instead of the woocommerce.php file I created earlier. I copied cart.php to mytheme/xx/xx folder and modified the templates path. Is there another way to have this page displayed using my custome theme page instead of page.php
Here’s what my header looks like and I still can’t get it to work
`/* Run the loop to output the page.
* If you want to overload this in a child theme then include a file
* called loop-page.php and that will be used instead.
get_template_part( ‘woocommerce, page’ );
- The topic ‘Woocomerce – When viewing cart it uses page.php template’ is closed to new replies.