ZStore Helper WordPress Plugin For Zazzle Store Builder

/ WordPress Plugins / by Paul Robinson / 688 Comments
This post was published back on March 23, 2009 and may be outdated. Please use caution when following older tutorials or using older code. After reading be sure to check for newer procedures or updates to code.

Updated: 20th June 2016

Unfortunately this plugin no longer works with the Zazzle feed anymore… Well it does, but not in certain situations. You should be able to use it as long as you only use keywords or a product line. If you try to use Product Types it will either not return any results or it will return default results. This is due to a major change in the Zazzle Feed, they no longer allow the parameter used to query Product Types.

The short version is that there is nothing I can do to fix it as the core issue is within the Zazzle Store Builder files and they have not been updated to fix the problem. I am currently working on a new plugin that will no longer need the Zazzle Store Builder to work, but I am having to fit development in around work. I will have it released as soon as possible. It will be donation based meaning you can download it free but donations will be highly encouraged. This post will be archived and a new post will be made for the new plugin, it will also have a dedicated documentation hosted on github pages so it will always be available even if my site is down.

If you’d like to stay up-to-date on the progress of the plugin please follow me on Twitter and/or Instagram (both @PaulBRobinson) where I post totally random life stuff, Degus and coding updates.


So a few members of Zazzle.com asked me to make a plugin for WordPress to make it easier to install the Zazzle Store Builder into WordPress. Usually it is quite easy, but for a novice coder placing it into WordPress can be a pain since it requires some special workarounds to be done. So to make it easy for people using WordPress I’ve made a plugin. I have asked the permission of Zazzle to release it and have now gotten permission, the only requirement is that you have download the Zazzle Store Builder from their website as you have to be a member & accept their terms & conditions to use it.

How Do I Install It?


Right here we go, the instuctions are as follows:

  1. Download the plugin (can be found at the bottom of this post.)
  2. Download the Zazzle Store Builder from here.
  3. Unzip the contents of the plugin (zstore-helper.zip) to the wp-content/plugins folder in your WP installation.
  4. Go to wp-content/plugins/zstore-helper/zstore which should be empty. Open the Zazzle Store Builder zip file. Go into the folder you can see & drag out the includes & css folders into the zstore folder. See figure 1 for what your directory should look like.
  5. Make sure that you have fancy permalinks enabled. So your URLs don’t have ?p=34 in them, the plugin will not work without this due to Zazzle’s store bulder code.
  6. Now go into your WordPress admin. Head to the plugins section & turn on the Zstore Helper plugin. Next head to the Zstore Helper options page that will appear under Settings & set some global options. These are the options that will always be run, unless you over ride them (more on that later).
  7. Once you’ve set the global options all you need to do is make a page or post & put [zstore] into it. Publish & your store will appear. 🙂

Options

Here is a list of the options available on the options page & detailed instructions on what they do:

