Woocommerce - how to remove sidebar in cart page


#1

Hi folks

i developing new wp theme with woocommerce support. i created custom sidebar for woocommerce archive pages and single item page. now i need to remove sidebar from cart page(only in cart page), i dont know how to remove it. can anyone help me?

Thanks


#2

Hi,

The cart page uses a normal page created under ‘Pages’ with a shortcode inside to display the cart.

So, you shoudl simply create a page template without the sidebar, and select that template for the cart page.