Wocommerce does not redirect to cart

0

Fighting a bit with Woocommerce, something funny happens to me, I have copied the templates folder to my theme in the path /miTema/woocommerce/ and I created the file woocommerce.php with the code

<section class="contenedor-tienda">  
  <article class="listado-productos">
    <?php woocommerce_content(); ?>
  </article>
</section>

There he lists me the demo articles and if I click on them I can see his detail card, add them to the car and others. But when I click to see the cart, it redirects me to the index, as if the page did not exist and I do not see any kind of php error in the MAMP log or anything.

Would I be missing a file or code in my woocommerce.php ? Because I do not understand that I can not load the cart page.

    
asked by Marcos 10.12.2017 в 20:12
source

1 answer

0

It seems that there was an error in my file page.php of the theme that I am building and that is why I was redirected to the cart page.

I have deleted everything in that file and made a simple one that shows the content and now if it redirects correctly.

    
answered by 11.12.2017 в 19:35