Contributor Handle
The store name (generally shown in the URL of your store’s homepage) of the store you wish to show products from.
Associate ID
An ID used for referrals. Found under the associates center, which can be found in the gallery tab of MyZazzle.
Product Line ID
Allows you to display a specific product line. Leave blank to show all products from a gallery. The product line ID can be found by clicking on a product line in a gallery. The URL will look something like http://www.zazzle.com/coatsofarms/products/cg-196595220567583981. The string or numbers on the end is the product line ID.
Product Type
Exactly what it says. Restrict which type of product is shown from the gallery.
Keywords
Also exactly what it says. Restrict products returned from the gallery by a keyword. Comma seperated. Eg. Cat, star, cow. You get the idea.
Grid Width
How wide, in pixels, should the complete product grid be. Although this is in pixels you do not need the px on the end, just the number.
Grid Cell Size
The size of each grid cell. Just pick a size from the list.
Grid Cell Spacing
The space, again in pixels, between each grid cell. As before although the value is in pixels only the number is needed & not px.
Grid Cell Background Color
The color used for each grid cells background color. In HEX but without the hash(#). Eg. FFFFFF is white. For a list of HEX colors try this link. You want the 6 char string under the column ‘Hex’.
Use Google Analytics
If you want to use Google Analytics then set this to true & then fill in Google Analytics Number with your UA number from your Google Analytics account. If you already have a Google Analytics plugin running on WordPress you probably won’t need this.
Google Analytics Number (ID)
If you set the last option to true then this is where you put your Google Analytics Number. It looks like this: UA-xxxxxxx-x. If you already have a Google Analytics plugin running on WordPress you probably won’t need this.
Show How Many Products
How many products do you want to show per page, or if you have pagination turned off, how many do you want to show in total. Default is 20. It is generally not a good idea to set this above 100 or 150 as it could crash older computers while trying to load all the images.
Starting Page
What page of results do you want to start on.
Show Pagination
Do you want to show a pagination. A pagination is the list of numbers that represent links to other pages if there are too many products to show on the first page.
Show Sorting
Do you want to show the sorting options. This allows visitors to sort by the Date Created or Popularity if set to true.
Default Sorting
What you want the products to be sorted by, Date Created or Popularity. Applies even if Show Sorting is set to false.
Show ‘By’ Line
Do you want to show the products ‘By’ line. This is the line that says ‘by zazzlestore’. In other words do you want to show which store created the product.
Show Product Title
Pretty obvious. Do you want to show the products’ title.
Show Product Price
Again obvious. Do you want to show the products’ price.
Enable Caching
Do you want to enable caching. This helps reduce server load for both you and Zazzle since it saves the images it uses so it doesn’t have to contact Zazzle everytime. Handy if you get a lot of visitors.
Cache Lifetime
How long before the cache is deleted & a new set of images is retrieved from Zazzle. This is in seconds. (3600 seconds = 1 hour)

Shortcode Over-rides

Here is a list, with examples, of the attributes used for over-rides. They are similar to HTML attributes so HTML users should feel right at home. Their uses match the options above so refer to the list above for any explanations.

contributorhandle
Example: [zstore contributorhandle="ZazzleStore"]
associateid
Example: [zstore associateid="THEASSOCIATEID"]
productlineid
Example: [zstore productlineid="THEPRODUCTLINEID"]
producttype
Example: [zstore producttype="cards"]. You may use the three digit code or the name of a product from this list.
keywords
Example: [zstore keywords="cats"]. A list of keywords if more than one is used they must be comma(,) seperated.
gridwidth
Example: [zstore gridwidth="400"]
gridcellsize
Example: [zstore gridcellsize="medium"]. This must match either tiny, small, medium, large or huge.
gridcellspacing
Example: [zstore gridcellspacing="5"]
gridcellbgcolor
Example: [zstore gridcellbgcolor="FFFFFF"]
useanalytics
Example: [zstore useanalytics="false"]. Options are true or false.
analyticsid
Example: [zstore analyticsid="UA-xxxxxxx-x"]
showhowmany
Example: [zstore showhowmany="20"]
startpage
Example: [zstore startpage="1"]
showpagination
Example: [zstore showpagination="true"]. Options are true or false.
showsorting
Example: [zstore showsorting="true"]. Options are true or false
defaultsort
Example: [zstore defaultsort="date_created"]. Options are date_created or popularity.
showproductdescription
Example: [zstore showproductdescription="true"]. Options are true or false.
showbyline
Example: [zstore showbyline="ZazzleStore"]. Options are true or false.
showproducttitle
Example: [zstore showproducttitle="true"]. Options are true or false.
showproductprice
Example: [zstore showproductprice="true"]. Options are true or false.
usecaching
Example: [zstore usecaching="false"]. Options are true or false
cachelifetime
Example: [zstore cachelifetime="3600"]. Length in seconds.

You can use any of these in combination like this: [zstore contributorhandle="ZazzleStore" producttype="Mugs" keywords="cats, dogs"].

Product Type List

This is the list of product types for use with the producttype Shortcode attribute. The name on the left is the name to use in the shortcode. The name on the right is just to use as reference.

  • zazzle_apron – Aprons
  • bagettes_bag – Bagettes Bags
  • zazzle_bag – Bags
  • zazzle_binder – Binders
  • zazzle_bumpersticker – Bumper Stickers
  • zazzle_button – Buttons
  • zazzle_calendar – Calendars
  • zazzle_card – Cards
  • zazzle_candyjar – Candy Jar
  • caseable_case – Caseable Cases
  • casemate_case – Casemate Cases
  • zazzle_coaster – Coasters
  • fuji_coaster – Cork Coasters
  • musicskins_skin – Custom Skins
  • zazzle_doodle – Doodle Speaker
  • fuji_electronicsbag – Electronics Bags
  • zazzle_embroideredbag – Embroidered Bags
  • zazzle_embroideredhat – Embroidered Hats
  • zazzle_embroideredshirt – Embroidered Shirts
  • zazzle_envelope – Envelopes
  • zazzle_flyer – Flyers
  • fuji_mousepad – Gel Mousepads
  • zazzle_giftbox – Gift Boxes
  • zazzle_hat – Hats
  • zazzle_invitation – Invitations
  • zazzle_speckcase – iPad/iPhone Cases
  • zazzle_keychain – Keychains
  • mojo_kitchentowel – Kitchen Towels
  • zazzle_label – Labels
  • zazzle_letterhead – Letterhead
  • zazzle_magnet – Magnets
  • zazzle_mousepad – Mousepads
  • zazzle_mug – Mugs
  • mojo_napkin – Napkins
  • zazzle_necklace – Necklaces
  • fuji_notebook – Notebooks
  • fuji_notepad – Notepads
  • zazzle_ornament – Ornaments
  • zazzle_petshirt – Pet Apparel
  • zazzle_petbowl – Pet Bowl
  • zazzle_photocard – Photo Cards
  • zazzle_photoenlargement – Photo Enlargement
  • fuji_plaque – Photo Plaques
  • zazzle_photoprint – Photo Prints
  • zazzle_photosculpture – Photo Sculptures
  • zazzle_pitcher – Pitcher
  • mojo_placemat – Placemats
  • fuji_plate” – Plates
  • zazzle_stamp – Postage
  • zazzle_postcard – Postcards
  • zazzle_print – Poster Prints
  • planetjill_giftbox – Premium Gift Boxes
  • fuji_fleximagnet – Premium Magnets
  • zazzle_profilecard – Profile Cards
  • fuji_puzzle – Puzzles
  • zazzle_rackcard – Rackcards
  • rickshaw_flapsleeve – Rickshaw Flap Sleeves
  • rickshaw_folio – Rickshaw Folio
  • rickshaw_messengerbag – Rickshaw Messenger Bag
  • rickshaw_sleeve – Rickshaw Sleeve
  • zazzle_skateboard – Skateboards
  • zazzle_specialitymug – Speciality Mugs
  • zazzle_stationery – Stationary
  • zazzle_sticker – Stickers
  • zazzle_teapot – Teapots
  • zazzle_tie – Ties
  • zazzle_tile – Tiles
  • mojo_throwpillow – Throw Pillows
  • zazzle_shirt – T-Shirts
  • libertybottle_bottle – Water Bottles
  • zazzle_wrappedcanvas – Wrapped Canvas

Where Can I Download This Marvelous Invention?

Right here. Just click here to download the zip. Then jump back up to the top and follow the instructions carefully.

What About A Premium Version?

The premium version is no longer available. I have no idea what happened to Bill or if he is still around. I have had no contact with him in quite a while and have no idea how to contact him. As far as I am concerned there is no longer a paid version of this plugin and you should not pay for it.

What About WordPress MU?

Well after a little bit of adjustments it will work in WPMU. You can download that version here. This version is only a mu-plugin if you want to use it as a normal plugin in WPMU then download the version above & place it in your plugins folder.

688 Comments

Author’s gravatar

I also had the broken links problem after turning on Google Analytics. Turned that off, and now everythings working… next step, try your open in blank browswer window fix…. You can see our site here: Antique Images>

Reply
Author’s gravatar

Not sure what the Google Analytics problem is. I have it installed on my site anyway so I never turn Zazzle Store Builder’s on. I have noticed that when you use multiple instances of the product grid it places 2 Google Analytics scripts so maybe it’s something to do with that. I’ll have to get Return True’s resident coder to check it out.

Author’s gravatar

I haven’t been able to find any problems with Google Analytics. I think the problem only occurs when analytics is applied to both your site and Zstore at the same time. If that’s not it then I’m stumpped as I can’t find any problems in the code of either Zstore or my plugin.

Author’s gravatar

This sounds like a really neat plugin, if i can get it up and running, lol.
I am using the wpmu version, as I’m running wpmu 2.9.1, and have the settings set, but when I try entering [zstore] in either visual or html mode and publish, the page only displays [zstore]. I made sure all the permissions were set to 755 (default for folders and php files with hostgator), but that does nothing. You can see it at wageslavegods.com/zstore

Reply
Author’s gravatar author

Hi,

I’ve just tested the plugin on my local MU install (version 2.9.1.1) and it seems to work ok, that means it’s probably something related to your install.

It looks like WordPress doesn’t know to parse [zstore] shortcodes. My best guess is that the plugin isn’t activating. As global MU plugins are activated automatically, I can only assume it hasn’t installed properly.

Some, possibly, stupid questions now. Have you extracted the contents of the zstore-helper-mu folder (inside the zip) to the wp-content folder, and then placed the Zazzle store builder files into the zstore folder.

That’s about the only thing I can think is wrong. You can always install the normal version of the plugin in MU, but you will have to activate it on a blog by blog basis.

Hope that helps. Let me know if you find anything else and I’ll see if I can help anymore. 🙂

Reply
Author’s gravatar

Yeah, I locally placed the zstore includes and css folders inside the zstore mu helper plugin folder before uploading it to the mu-plugins folder. All the options show up but it doesnt recognize the shortcode. I also tried the regular plug in but i get the same thing. Also, neither wishads nor the zazzle store gallery by roman seem to work. I think I’m just going to test it on a virgin wpmu install on one of my other domains, and if it works then I’ll just nuke this one and start over, or perhaps even just go with vanilla wp.

Author’s gravatar author

Hmmm! That’s puzzling… It’d be nice to know what’s happening there just in case it’s a bug, but there isn’t much else I can think of to help narrow down the problem.

Let me know if you manage to get it working or if you figure out the problem. Sorry I couldn’t be more help. 🙂

Author’s gravatar

I nuked my WPMU install, and reinstalled it, in case there was a plugin interfering. I tried using the mu version of the plugin to no success.
I went back, and re downloaded both versions of your plug in and the zstore builder, and i created a zip containing the regular wp helper and the zstore files, and uploaded it via dashboard to a virgin wordpress install on another domain, and it worked, so I went ahead and deleted the plugin from my mu-plugins folder and uploaded the regular version on that same zip i created, and it works, as you can see here http://wageslavegods.com/wsg-store/
Thanks for building this!.

Author’s gravatar author

No problems. I wish I knew why the MU version didn’t work though. Guess it’s just one of those mysteries. 😆

Glad you got it working though & sorry that you had so many problems getting it to work first time.

Author’s gravatar

Love the plugin but I’m having an issue with the code repeating on my page you can see it here http://www.cac-tv.com/store/

I don’t have a clue what it could be.

Reply
Author’s gravatar author

I’m not exactly sure what is happening there. My best guess (from looking through your source code) is that a piece of javascript has mistaken something for what it was looking for & repeated the Zazzle Store Builder content as part of the object it was building. You can see where it hasn’t closed properly in your source:

Also periodically in your source code there are description: which looks like a javascript object (JSON).

My best guess is to look at that. I hope that helps you a little, let me know if I can help any more. 😉

Author’s gravatar

Hey thanks so much! It was my Meebo plugin causing the issue, I’ve had that repeat thing happen with a few of my other plugins too, now I can try to use them again. And I really like the Meebo Plugin but it is what it is. Once again thanks very much for the quick reponse and the help!

Author’s gravatar author

No problem, glad to be of help, and sorry about your Meebo plugin not working.

Author’s gravatar

Thanks, one more thing, I don’t have widgets enabled on my site but I would like to display my store items in my sidebar, correct me if I’m wrong but I don’t think the shortcodes will work in the php flies if not are there any php codes for the “Overrides”?

Author’s gravatar author

You can place shortcodes into your sidebar using the PHP function WordPress uses to parse shorcodes. Just do this:

Take the spaces out from between the square brackets. WordPress is just being a pain & won’t let me write them if I don’t add the spaces. 😆

Author’s gravatar

This looks like a great plugin! I have a few questions…

1) I’m assuming that if I want to make Zazzle Store Builder links open in their own window, I’ll still need to make the modifications in your other article to the original Store Builder code? Or has this already been done in this plugin?

