D
D
Dmitriy_Gultiaev2021-08-08 14:41:26
WordPress
Dmitriy_Gultiaev, 2021-08-08 14:41:26

When you go to the cart, the main page is displayed?

I am building an online store with woocommerce. There was a problem, I moved the cart folder from woocommerce to my theme. But the problem is that when I go to the cart page, I find myself on the main page, although the browser put is sanroom/cart . How to display the shopping cart and not the main page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2021-08-08
@azerphoenix

Good afternoon.
First, read the documentation for Woocommerce.

i moved cart folder from woocommerce to my theme

You need to create a woocommerce directory inside the theme, and copy the cart directory there.
Next, you have to look at what problems will come out
Source:
https://docs.woocommerce.com/document/template-str...
Edit files in an upgrade-safe way using overrides. Copy the template into a directory within your theme named /woocommerce keeping the same file structure but removing the /templates/ subdirectory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question