introducing cpshop 1.4
A long time coming, I've used version 1.4 as a golden opportunity to get a lot of things squared away.
I've spent a lot of time working on cpshop's backend this time, especially the admin screen system.
There aren't a ton of huge features -- the first appearance of store statistics is the biggest -- but there
are a lot of little enhancements, which should make cpshop that much more easy to use.
(I've also quashed a lot of mini-bugs, the sort that most people would never notice, and hopefully never will.)
changes in cpshop 1.4
(see below for a more involved explanation of these changes)
If you haven't already installed cpshop, use the contents of cpshop1.4.zip to do so. If you have installed it...
- added "View Stats" link to admin screen
- added support for multiple premier shops
- added support for storefronts with over 24 store IDs
- added Wildcard option for commonly-used store IDs
- added library file version numbers to cpshop admin screen
- improved store ID ordering system
- added option to open credit/referral links in new window
- added option to show product front and back simultaneously
- added focus to admin password form
- fixed log format to support multiple installations of cpshop
- fixed shopping cart multiple-instance bug
- fixed price conversion links
- fixed zoomed-in page number bug
how to upgrade
about the changes
- Be sure you upgrade to or install a full version of cpshop 1.3d before installing this update!
- Unzip the contents of cpshop1.4-update.zip.
- Upload the contents of the zip file to the cpshop directory on your server.
- If you haven't already created a sub-directory called "cplogs", do it now, and make it writable (usually with "chmod 777 cplogs").
- Test your store.
added "View Stats" link to admin screen
If you've enabled logging, you'll find a "View Stats" link at the top of your admin screen. Clicking
on this link will pop-up a stats window, where you'll be able to view your cpshop statistics by month.
added support for multiple premier shops
(Let me take a moment to recommend that you set logging to "detailed" if you haven't already done so.
Unless you're short on disk space, detailed logs will give you much better information than simple logs
Also, there were a few bugs in the initial logging code incorporated into 1.3d. Those bugs have since
been fixed, but you may find that statistics for July and early August 2002 are missing some minor data.
cpshop now supports Premier store IDs (usually of the form "mystoreid.234"). CafePress unfortunately does not support
combining Premier stores with commas, but cpshop works around that limitation.
added support for storefronts with over 24 store IDs
CafePress also limits combined stores to 24 store IDs at a time. cpshop now supports any number of store IDs, even beyond
the 24 store limit.
added Wildcard option for commonly-used store IDs
Several people have requested a "wildcard" system for store IDs, and I'm finally happy to oblige them.
added library file version numbers to cpshop admin screen
Simply put, if you have to type the same store IDs over and over again (for, say, use with cpfilters), then you
can use the new "Wildcard IDs" field to represent those stores. Then use a * to represent those wildcarded stores.
(I'm having a hard time explaining this feature, but hopefully it'll be self-explanatory if you decide to use it.)
You'll notice that the top of the admin screen now tells you the version number of your library files. This'll help you
determine if your installation is up-to-date.
improved store ID ordering system
Stolen directly from the queue system at NetFlix, your storefronts can now be re-ordered using numeric fields. The
"move up" and "move down" links still work, but this will make large changes (such as moving a new storefront to the top
of your list) considerably faster.
added option to open credit/referral links in new window
As requested a long time ago, you can now choose to have the credit and referral links at the bottom of
your store ("powered by CafePress + cpshop") open new windows.
added option to show product front and back simultaneously
I also found a request for this feature from months ago: the ability to show both the front and back of
products simultaneously. (Note: I didn't have a chance to test this with products that default to the back image,
so let me know if there are any problems.)
added focus to admin password form
A really minor detail. The cursor appears in the admin password field automatically now. Woo-hoo!
the last word(s)
I've been looking for a better way to distribute the scripts, as email is getting progressively more cumbersome.
With over a hundred cpshop installations, making sure everyone has the most up-to-date files is on the verge
of becoming problematic.
I'd really rather not spend a lot of time developing a distribution system, but the available freeware systems
all appear to be lacking. With any luck I'll find an effective one soon, since various systems (read: Yahoo Mail)
seem to have a problem with receiving my emails.
Suggestions are gladly accepted.
As always, let me know if you have any problems with this, either via or
posting on the message board.