Website Building » WooCommerce » How Do I Remove the Sidebar From the WooCommerce Product Page?

How Do I Remove the Sidebar From the WooCommerce Product Page?

Last updated on December 22, 2022 @ 7:58 am

The sidebar is a great way to add extra information and links to your WooCommerce product pages, but sometimes you may want to remove it for a specific product or category. There are a few different ways you can do this, depending on your needs.

If you want to remove the sidebar from all WooCommerce pages, you can do so by going to “Appearance” > “Widget” and deleting all sidebar elements. This will remove the sidebar from all WooCommerce pages, including the product page.

PRO TIP: If you are not comfortable with code and are not familiar with the WordPress Codex, we recommend that you do not attempt to remove the sidebar from the WooCommerce product page. Doing so could break your site.

If you want to remove the sidebar from just the product page, you can do so by editing the page template in your theme. Most themes have a specific template for the WooCommerce product page, which you can edit to remove the sidebar.

Insert the code to functions php WordPress

Finally, if you want to remove the sidebar from just certain products or categories, you can do so by using the “WooSidebars“. This plugin allows you to disable the sidebar on a per-product or per-category basis.

Install WooSidebars Plugin WordPress

So there you have it! A few different ways to remove the sidebar from your WooCommerce product pages. Experiment with each method to see what works best for you and your store.

Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.