2) You mentioned that as Zazzle updated their Store Builder, you had to update your code to accomodate changes. What’s your commitment to keeping this plugin up to date with changes from Zazzle?

3) It seems like the main use for this is to add a store to an existing WP site. Do you know of anyone who has used WP as a multi-level interface to subsequent pages with various products from Zazzle defined wholly using the shortcodes? (e.g., categories of designs are shown in WP, and clicking on a category takes you to a page with multiple designs, and clicking on a design takes you to a store page for that design?)

Reply
Author’s gravatar author

Hey there,

You will have to make that modification as I am not allowed to directly modify or distribute any of Zazzle’s code (it was a condition of them allowing the release of the plugin).

I update every time I am aware of any changes that are made to Zazzle. I add new products whenever they become available. My sister is a committed Zazzler so whenever she tells me there is something to be updated.

Zazzle’s store builder doesn’t allow you to do that. Their builder just pulls back all products that match your filters but all of the products link directly to their product page. If you want to do what you mentioned you would have to do it manually.

My plugin just works as a bridge between the store builder & WordPress as the way the builder works is incompatible with WordPress without some special handling.

Hope that helps.

Author’s gravatar

I’m running WordPress 2.9.2. I followed the install and it will not save my options in the settings for this plugin in the menu and throws the following errors when testing a zstore post:

