 Groups: ProSeller, Zazzle Employee
Joined: 7/10/2006 Posts: 436 Location: San Jose
|
Many of you who run ZSB and filter the feeds to a specific product type have been getting the dreaded "feeds unavailable" error. This is due to the fact that we've updated the old numerical product type system to one based on strings. We thought we were correctly redirecting any feeds that still use the numbers, but apparently we were not, and our engineers are currently looking to fix that.
In the meantime, you can convert your ZSB to work with these new string codes. Right now, ZSB expects a number, so these codes won't work until you make a small tweak to your zstore.p h p file.
Open up the zstore.p h p file (in your includes folder) and find this:
$productType = is_numeric($_GET['productType']) ? $_GET['productType'] : "";
and replace with this:
$productType = $_GET['productType'];
Then you can use these codes to filter your stores!
casemate_case fuji_coaster fuji_electronicsbag fuji_fleximagnet fuji_notebook fuji_notepad fuji_plaque fuji_plate fuji_puzzle libertybottle_bottle mojo_kitchentowel mojo_napkin mojo_placemat mojo_throwpillow musicskins_skin planetjill_giftbox rickshaw_accessory rickshaw_flapsleeve rickshaw_folio rickshaw_messengerbag rickshaw_sleeve zazzle_apron zazzle_bag zazzle_binder zazzle_bumpersticker zazzle_button zazzle_calendar zazzle_candyjar zazzle_card zazzle_coaster zazzle_doodle zazzle_embroideredbag zazzle_embroideredhat zazzle_embroideredshirt zazzle_envelope zazzle_flyer zazzle_giftbox zazzle_hat zazzle_invitation zazzle_keychain zazzle_label zazzle_letterhead zazzle_magnet zazzle_mousepad zazzle_mug zazzle_necklace zazzle_ornament zazzle_petbowl zazzle_petshirt zazzle_photocard zazzle_photoenlargement zazzle_photoprint zazzle_photosculpture zazzle_pitcher zazzle_postcard zazzle_print zazzle_profilecard zazzle_rackcard zazzle_screenprintshirt zazzle_shirt zazzle_skateboard zazzle_specialtymug zazzle_speckcase zazzle_stamp zazzle_stationery zazzle_sticker zazzle_teapot zazzle_tie zazzle_tile zazzle_tileholder zazzle_wrappedcanvas
|
|
 Groups: ProSeller
Joined: 6/7/2007 Posts: 17
|
I couldn't find the following line
$productType = is_numeric($_GET['productType']) ? $_GET['productType'] : "";
and so I thought my version was outdated. No.... when I looked at what is available on Zazzle.com its version 1.0.2 as is mine. The above line isn't in there. Is there another version some place?
|
|
 Groups: ProSeller
Joined: 2/27/2008 Posts: 2,507
|
Yea, im not finding this line either Mr.E In fact I cannot find any mention of product type.
|
|
 Groups: ProSeller
Joined: 5/3/2009 Posts: 121
|
I found the same thing, but it wasn't necessary. Wherever I'd declared a product type, like:
$productType = "(some number)";
I just replaced it with the new string, and everything worked again.
|
|
 Groups: ProSeller, Zazzle Employee
Joined: 7/10/2006 Posts: 436 Location: San Jose
|
Sorry, I should have mentioned that is for ZSB v1.5 which is available on my site here: http://www.paperdinosaur.com/zsbb/
|
|
 Groups: ProSeller
Joined: 2/27/2008 Posts: 2,507
|
No i didnt. LOL, well guess that dont help old style users then. Ill quit racking my brain cause I thought I was going blind. Thanks
Edit; Disregard. I noticed they are all working now. However, is this something we need to start planning for?
|
|
 Groups: ProSeller, Zazzle Employee
Joined: 7/10/2006 Posts: 436 Location: San Jose
|
Yes, we are moving away from numerical product types and will be using the above text-based product types. So if you are on the old ZSB 1.02, just change the numbers to the corresponding text equivalent. If you are on the newer 1.5 ZSB, you need to tweak the zstore file as I noted. Keep in mind, this tweak (for v1.5) is currently just a quick and dirty way to get your feeds working again. Ultimately I will need to roll up a new version with all the correct changes in place, including the new product type strings in the documentation.
|
|
 Groups: ProSeller
Joined: 4/29/2010 Posts: 655
|
Thanks so much for posting this. I picked a bad time to invest in domain names and web hosting -- only two days before the feeds went down!
Should I wait now until the new version is out or should I go ahead with my sites and then change them?
Do you have an estimate of when the new version will be ready for download?
|
|
 Groups: ProSeller
