Note: This page is geared towards upgrading from v0.5.0. Please make sure you view all the version notes for versions you may be skipping (ie. from 0.5.0 → 0.5.1 → 0.6.0).
Please make sure you review the 0.6.0 changelog (available in your FoxyCart admin's Store Settings page) before upgrading. Also please ensure you've read the v060 known issues
v060 brings some changes to how customer accounts are treated, and these changes bring with them some HTML, CSS, and JavaScript changes you may need to account for if you've done advanced customization or integrations. Please ensure you read and understand these changes carefully prior to switching a store from v051 to v060.
In the “checkout” page in your FoxyCart admin there are now settings to determine the “checkout type”:
It is important to analyze what your store is currently doing in order to choose a setting that will make sense for you. For example, if you've currently been doing the “pre-population hack” to achieve a checkout without password, you'll likely want to set your store to default to guest mode, or to allow guest checkouts only. If, on the other hand, you have subscription products then you likely want to ensure you don't select guest only, as guest accounts cannot work with subscriptions.
Further, if you've been using the pre-population method to achieve a password-free checkout prior to v060, the upgrade process will include a step about upgrading customer records. More detail is provided when you make this change, but please ensure you read it thoroughly. If you have any questions please ask in our forum.
Due to the near complete refactoring of this section, you'll want to spend some time examining the changes on your store. You can use the default CSS files provided as a starting point, but if you've done heavy customization already you may find that much of the styles are applied as desired, as the HTML elements and classes are similar. You should examine the messaging on that section though, as the helper text has moved and changed. See more notes below, and the changelog, for details on what HTML has changed.
v060 introduces significant new functionality, and the HTML & CSS has changed to accommodate it. If you're upgrading from a prior version of FoxyCart and you've customized your CSS, you'll want to focus on the following areas:
div.fc_inner_extra elements on the checkout HTML. If you're using those for any styling you'll have to modify your CSS accordingly..fc_label_left to .fc_pre. You should be able to do a find/replace from one to the other..fc_text_label classes (used on span elements) to .fc_pre. Again, a find/replace in any custom CSS should handle things.checkbox and radio input elements. Due to the infinite possibilities we cannot provide straightforward steps to maintain the same formatting, but if you can't figure it out please ask in our forum.#p_login_result_ paragraph elements within the parent fieldset. Again, due to the possibilities with custom styling there's no straightforward migration path, but If you're pre-populating the checkout you'll want to reexamine that approach in light of the new guest/account checkout settings.
As of v0.6.0, FoxyCart's XML datafeeds include CDATA tags to many of the values in the XML. This shouldn't affect most modern XML parsers, but you should definitely be aware of the change and test the new XML datafeeds prior to going live. More info and example XML datafeeds here.
All of these strings are added in the changelog, but an overview is provided here:
cart_updateinfocart_error_subscription_paypalcheckout_instructions_email_checking (“Checking your email address…”)^^sub_token_url^^ placeholder can now be used on email receipt templates. This can make it easier to allow subscribers to modify their own subscriptions.sub_token string is now included in the initial XML datafeed send. If multiple subscriptions are in the cart, however, the sub_token value will be for the first subscription in the cart. This will be addressed in our next release.
If you'd like to use FoxyCart's CDN to deliver your static resources like the foxycart_includes.js and other CSS and javascript files, you can change all of your links from (for example) http://yourdomain.foxycart.com/files/foxycart_includes.js to http://cdn.foxycart.com/yourdomain/foxycart_includes.js. If you have a custom subdomain, it'd look like http://cdn.foxycart.com/secure.yourdomain.tld/foxycart_includes.js.
The files you'll mostly likely need are:
The CDN uses only http not https even if your store uses https.