Warning: Invalid argument supplied for foreach() in …wp-includes/shortcodes.php on line 267

Warning: Invalid argument supplied for foreach() in …wp-content/plugins/zstore-helper/zstore-helper.php on line 225

Reply
Author’s gravatar author

Hey Angie,

Sorry about taking so long to reply. I’ve fixed the error so you’ll need to re-download the plugin using the link above.

Turns out I made a bit of a mistake when I updated the plugin to work with the new 3.0-beta version of WP. Sorry about that.

Author’s gravatar

Hey Paul, the revision worked great. Thanks for taking a look.

Too bad you can’t package the install for the wordpress extend directory. This one is infinitely more configurable than the current zazzle wordpress plugin.

Author’s gravatar author

Good good, sorry about that problem. I hadn’t realized changing it for 3.0 had caused a problem in 2.9.2 until you let me know. It should work in both now. Thanks for letting me know. 😉

Yeah, I asked the devs if I could put it on the WP directory and was told I couldn’t as it isn’t completely GPL/GNU compliant because it requires the Zazzle code to work (which doesn’t use the GPL/GNU licence). 🙁 I’m not even sure how there are other zazzle plugins on there.

Author’s gravatar

Hey Paul, Great plugin! Is there way to call it for template usage. do_shortcode is unstable with this plugin. I also tried using the traditional store builder include by referencing the absolute path to zstore.php. This gave me some strange error. Probably because the directory structure is different with the plugin files. Any ideas are welcome.

