Answer the question
In order to leave comments, you need to log in
What to do if you don't need pages created by Woocommerce. How to hide them?
WooCommerce needs the bare minimum: create product categories, the products themselves with attributes, and display them in an arbitrary place on the landing page. You also need to remove permalinks from products, since I will not display them on a separate page. How to disable everything that is not needed (product card pages, categories, carts, etc.)? I just need to display a list of products in a custom one-page section.
That is, in fact, I don’t need woocommerce, I need the opportunities that it creates in the admin panel (view orders, create coupons, etc.).
Answer the question
In order to leave comments, you need to log in
The pages of the basket, checkout, personal account can not be created, if they exist, then simply delete them. On these pages, data is displayed using shortcodes. So at any time you can restore everything
. Well, the list of goods can be displayed separately with a shortcode or through wc_get_posts, depending on the decisions of the theme itself.
delete the lines in the content-single-product.php file and remove the ability to follow links in the content_product.php file
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question