Fix for Zazzle binder price bug (fixed now)
- Tuesday Dec 22,2009 03:46 PM
- By WishAdmin
- In Uncategorized
*** 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
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 bugUpload 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
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 bugUpload 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.