Reply
Author’s gravatar author

Unfortunately not. It shouldn’t be unstable, as do_shortcode is extremely close to (If not the same) as the internal function that WP calls to parse shortcode inside posts.

What exactly do you mean by unstable?

Author’s gravatar

For whatever reason when I use do_shortcode for this plugin the feed works once or twice on a new page and then hangs on refreshs for long periods and then gives the unavailable message. This effects feeds on posts as well where the plugin code is inserted normally (very strange).

I ended up doing a work around: I did a normal install of the store builder in my site root where it is referenced on my WP index (showing a custom feed). On the rest of the site I will use you plugin for easy addition of products.

Thanks again for the plugin!

Author’s gravatar

Hi Kevin,

The slowness and hanging you are experiencing is caused by do_shortcode not being filtered from your website feed as it would be if you were calling it inside a post. Basically, any ‘template based’ shortcode will resulting in your feed crashing and slowing your load times…. as you’ve found out.

You need to tell WordPress to exclude it from your feed by using the is_feed(); conditional … Now the problem is that I’m passing this on to you from Paul, I can’t tell you how to use it because PHP isn’t my strong point (just ask Paul) and, I’ve forgotten most of what he said anyway!

I hope you understand what I mean. If not just ask again and blame me!

Author’s gravatar author

WordPress normally filters parsed shortcode from posts (in the RSS) unless told otherwise. If you put it in the template directly it may have a few problems (my best guess anyway).

As Lisa Marie said you could try wrapping it in a conditional like this:

Hope that helps.

Author’s gravatar

Nope…no luck there either. Thanks for the idea though. The idea is simply to show a few of my most current products on the Front page along with standard wordpress content ( exerpts of my current posts etc). There has got to be a way to accomplish elegantly without it hanging up

Author’s gravatar author

I’m not exactly sure what you mean about the feeds hanging. Without seeing them I’m struggling to grasp what you mean.

I was going to try it on my development install of WP, but it seems to be having a problem with the feeds. It’s unrelated to the plugin though as I don’t have it installed on that WP blog yet.

If you can provide a link or some screens of the error happening I’d be glad to try & help some more.

Author’s gravatar

The standard install of Zstore works on the index. I apologize if I have been unclear what I mean by hanging.

It basically stalls the load order of objects on the screen. So everything in the page that is before the feed loads, page header, page layout, sidebar etc, but various content…The page just “hangs” indefinitely and if it does finish it displays the “feed unavailable” box or nothing at all.

I unfortunately don’t have a dummy project link that I can send you at this time. Thank you for all your help and suggestions.

Author’s gravatar author

By feed do you mean your WordPress feed (by that I mean RSS, ATOM feed) or do you mean the store builder. Zazzle’s store builder gets it’s information from Zazzle’s feed & the feed unavailable message can be shown if Zazzle’s feed fails to load.

Unfortunately I can’t help with that (if that is the problems) as Zazzle’s feed parsing is separate from my plugin. I’m not allowed to touch it due to the license I was asked to abide by when I release the plugin.

Author’s gravatar

Using do_shortcode makes the zazzle feed not load on either the index or posts (at least in my install), even though the posts have a standard implementation of the zstore code. This kills both aesthetic elements and dynamic elements on my index page such as my post excerpts in the content area and anything below the zazzle feed simply does not load. I realize in zstore you are using store builder’s code and cannot change it but it would seem that the way it is being called in a template is the cause as when I remove this, it works normally and the feed goes back to working in posts as it should.

My suggestion is simply that it would nice to be able to implement it for template usage. The way I am currently doing it works! No problems. So I am good to go. 🙂

Reply
Author’s gravatar author

Ahhh ok I get what you mean now. Unfortunately it wouldn’t make much difference if it was available to call via a PHP function as the code would be exactly the same. You could even try calling the function zstore_helper_shortcode() and it would probably work.

The only thing I can think is happening is that your server, for whatever bizarre reason you want to think of (lol) just doesn’t like output buffering in certain circumstances.

Glad you’ve managed to get something working though.

Author’s gravatar

Hi,
I found your plug-in (after lots of searching for the the right tool!) and it is exactly what i needed but i have a couple of questions.

1. the links all direct to zazzle.com/xxx is there anyway to change that to .co.uk

2. when my products are displayed on my website they move around when i hover my mouse over them, have a look at http://baddice.co.uk/merchandise/ to see what i am talking about.

Thanks
Ben

Reply
Author’s gravatar author

Hi there Ben. Unfortunately I can’t help with that due to the agreement I made with Zazzle when I asked them if I could create the plugin. There is someone in the advanced customization forum at zazzle who tried (apparently) so you might have some luck there.

That problem is due to some CSS in your theme conflicting with Zazzles default CSS, at least it has been in past experiences.

