How to remove sideboxes from product pages in Zen Cart

Zen Cart Tips | 1 comment

It took me a while to figure this one out. The Zen forum contains a more elaborate solution that includes removing a sidebar from the category pages as well as the product description pages. I just wanted to remove the sidebar from the product description pages. So far, this seems to work fine for me. I thought I’d share it with you.

Simply copy and paste the code below as the first line of your PHP code on the /includes/templates/YOUR-TEMPLATE/templates/tpl_product_info_display.php page.

<?php
// to disable right sidebar
 $flag_disable_right = true;

// to disable left sidebar
 $flag_disable_left = true;
?>

1 Comment

  1. Hey that was really helpful. Thanks for sharing.

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.