Users of the fantastic Shopp E-commerce plugin for Wordpress may find this plugin hack useful. It’s just a simple widget that puts the menu from the Shopp account management page into a sidebar widget.
Download Shopp Account Info Widget (.zip, 2kb)
Requirements
I’ve only tested this with WordPress version 2.8.6 and Shopp version 1.0.16. It *should* work for older versions of Shopp, but probably not for WP < 2.8.x.
Installation
This is a hack so you’ll have to go through these steps every time you upgrade Shopp (unless this gets incorporated into the core
). NOTE: If you don’t know what you’re doing, you could break your installation of Shopp!!! Consider yourself warned and follow these instructions at your own risk.
- Deactivate the Shopp plugin
- Upload the widget file to the wp-content/plugins/shopp/core/ui/widgets folder.
- Open up the Shopp.php file located in wp-conntent/plugins/shopp and add this line in the widgets() function around line 462:
include('core/ui/widgets/shoppaccountwidget.php'); - Reactivate Shopp
- Go to the Appearance > Widgets page and drag the Shopp Account Info widget into your sidebar.
Security Considerations
If you are using SSL on your site (which you should be if you’re doing e-commerce), it is strongly recommended that you set up your site so that it requires users to login using SSL. To do that, read the instructions on SSL Login/Admin in the WP Codex.
0 Response to “Shopp Account Info Widget (hack)”