I hope that helps, sorry I can’t help with the URLs.

Author’s gravatar

Hi Poul, I’m a bit confused in general, I would like to add the zazzle store feature to my website. I’m not 100% sure on how to load the files… and so forth. would you be willing to help??

Would really appreciate it, Peace & Blessings

IZZY

Reply
Author’s gravatar author

Unfortunately I don’t think I Can explain it in any more detail than already described in the post above.

I don’t know if Lisa Marie can explain it any better as she deals with all things Zazzle based.

Author’s gravatar

Thanks Paul, with an “a”, I’m going to try it out with your steps real slow, I just freeze up when I have to add stuff to the hosted files and folders directly.

I can add what I need in the files’ section through my cpanel right?

IZZY

Author’s gravatar author

Unfortunately I’ve never used Cpanel but if it has a FTP/SFTP section to upload files then you should be able to do it.

Author’s gravatar

ok cool, i’m in I think I’m going to get it to work, so I just loaded to the proper location: zstore cascading style sheet document (css) so I’m wondering is that all I load from the zazzle store builder?

Author’s gravatar author

Yep just the zstore folder & the css folder and their contents.

Author’s gravatar

ok, so like add the content in the “include folder” right? I did that and added all the other files period just to make sure, that will not hurt will it? also mine don’t have folders I just added all the files in, it would not take the “zstore folder” do they have to look just like your example in the drop down fashion in their own folder?

Author’s gravatar author

The folders inside the zstore-helper folder must look exactly the same due to the way the store builder is coded.

Author’s gravatar

WOW I got it to work! thanks allot. The folder thing helped. Ok, but i have an issue

http://izzytheartist.com/store

how come my description text is all bunched up together? can I fix that?

Reply
Author’s gravatar author

Hmm. I’m not really sure. Normally the default Zazzle CSS works for most people, but it seems to be causing some problems on your site.

Oddly though I can’t see a reason for the problem. 🙁 I’m not much of an expert on using CSS so I’ll ask Lisa-Marie to have a look for you in the morning (It’s late here in the UK).

Author’s gravatar

ok, yes, please do, until the meantime I will try to figure it out… at lest I got 90% of the way through,

Peace, and blessing for your help Paul

-IZZY

Author’s gravatar

Hi Izzy,

I’ve had a look and your problem might lie with a file called reset.CSS. This file is linked to your style.CSS, and is designed to remove the default margins and padding that browsers like to add to elements which don’t have specific rules set for them.

If Zazzle haven’t specified margin or padding in their CSS file for certain elements then they will automatically be set to 0 by your reset.CSS.

I’m 90% certain that the title, description, and price don’t have margins set but do have padding. You could try adding, say, 10px to the bottom of those to see if it is the reset scrunching everything together.

Author’s gravatar

I worked with izzy tonight to fix it. in zstore.css there was no padding, and we changed the height of some of the elements as well.

Author’s gravatar

Thank you, LisaMarieArt. I just finished editing it myself, and yes you are right, it was missing those settings. I had to add some padding options to space things out, they were not there from the beginning at all. I also added (frame around the image bottom padding). I received help from another person who commented this post. I’m learning allot.

I’m really grateful for all the help and my settings are looking , again lovely. I’m excited to start loading my designs and get creating! and selling.

Peace, & Blessings
-IZZY

Author’s gravatar author

Glad you got it all fixed & thanks Sahdow for helping out. 🙂

Good luck. 😉

Author’s gravatar

omg, i have the exact same problem! i need to add padding or margins to the bottom of the cells so that you can read the title of each product. :3

anyway, could you help me with the css code?! i’m clueless, idk where to add it to the plugin html :3

i will be forever grateful for any help! ^_^

lmao, thanks in advance

Author’s gravatar

I’ve tried eight ways to Sunday to get the product type to appear as part of the grid to add the word “mug” or “magnet” but no amount of fiddling with the zstore scripts would do it. I’m not php literate so my attempts weren’t successful. Is there a way to make this appear in the grid under the product title?

Reply
Author’s gravatar

I am actually trying to do this myself and it’s something that I’m currently looking in to.

Zstore runs using Zazzle’s feed and unfortunately, the information needed for product type can’t be retrieved. It’s a little weird… You can give it a product type and it will filter the results, but you can’t get the feed to give you the product type.

Anyway, while it’s not possible to simply ask the feed for the product type, it looks as though there may be a way to get the product type by using an additional script.

We’ll keep you updated.

Author’s gravatar

Forgot to add a gigantic THANK YOU for the awesome plugin!

Reply
Author’s gravatar author

I’ll let Lisa Marie answer your question as she is more used to dealing with Zazzle & will probably be able to explain things a little better.

I just wanted to say no problem. 😉

Author’s gravatar

I’m not sure what happened. I posted a comment, and then it looks like I posted someone else’s comment? Odd. I apologize if I somehow did that!

