LVDM LVDM - 4 months ago 26
PHP Question

WooCommerce not showing templates

Hi i'm creating a webshop with WooCommerce but with a self made theme, now showing the content-single-template works fine, however the cart/checkout page is not working. This is what i've done so far:

• Add woocommerce.php in the root of my theme with

woocommerce_content()
inside.

• Created "woocommerce" directory in the root of my theme inside this directory another one "checkout" and inside there my custom form-checkout.php

• Shortcodes on every page are included

• Clean install WooCommerce

• Flushed permalinks

I've read trough this article from WooCommerce on how to integrate it and followed every step precisely.

When i switch to a differend theme it does show the cart/checkout page so wondering what i'm overseeing here.

Thanks

EDIT:

Contents: woocommerce.php

<?php
get_header();

woocommerce_content();

get_footer();

Answer

Got it fixed, because i basically created my own theme i started switching theme's and see the difference between mine and the working theme.

What fixed it for me was in content.php placing this:

<?php the_content(); ?>