This is a really tiny script, but I'm putting it out there in case others will find it useful.
I used to use Cafepress for my clients, and in fact used the CafeScripts code by
[*1] for some time. Unfortunately, CafeScripts is pretty much abandonware; the author indicated to me that he wasn't that interested in maintaining it anymore (even though it's still for sale; caveat emptor).
[*2] and was pleasantly surprised that they provided a very useful API for embedding your Zazzle store in your own website. It works perfectly with glFusion or Geeklog.
Just go here to download Zazzle Store Builder (and set up a Zazzle Store if you haven't already):
Installation is really quite easy. I copied the contents of the Zazzle Store Builder archive into a directory called "store" on my website, edited
with my Zazzle contributor name and associate ID, and then created a new index.php in the store directory as follows:
Text Formatted Code
<?php
// +---------------------------------------------------------------------------+
// | Zazzle Embed Script |
// +---------------------------------------------------------------------------+
// | index.php |
// | |
// | Zazzle store embed script for Geeklog or glFusion |
// +---------------------------------------------------------------------------+
//
require_once ('../lib-common.php');
echo COM_siteHeader ('none', 'Official Store');
echo '<div class="story-featured"><h1><a href="/">Home</a> | Official Store</h1></div>';
echo '<div class="story-body">';
// configure Zazzle Store Builder display
include "include/zstore.php";
echo '</div';
echo COM_siteFooter ();
?>