I don’t know if this made it in the original hopper, but here’s my problem:

My store page is built with widgets, which I love, however, I can’t get the plugin to work inside a widget. It just shows, literally, [ zstore ]. I know a little php, but am not comfortable playing with the back end of my site, as I just paid good money for someone else to deal with that. 🙂 I just don’t want to trouble my web designer with this question. Any ideas? Your plugin is SO much better than the Flash panel I have in my shop now. I really hope to use it!

Thanks so much,
Libby Unwin
http://www.lugraphics.com
(PS: Can you please delete my previous comment? No idea where that came from. Thanks…)

Reply
Author’s gravatar author

Got rid of that comment for ya. 😉 Not sure how that happened. I can only assume WordPress had one of it’s moments. 😆

Hmmm. Unfortunately you can’t use shortcodes inside widgets as WordPress isn’t told to do so. It only does it in posts & pages.

I know you don’t want to play around in the back end of your site, but other than putting it in a post/page your only option is to find (in your templates) where you’d like it to appear & place:

Other than that I’m afraid I have no idea. I never made a widget as they are generally used for sidebars & the zstore info can’t really fit in one. I never thought about themes using widgets to fit out an entire page rather than just a sidebar or footer.

Author’s gravatar author

Thanks libby I hadn’t seen that link. Glad it’s working & I’ll be sure to keep that link handy just in case anyone else asks. 😉

Author’s gravatar

Is it possible to have more than one instance of the plugin on a site on different pages?

For example, I want to display different categories on different pages. That way I can sort t-shirts and other products to more logical areas. At the moment they are all mixed up on one page. Does that make sense and can it be done? Thanks!

Reply
Author’s gravatar author

Indeed it is, Lisa Marie does it on her site she has a post showing only binders and a post showing only invitations.

You do it using the shortcode. The admin page is only there for users who want to use it once or want to have some overall options set & then override with the shortcode options. It can be used in pages or posts.

I can’t really show you how to do it as it depends on what you want to show, but how to use shortcodes in general is shown in the post above about half way down under ‘Shortcode Over-rides’.

Author’s gravatar

That’s brilliant, I probably should have read all the documentation first!

Awesome plug-in, I just had to hack the Zazzle code to show prices in £’s and link to the .co.uk store. It’s a real shame that Zazzle won’t let you fix their code or change it. Luckily I was able to do this myself and now I can organise my store a little better.

Thank you!

Author’s gravatar author

No problems. 😉

Yeah it sucks I’m not allowed to do it, but that’s why Lisa-Marie likes to post Zazzle store mods & tips here. I’m not allowed because I’m the author of the ZStore plugin, but Lisa is a Zazzle store owner and therefore isn’t bound by the same restriction. 😉

Author’s gravatar

First off a big thank you and major gushing for offering this plugin. However I must be an idiot. I set the global options which can be seen here: Store. I am trying to play around and do separate posts for the different product lines but I can’t seem to override the global options. Currently I am using this code:

[zstore contributorhandle=”dancindarling” associateid=”238764161269519681″ productlineid=”196871942085696916″]

on this page: Product Line

but I just keep getting all the products I made. Any idea where I’m going wrong?

Reply
Author’s gravatar author

I’m not exactly sure what’s happening there. I can confirm that it isn’t a known bug as I know a couple of websites that use it in the way you are trying.

Have you tried adding something stupid like say a different persons handle or some keywords? Just to make sure that the problem is effecting all the options.

I’ll keep looking into the problem for you but any extra info you can provide would be super helpful.

Author’s gravatar author

I’ve gave both your codes a try and they seem to work okay for me.

This is going to sound horrible, but the only way I could find to recreate the problem you are having is to misspell any of the parameters. The bit before the ‘=’, not the bit in the quotes.

You can see an example using productlineid working for a different store in the link below:

http://shop.lisa-marieart.com/2010/04/27/collectible-cat-art-postcards/

The code used is:

[zstore contributorhandle=”lisamarieart” producttype=”postcards” productlineid=”196800042041963262″]

Feel free to use that code to see if it gives you the same result as the page in the link does.

Also make sure your Google Analytics number is correct too as it’s been known to cause some strange problems.

I’m very sorry for the problems, finding solutions to problems with Zazzle’s Store Builder has always been difficult. 🙁

Author’s gravatar

ok I took my analytics code completely out and copied the lisa-marie code and here’s the result:

Lisa Example

I really appreciate you checking this out for me. At least now I know that its not all in my head 🙂

Author’s gravatar author

This one has got me kinda beat. This might be a pain but it’s probably the only way we are going to find out what’s happening.

Clear all of the Zstore options out of the admin to help stop any conflicts & then try the shortcode. If you still encounter the problem I’m not exactly sure what is going on as Zazzle doesn’t seem to be having problems as this link:

http://feed.zazzle.com/dancindarling/feed/?cg=196871942085696916

