Ready to get started?Download WordPress


WooCommerce - excelling eCommerce
woocommerce_content() does not display cart, checkout, account, etc pages? (3 posts)

  1. nyubbie
    Posted 1 year 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 7 months ago #

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

  3. jeanmichellsouber
    Posted 7 months 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

About this Topic