sparkweb
Forum Replies Created
-
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Foxyshop CDN links brokenFoxyCart did this with 0.7.2 and it’s a pretty cool feature. It’s the first time I’d seen it too!
The reason it uses the displaykey attribute is because anything that has a display key on it (supposed to be hidden until triggered on) gets one of those attributes. Here’s how it should be setup on the backend:
http://i46.tinypic.com/e199w5.png
If it’s still not working please post the url you are working on or email me at web at sparkweb [dot] net
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Foxyshop disabling manual jquery enqueuSo is this fixed now? You can use ID’s or slugs in the skip includes box and it will keep jQuery out of those pages as well. This feature is designed for use with the checkout template where you don’t want to load jQuery or the FoxyCart includes.
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Use Media Library for Product ImagesImages are treated just like they are with posts. The images have to be attached to the product so it does use the media library but the image has to be attached to the actual product “post”. So if you have unattached images you can click “Attach” and attach them to the product in question.
Forum: Plugins
In reply to: [FoxyShop] foxyshop_currency double-encodes utf8Great point! I noticed this last week but had been unsure of what to do about it. I think your solution is a good one. Here’s what I’ll be rolling into the next release of the plugin (current release is 4.1.6):
function foxyshop_currency($input, $currencysymbol = true) { global $foxyshop_settings; if (function_exists('money_format')) { $currency = money_format("%" . ($currencysymbol ? "" : "!") . ".2n", (double)$input); } else { //Windows: no internationalisation support $currency_code = ($foxyshop_settings['locale_code'] == "en_GB" ? "£" : "$"); $currency = $currency_code.number_format((double)$input,2,".",","); } if (strpos($foxyshop_settings['locale_code'], "utf8") === false) $currency = utf8_encode($currency); return apply_filters("foxyshop_currency", $currency); }Can you try replacing the function in helperfunctions.php and see if that works for you?
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Add star ratings (product reviews)Right, not FoxyShop issues, but here’s my thoughts on general WP practices:
In general, I’d say it’s better to see if a plugin will let you do a template tag that you can place where you want instead of just placing at the end of the the_content() function via hook. Most plugins do it automatically so it is nice and easy and automatic, but it’s always better to have more control. The good plugins are flexible and let you do it either way. If that fails, you might consider moving it with jQuery after the page loads. A little bit of a hack, but would work.
RE the styling, what often happens is that your style.css file gets loaded first and then the wp_header() gets loaded later with the plugins JS and CSS. If they both have the same context (.container .element) then the latest one gets used. In this case the plugin. The solutions are to move your style.css file after the wp_header(); call OR to increase your context so the style.css gets priority (body .container .element). You could also add !important to your text indent, but this is not ideal.
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Add star ratings (product reviews)You can certainly install GD star rating and should be able to integrate it with FoxyShop products. I don’t understand much about the GD plugin, but it should certainly be possible. Have you tried to use it yet?
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] One "Add to Cart" button for multiple productsHi Kerri, so sorry I didn’t get to this earlier! My RSS feed sometimes doesn’t pick up these threads until it’s been a few days. For faster support, email from foxy-shop.com.
What is needed in this case is something much more than a simple change. What you’ll need to do is actually setup a product loop that appends 1: and 2: and 3: to all the products. So you’ll setup the form outside the loop, then do the hidden form attributes manually.
I’ve created some sample code to explain better: http://pastebin.com/eU5YYBg8 – you’ll still need to do the loop and your own code, but you can see what I’ve done here.
One important thing to note is that you can’t use this method with lots and lots of products because it sends all the form data to FoxyCart in a GET string and browsers won’t do that in an unlimited way. 3 products should be okay, but if you try to send 20 you’ll likely get errors or it won’t send all the data.
Does that help?
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] [Noobie] Setting up pages after initial installGene, so sorry I didn’t get to this earlier! My RSS feed sometimes doesn’t pick up these threads until it’s been a few days. For faster support, email from foxy-shop.com.
To answer your question, you can see all your products at http://mysite.com/products/, and all your product categories at http://mysite.com/product-cat/
If you aren’t seeing any styling, there might be another issue. Are you using a theme framework? Please do email me from the FoxyShop website with your url and I’d be happy to take a look and make any recommendations.
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] What does the foxy shop theme do?Hi @c-m,
Thanks for writing. If you run FoxyShop on a clean Twenty Eleven theme, you’ll notice that there are some problems. The margins aren’t right, the design gets a little crazy. (Go ahead and switch over to Twenty Eleven real quick and you’ll see what I mean.) That’s why I build the starter theme — it’s for anyone who wants to use Twenty Eleven — takes the pain out of fixing those weird design issues.
As to which one to use, that’s really up to you. If you like how the Twenty Eleven starter theme looks but just want to make a few adjustments, you could certainly do that. Otherwise, you could do a brand new theme/design or take another theme and skin FoxyShop in side of it. There’s more info here about how to customize a theme: http://www.foxy-shop.com/documentation/theme-customization/
Does that answer your question?
Forum: Plugins
In reply to: Foxyshop cart problemGlad you got it sorted out. Let me know if you have more questions as you go along. (It’s fastest to email me from the foxy-shop.com website — I can get back to you a lot faster there.)
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Custom Image for "Thumbnails"?I don’t quite follow. Are you wanting to change the product thumbnail image to something else entirely? You could use javascript to change the image on the page. Just make sure to change the value AND name (signed with the get_verification_code() function) to make sure the new value will pass verification.
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] UK currency showing  before pound signThis is an encoding issue. Make sure that your page has UTF-8 encoding. This might also go away when you aren’t on local as there are sometimes some interesting environment issues in play on a local install.
Let me know if neither of those solutions do the trick….
David
Hi there. Thanks for writing. I’m sorry about the delay in getting back to you. I was able to track down what’s happening here and it had to do with a visibility filter which was getting a little too aggressive. I’ve dialed it back and it’s working properly now. Please replace the following function in foxyshop/js/variation.process.jquery.js
http://pastie.org/private/qsabzpcrbjtdcha1lue6za
For anyone else finding this, this will be corrected in the 4.1.5+ release of FoxyShop.
Regarding your timthumb question, I am trying to remember what I did here. I believe that you’ll just comment out line 45 and uncomment those other lines. And make sure that timthumb is sitting in your root directory. You may have to tinker with it a little to get that to work. Let me know if you still run into any roadblocks and I’ll dig up the site that I did this for.
-David
Forum: Plugins
In reply to: [FoxyShop] [Plugin: FoxyShop] Need Add to Cart button for "Case Price"I followed up with @inhouse directly, but to answer this question for anyone else checking, you’d simply build a variation and set a different price for the different variation options. Or do separate products.