Joined: 5/18/2008 Posts: 2,651
|
ecaggiani wrote:Yes, we are moving away from numerical product types and will be using the above text-based product types. So if you are on the old ZSB 1.02, just change the numbers to the corresponding text equivalent. If you are on the newer 1.5 ZSB, you need to tweak the zstore file as I noted. Keep in mind, this tweak (for v1.5) is currently just a quick and dirty way to get your feeds working again. Ultimately I will need to roll up a new version with all the correct changes in place, including the new product type strings in the documentation. and when you do that! we will have to update all our pages? and replace numerics with text based strings? or will there be an easy quick solution!?
|
|
 Groups: ProSeller
Joined: 11/20/2007 Posts: 68
|
Thanks for posting the information. Wow. There's plenty of work ahead for me to change each of my php files. It would've been helpful to get the heads up. Was this posted somewhere else and I overlooked it? Or is the info. just hear, where the initial post was directed to folks using version 1.5? I've been waiting for days for the feed on some pages to work and it turns out they weren't working because they are for specific product types and the product number system is no longer valid
One suggestion for the next time this is overhauled: provide a way for the feed to be able to pull multiple similar products. Let me explain: It would be great to show all coasters on one page, rather than having to have separate pages for different coaster types; being able to have one page pull up all magnets, mugs, bags, etc., regardless of the type of magnet, mug, or bag. Obviously I can add a special keyword to products I want to include, but it'd be simpler to be able to take care of this using the php code. If there is already a way to do this such as using a semicolon to separate two separate product types, I'd love to know.
I do want to say that I am really happy that Zazzle offers the Z store. I think it's great. It's just frustrating because I use the z store on multiple websites. There is another POD site I occasionally use and the opportunities it offers for SK'ers to incorporate working widgets, feeds, or other tools to showcase work on their own websites are severely lacking.
|
|
 Groups: ProSeller, Zazzle Employee
Joined: 7/10/2006 Posts: 436 Location: San Jose
|
Just to clarify, there was not supposed to be any downtime for ZSB stores since we did build the system with backward compatibility in mind. However, to be honest, we dropped the ball a bit on that and I apologize. I believe a backend fix to the backwards compatibility has already been checked in and should make it live soon. When that happens, everything should just start working as before... no file editing needed.
What I posted here was a way to force your current ZSB to use the new method and not have to wait for our backend fix. ZSB 1.02 users should be able to simply switch from a numerical product code to the text-based one above and all should start working. Users of the 1.5 version would need to tweak one line of the zstore file to be able to use the text codes.
As to when a new version of ZSB will be posted, I can't say for sure. I can certainly make updates and post to my Paperdinosaur site in an unofficial capacity. I may be able to get that done this weekend. But when that will show up on Zazzle itself I can't say.
-Ed
|
|
 Groups: ProSeller
Joined: 11/20/2007 Posts: 68
|
ecaggiani wrote:Just to clarify, there was not supposed to be any downtime for ZSB stores since we did build the system with backward compatibility in mind. However, to be honest, we dropped the ball a bit on that and I apologize. I believe a backend fix to the backwards compatibility has already been checked in and should make it live soon. When that happens, everything should just start working as before... no file editing needed.
-Ed Oh, great! Thanks for clarifying, Ed. Hopefully all will be fixed soon, although I might go ahead and just fiddle with a page to see the outcome. I'm also considering version 1.5, as there are some nice things you added that would be beneficial. If there is any chance at all for folks to group similar products together, e.g. all bags, all magnets, all coasters, all mousepads, etc., simply by using multiple product text codes, please let us know. Thanks!!
|
|
 Groups: ProSeller
Joined: 2/27/2008 Posts: 2,507
|
And paul is working on an update for everyone that uses the Zstore Helper for wordpress to include the product type names the new way. He said he will post at his site when the new zstore helper plugin with the updated names list is available. I know hes getting hit with tons of questions about it so it slows him down a bit, but hell get it. Hes good about helping everyone and always has been. So an update to zstore helper is coming in day or two, please just be patient for all you wordpress users out there.
Its going to be released in the regular and the premium version.
|
|
 Groups: Member
