Woocommerce - Cart page not displaying

Chinou picture Chinou · Jun 22, 2017 · Viewed 18.1k times · Source

After ADD TO CART option i can see the items are getting updated to CART but when moving to cart page it is redirecting back to homepage.

enter image description here

The cart page shortcode is also provided.

enter image description here

Please help out!I'm new to woocommerce.

Answer

git-e-up picture git-e-up · Jul 31, 2017

Be sure you have page.php setup in your theme to get the content. Something like:

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

  <?php the_content(); ?>

<?php endwhile; ?>