sparkweb
Forum Replies Created
-
Okay, figured out what was going on and got it corrected. Posted the fixes to the WordPress plugin repo and version 1.3.1 should be available in about 15 minutes. Thanks for letting me know about the problem.
@maintainer: thanks for the bug report. I’ll take a look at this and see if I can figure out what’s going on.
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] "Not Found" in Order Management ViewYou are right: this is a bug. I will release a patch soon (current is 3.5.1). In the meantime you can delete orders.php, line 297 that looks like this:
echo 'NOT FOUND';Thanks for the alert.
First off, I’m really sorry for the delay. My dang RSS reader only just now pinged me for this thread.
I was able to duplicate your problem and have posted a new version which fixes this.
If it helps, the values are actually saving, it’s just throwing the error when it tries to load the page again. Go ahead and update to version 1.3 and it should fix this.
David
Forum: Hacks
In reply to: Can't Get Repo To UpdateUpdate: It finally updated about 12 hours later. No idea why, but it’s working now.
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Only the first product variation is appearingOkay, thanks. I had switched it to a preg_split shortcut which was supposed to see all the different kinds of newlines, but apparently it wasn’t doing the trick. I’ll roll this out now in an update: 3.5.1 – thanks for the report.
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Only the first product variation is appearingWhat version are you using? And what OS are you using?
Try changing helperfunctions.php line 366 to:
$variations = preg_split("[\r\n|\r|\n]", $variationValue);and see if that does the trick.
Forum: Networking WordPress
In reply to: Fatal error: Call to undefined function wp_get_current_user()I just ran into this with my plugin (FoxyShop). I had actually discovered a while back that using the filename “tools.php” in my plugin caused major trouble in regular WordPress. I just discovered that setup.php and settings.php are what were causing my plugin to bork multisite (in 3.2.1 – haven’t tested 3.3 with this yet). I renamed settings and setup (tools had already been renamed) and now the plugin works like a charm.
My conjecture is that the files (settings, setup, tools, options) are protected for some reason and when they are called they initialize current_user_can() or a subset of that.
Come to think of it, shortcode.php and widget.php also broke my plugin.
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Unable to Upload Product ImagesGreat catch, thanks for posting. I’m linking this from the FoxyCart FAQ section at http://www.foxy-shop.com/faq/. Incidentally, the same thing goes for testing the datafeed.
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Using All in one seo pack with FoxyshopNick, AIOSEO is I think running at a lower context than FoxyShop’s naming filter so FoxyShop overwrites it. As of version 3.3 there’s not a way to solve this but… what I’m going to do to fix this and provide more flexibility is to change the plugin to use the filter only if a custom title is entered. So you could just remove the custom page titles in the FoxyShop settings for single products and then FoxyShop wouldn’t interfere at all with the page titles. I’ll email you with the beta of version 3.4 so you can install and try it out.
Forum: Plugins
In reply to: [Reliable Twitter] [Plugin: Reliable Twitter] Tweets not loadingGoogle doesn’t cache all the twitter feeds automatically, but the first time you request it, it should go out and cache it right away. It doesn’t always happen right away, but that’s how it *should* happen.
So you are giving up instant update for reliability.
Joe, another update: and it really doesn’t make any sense.
I tried disabling some plugins and found that when I disabled my plugin, FoxyShop, the stylesheet shows up correctly. I did all this troubleshooting and looking through your code to figure out what might be going on and then realized that after turning my plugin back on, everything was still working.
Doesn’t really make any sense, but now it is showing up properly, after disabling FoxyShop and re-enabling it. So apparently it’s all fixed. Very, very strange and one of those things…..
Thanks for your responsiveness, it’s much appreciated.
It’s a Twenty-Eleven child theme. If you want to send me an email at web (at) sparkweb dot [net] I can email you the theme files if that would be helpful.
I am using the default stylesheet, and as you can see, it works on the homepage: http://www.freundshippress.com/ – just doesn’t load on any of the inside pages.
Forum: Plugins
In reply to: [FoxyShop] another foxyshop-single-product templateI wrote some code that grabs the category from the products page. This is what you’ll want to do:
$product_categories = wp_get_post_terms($product['id'], 'foxyshop_categories', array("fields" => "names")); //Pillows Category if (in_array('Pillows', $product_categories)) : //Check Inventory Levels and Display Status (last variable allows ordering of out of stock items) foxyshop_inventory_management("notice: only %c pillows%s left in stock!", "sorry, item is not in stock.", false); //Everything Else else : foxyshop_inventory_management("notice: only %c yard%s left in stock!", "sorry, item is not in stock.", false); endif;You Could Also Do (just different syntax):
if (in_array('Pillows', $product_categories)) } ..... } else { ........ }