woocommerce_content() does not display cart, checkout, account, etc pages? (3 posts)

  1. nyubbie
    Posted 3 years ago #

    I am using woocommerce_content() in woocommerce.php, but it only displays on the main page (in a rather rudimentary form). Isn't woocommerce_content() supposed to display all the pages plus use their own CSS (if the box is ticked?).

    Also, I've noticed the cart, checkout, account, sub pages uses page.php instead of referencing woocommerce.php. What gives?

    Am I missing something out in the developer's documentation?


  2. jeanmichellsouber
    Posted 2 years ago #

    I'm facing this EXACT problem! What's going on???
    Did you find a solution?

  3. jeanmichellsouber
    Posted 2 years ago #

    Hours spent for something so little...

    Folks, check if the page.php of your theme has the following code...

    <?php while(have_posts()):the_post()?>
    <?php the_content(); ?>
    <?php endwhile; ?>

    If not, paste it, then :)

    All the other pages will work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic