Answer the question
In order to leave comments, you need to log in
Why does wp load index page instead of woocommerce cart page?
Good evening.
When I go to the cart page, I see index.php
In the woocommerce settings, I deleted the template cache + Created default pages
But it didn't work at all
When I added cart.php to the child theme,
I see this:
Any ideas?
Answer the question
In order to leave comments, you need to log in
Understood the issue.
There was a problem in page.php, or rather in the absence of ego
In the theme folder, I created a page.php file with this code
<?php get_header() ?>
</header>
<main class="main">
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
</main>
<?php get_footer() ?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question