How do I hide left and right widget columns on the view cart page?

You can hide left and right widget columns on the view cart page using a little of jQuery code. Here's the rough code you can put inside your header file, head tag to make this work. 

##IF_VIEW_CART##
<script type="text/javascript">
$(function(){
$('#content-left').hide();
$('#content-right').hide();
});
</script>
##END_IF##

Make sure that you also have the ##HEAD## token inside the head tag ABOVE that jQuery code. 

Search or Browse all topics