Joined: 1/15/2012 Posts: 170
|
Thanks for all this information. As a new SK'er I was pessimistic at first with having no news, and I'm afraid I wondered about Zazzle. Now I can understand the pressure people must have been under.
With renewed optimism, thanks everyone!
I've now changed all categories to show the product type as a keyword. Which makes a sensible tip for SK'ers to add the 'product type' somewhere in their product's title, keywords, or description.
(Thank goodness for Wordpress' search box that highlighted all numeric product types - this made it so much easier!)
|
|
 Groups: ProSeller
Joined: 8/9/2007 Posts: 164
|
FishTsdotcom wrote:And paul is working on an update for everyone that uses the Zstore Helper for wordpress to include the product type names the new way. He said he will post at his site when the new zstore helper plugin with the updated names list is available. I know hes getting hit with tons of questions about it so it slows him down a bit, but hell get it. Hes good about helping everyone and always has been. So an update to zstore helper is coming in day or two, please just be patient for all you wordpress users out there.
Its going to be released in the regular and the premium version. Paul's plug-ins & person rocks - tell him i send him a big Thanks!
|
|
 Groups: ProSeller
Joined: 8/13/2003 Posts: 58
|
Thanks For The Info - I'm Using The Older Version Of The Zazzle Store Builder Script And It's Working As Before.
Glad To Have My Website Up To Full Operation After 7 Days Of Displaying No Product Feeds
|
|
 Groups: ProSeller
Joined: 8/28/2008 Posts: 2,646
|
As I needed help the first time round in setting up my WP site with ZSB, I will I guess just wait for some easy help here? I don't relish the thought of going back in to try and fix this!
|
|
 Groups: ProSeller
Joined: 3/6/2010 Posts: 32
|
So is the backward compatibility meant to be working yet or is this not going to happen? Is this for 1.02 or only for 1.5?
I have some 3400+ files to edit otherwise.
|
|
 Groups: ProSeller
Joined: 4/14/2007 Posts: 513
|
for some reason, I can't find where to edit the file myself. It's not in my includes folder, and I'm not finding it anywhere else.
Will the new update to the plugin from Paul fix the problem without going in to change my files? I'm using the old version, with the zstore helper plugin from Paul.
***edit... I found the file, in a weird place (in my plugins folder in the zstore helper folder)... but here's the code I currently see:
// if we have any of these params set in $_GET, they override our config file settings if( isset( $_GET['contributorHandle'] )) $contributorHandle = $_GET['contributorHandle']; if( isset( $_GET['associateId'] )) $associateId = $_GET['associateId']; if( isset( $_GET['productLineId'] )) $productLineId = $_GET['productLineId']; if( isset( $_GET['productType'] )) $productType = $_GET['productType']; if( isset( $_GET['keywords'] )) $keywords = $_GET['keywords']." ".$keywords; if( isset( $_GET['keywords'] )) $keywordParam = "&keywords=".urlencode($_GET['keywords']); if( isset( $_GET['gridWidth'] )) $gridWidth = $_GET['gridWidth']; if( isset( $_GET['gridCellSize'] )) $gridCellSize = $_GET['gridCellSize']; if( isset( $_GET['gridCellSpacing'] )) $gridCellSpacing = $_GET['gridCellSpacing']; if( isset( $_GET['gridCellBgColor'] )) $gridCellBgColor = $_GET['gridCellBgColor']; if( isset( $_GET['analyticsId'] )) $analyticsId = $_GET['analyticsId']; if( isset( $_GET['showHowMany'] )) $showHowMany = $_GET['showHowMany']; if( isset( $_GET['startPage'] )) $startPage = $_GET['startPage']; if( isset( $_GET['useCaching'] )) $useCaching = $_GET['useCaching']; if( isset( $_GET['cacheLifetime'] )) $cacheLifetime = $_GET['cacheLifetime']; if( isset( $_GET['defaultSort'] )) $defaultSort = $_GET['defaultSort']; if( isset( $_GET['currentSort'] )) $currentSort = $_GET['currentSort'];
So, what changes to I need to make to this??? This is for a postage site that only carries stamps.
Thanks, Pam
|
|
 Groups: ProSeller
Joined: 2/27/2008 Posts: 2,507
|
No changes needed in that section at all. And yes there is an updated version of pauls zstore helper coming in just a day or two. Also according to previous post, existing use of specific product types in the plugin version will become fixed once the apply the backwards compatibility. So leave those pages and posts their for now. If you do not wish to wait on that to kick in, for each page or post that you created that utilizes the "product type" shortcode you will need to go in and physically change to the new name for that product type. As an example if your old post or page shortcode looked similar to this ... Code:[zstore contributorhandle="ZazzleStore" producttype="Mugs"keywords="cats, dogs"] then you would need to change it to look like this.......Code:[zstore contributorhandle="ZazzleStore" producttype="zazzle_mug" keywords="cats, dogs"] Notice where it says product type was changed from "Mugs" to "zazzle_mug". (dont forget the underscore) Just change the name for the product type to reflect that of the new names from the above list provided. Hope that helps ya out some. SPECIAL NOTE; this is only for if you are showing by product type only. All the other feeds are working fine, just the product type usage that needs this fix.
|
|
|
Guest |