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 so
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:
- Enable Shopp Theme templates (http://YOURDOMAINNAME.com/wp-admin/admin.php?page=shopp-settings-presentation)
- Open (to edit) product.php from the Shopp folder in your Theme directory
- 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!




Feb 16, 2012 @ 06:15:19
This is an excellent tutorial, but I since 1.2 has been installed on a site I use it on, this no longer works.
For whatever reason, the framework and Shopp plugin are not playing nicely now with the implementation of the virtual pages. Any ideas? You seem to be the only resource I can find…
Thanks.
Feb 16, 2012 @ 11:09:16
Hi Michael,
There are a few things that don’t seem 100% with version 1.2. Unfortunately I haven’t had a chance to look at this particular issue.
Feb 16, 2012 @ 15:40:49
Thanks for the response Gary. I spent most of my day banging my head against my monitor… It seems that the virtual pages are causing the issue. The sidebar works with most widgets, except for Recent Posts. I would rather remove it completely and then just use a full width template for the store, but there are no page ID’s, so I cannot write and if/else statement…
Oh well, thanks again for responding! Maybe we can collaborate on this issue further sometime.
Mar 10, 2012 @ 12:19:35
Michael…this worked like a charm!
https://shopplugin.net/support/topic/no-sidebar-on-some-pages-with-rc-12#post-114528
Mar 18, 2012 @ 18:52:57
Thanks Nikki