First, most themes have multiple page templates you can choose from.
Please check:
- go to cart page (in wp-admin).
- See side metabox \'Page Attributes\'.
- There you can set the page template, does it have something like \'full_width\'?
You can also try a different hook, like wp_head
.
Example:
add_action( \'wp_head\', \'urun_sidebar_kaldir\' );
Let me know.
After checking the WOO cart template, i can\'t find a do_action( \'woocommerce_sidebar\' )
.It does exist in the singe-product.php template.
Are you certain the cart sidebar is generated by WooCommerce?
Add a full-width template to your theme:
Read this.
Then follow the steps i mentiod at the beginning of my answer.