Version 2.4: Product Sorting Dropdown
Well, it’s here. Version 2.4 has landed with a few humble updates and bugfixes. It’s nothing to get too excited about, but as always upgrading is definitely recommended. What am I talking about?? This is the most exciting software release of the year. You’ve got to grab it now!!
Big, Exciting New Feature: Dropdown Product Sorter
There’s a new function called
foxyshop_sort_dropdown() to let your site visitors sort the products in whichever way they’d like. By default this is commented out in the theme files, but it’s very easy to enable and style. And if you don’t like the names for the dropdown fields, you can set them yourself in your theme file by setting $arr_dropdown_sort just like it’s done in helperfunctions.php. The selected order is set in a session cookie so that the order will be saved from page to page.
Locale Settings Are Now a Setting
Need to have the British Pound show up instead of the dollar sign and your host is set to en_US? Instead of hacking the foxyshop.php core files, there’s now a setting for this on the settings page. Just put in en_GB or whatever your current localization (localisation) might be.
jQuery Updated to 1.5.2
FoxyCart updated their code to fix the long-standing jQuery problem which was limiting us to 1.4.4. Accordingly, the default jQuery packaged with FoxyShop is now 1.5.2. This shouldn’t affect you unless you are doing lots of crazy stuff with jQuery. If you are, you might check to make sure your crazy stuff still works. If it doesn’t you can either fix it so that it works with 1.5.2 or you can use your own jQuery include and skip FoxyShop’s. Or…. you can now specify the version of jQuery to install by chucking this bit of code into your wp-config.php file:
define('FOXYSHOP_JQUERY_VERSION','1.5.2'). Make sure you fix the apostrophes which WordPress so helpfully makes into curly-quotes.
Compatibility updated to WordPress 3.1.2
In what might be the most inconsequential change to any piece of software ever written, you can now be assured that FoxyShop is fully compatible with the latest version of WordPress. Really though, this latest patch to WP was very simple and didn’t affect any FoxyShop related functions.
Bugfix: SSO Testing
An astute user (thanks Mitchell!) pointed out that some testing code was left in the Single Sign On file and was keeping the redirect from completing properly. This is rather mortifying and has been promptly patched.
That’s all folks! Download now.