D
D
Dimastuy022021-04-15 18:03:35
WordPress
Dimastuy02, 2021-04-15 18:03:35

Showing home page instead of cart/my-account/checkout?

Instead of cart/my-account/checkout, the main page is displayed at the same url, the theme is self-written, I tried many options, nothing helps, the goods themselves are added (displayed through the code), there are pages. If you switch to the default theme, everything works.

This is
add_theme_support( "woocommerce" );
woocommerce_content();

also copied all files from plugin/woocommerce/templates

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimastuy02, 2021-05-06
@Dimastuy02

Thanks everyone, I solved the issue by deleting all the pages and recreating them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question