Is what the Zstore uses to get your product data.

If you are still having problems the only way I can think of helping any further (due to not being able to troubleshoot much further) is to access your admin.

If you want you can make a admin account in your WP install & email me the login details so I can try & help further, but it’s entirely up to you. Zazzle’s store builder is extremely hard to troubleshoot without being able to debug it. 🙁

Author’s gravatar

Hi there,

I’m using the Zstore Helper search widget on one of my sites, and I was thinking that it would be really neat if the search terms could be pulled into the title of the search results page. For instance: a customer does a search for “funny shirts,” and title of the results page reads something along the line of “Search results for ‘funny shirts.'” Is there any way to pull this off? It would be more helpful to customers than just the generic “Search Results” title I have right now, and it would probably be a nice SEO boost too.

Reply
Author’s gravatar author

The ‘Search Results’ is actually your page title it isn’t generated by Zstore or the Store builder.

You could get it to read “Search results for ‘query'” though. You would need to create a custom page template. You can find out how to do that here.

The template would be a copy of the normal page (page.php) except for the title which you would just hard code to say Search results for then you would add in a bit of PHP to grab the keywords. It would look like this:

Hopefully that makes sense. 😉

Author’s gravatar

Oh, I knew the page title wasn’t generated by the plugin; I just didn’t know if there was a way to append the search terms to the existing title with some kind of php magic or something like that (I know next to nothing about php). The code you gave me is exactly what I was looking for. I think it needed an extra “)” though, because I got a parse error at first. I poked at it a bit and finally got it working, and I added it to my header to work the keywords into my title tag.

Thanks so much. You and this plugin both rock.

Reply
Author’s gravatar author

Indeed I did miss out a “)”, naughty. I blame my keyboard. 😆

No worries, glad to have helped you out. 😉

Author’s gravatar

Hi I just want to say a MASSIVE thank you for creating this plugin and making it available to the public. I have been creating my new website over the last few days and I have hardly any knowledge of code and i still managed thanks to you!! I would never have managed without this plugin 🙂 You’re a lifesaver!!

Reply
Author’s gravatar

Hi Paul,
I got this link from your sister’s post in the forums at Zazzle.
I’ve just started on WP and have a nursing type site where I hope to sell my own items and promote others too, as well as providing lots of nursing information etc.
I used your plug in, and did follow the instructions, but I’m firstly not too techy, and secondly suffering from sleep deprivation!
So I did what you said, but it’s not working, must have missed a step or three!
Can you help me? As you can see I tried to post my Zazzle stuff and card images clumsily, they wouldn’t line up, and that is how I found Lisa’s post. It looks awful at present.
Any help would be appreciated.
Thanks a lot!
Avis

Reply
Author’s gravatar author

Hi Avis,

From what I can see Zstore isn’t installed on your WP blog as there is a line of code missing from the header of your pages that would indicate it being installed.

If it is installed, are you sure you activated it? Once you’ve done that you just need to set up some options and write the [zstore] shortcode in a page or post. 😉

Let me know if that’s not the problem & I’ll see if I can help you out some more. 🙂

Author’s gravatar

Hi,

Thanks so much for this fantastic plugin. Everything’s great, except all of my products, images, descriptions, etc., show up in one long column down left side of the page. Is there are way to split this into 2 columns? Is this a css issue?

Thanks for any assistance!

Reply
Author’s gravatar author

Hi.

Yes, it is generally a CSS problem. As for how to fix it? Anything can cause it, generally though there is a CSS rule in your theme that is cancelling out the CSS Zazzle provide.

Your best bet is to use Firefox & Firebug to check out what CSS rules are effecting it & try and fix it that way.

Sorry if that doesn’t help much. 🙁

Author’s gravatar

hi, thanks for responding. i found the problem late last night, was going to reply today to tell others. it was just a simple permissions issue on the zstore.css file. once i set the CHMOD to 775, all was fine. now i’ve got 3 columns and full control over the css.

thanks for such a great plugin!!

Author’s gravatar author

No worries. Never thought permissions would cause a problem like that, but you live you learn. 😆

Author’s gravatar

Hello! I love this plug-in and everything is working just wonderful except the image doesn’t snap into the grid box. I did a “test product” and was wondering you might know what caused it and where I can go to fix it? http://www.bobocela.com/store/bobocela-designs … Thanks so much!!! :o)

Reply
Author’s gravatar

Well I fixed the issue using on another site I manage. I had to edit the code and finally figured it all out, so if anyone else has the same issue, let me know … also, if anyone is reading these, I wanted to ask why all other comments and issues were addressed, yet mine was ignored? Thanks. 🙂

Author’s gravatar author

I apologise. Glad you got your problem sorted. I normally answer comments from inside the admin and for some reason your comment didn’t show up. I don’t even have a comment email for it. 🙁

Again I apologise for nit replying.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

I'll keep your WordPress site up-to-date and working to its best.

Find out more