How to Remove Sidebar from Shopp Plugin

I’ve setup a number of Online stores using the excellent Shopp Plugin for WordPress. It is extremely powerful and just soShopp is an easy to use and powerful shopping cart for WordPress flexible. I’ve setup estores using a number of WordPress Online payment/shop solutions using Shopp, eStore, WP e-commerce and others as well as stores with eJunkie, PayPal buttons etc. My preference is definitely Shopp Plugin.

Anyway, I’m setting up a Shopp powered Online shop for a customer and needed to remove the WordPress sidebar widget area when displaying single products. I found a solution in the Shopp forums that wasn’t quite correct so thought I’d Post the correct version.

Remove Shopp Sidebar Instructions

Take these steps and the sidebar will no longer be visible when viewing single products:

  1. Enable Shopp Theme templates (http://YOURDOMAINNAME.com/wp-admin/admin.php?page=shopp-settings-presentation)
  2. Open (to edit) product.php from the Shopp folder in your Theme directory
  3. Add the following to the end of product.php and save the file:
    <?php if (shopp('catalog','is-category')): ?>
    <?php get_sidebar(); ?>
    <?php elseif (shopp('catalog','is-product')): ?>
    <!-- dont show sidebar -->
    <?php endif; ?>
That’s it!