Archive for ‘December, 2009

Fix for Zazzle binder price bug (fixed now)

*** Looks like this bug is fixed. You may undo the temp fix from us below. ***

There is a known bug in the zazzle product feed for binder pricing. It’s showing up as double the actual price.  With the holidays upon us, it’s not realistic to expect a fix for the next few weeks.

There is a simple temporary fix for this issue if you wish to add a bit of code to your plugin file.  It will be easy to remove later and make sure to follow us at http://www.twitter.com/wishads in order to get the head’s up on when it is resolved.

Wishads for Zazzle Stores

Here’s the fix if you want to give it a shot:
In your “wp-content\plugins\wishads_zazzlestore” directory, open up the “wishads_zazzlestore.php” file to edit. Of course, never hurts to save this file in a temporary directory as well for a backup.

Go to around line 301 and you’ll find something like this:

$prod_price = $parser->document->channel[0]->item[$i]->g_price[0]->tagData;

Right after that line and before the
// build the xml cache file with just the bare essentials
insert the following code
$prod_type_temp = $parser->document->channel[0]->item[$i]->g_product_type[0]->tagData;
// begin fix for binder pricing bug
if ($prod_type_temp == “binder”) {
$prod_price = $prod_price/2;
}
// end fix for binder pricing bug

Upload this file to your server.
On your server, go to your “cache” folder in this plugin directory and delete all of the files in it to remove old pricing.

Wishads for Zazzle Search

It’s basically the same code, but different location:
In your “wp-content\plugins\wishads_zazzle”  directory, open up the “wishads_zazzle.php” file to edit. Of course, never hurts to save this file in a temporary directory as well for a backup.

Go to around line 281 and you’ll find something like this:

$prod_price = $parser->document->channel[0]->item[$i]->g_price[0]->tagData;

Right after that line and before the
// build the xml cache file with just the bare essentials
insert the following code
$prod_type_temp = $parser->document->channel[0]->item[$i]->g_product_type[0]->tagData;
// begin fix for binder pricing bug
if ($prod_type_temp == “binder”) {
$prod_price = $prod_price/2;
}
// end fix for binder pricing bug

Upload this file to your server.
On your server, go to your “cache” folder in this plugin directory and delete all of the files in it to remove old pricing.
Hat tip to Gretchen at http://www.GirlsCantWhat.com for the heads up about the pricing.  Let me know if you have any problems.
And don’t forget to follow this thread or follow us at http://www.twitter.com/wishads for updates like this.