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')): ?>
< ?php endif; ?>