*** WooCommerce Graphflow Changelog *** 2015.07.31 - version 2.0.5 * Fix - Possible timezone bug on order export * Fix - Don't export non-published products * Fix - 'DOING_AJAX' constant check bug fix 2015.04.23 - version 2.0.4 * Fix - Further fix for potential XSS with add_query_arg * Fix - Custom form handler for data export only in admin * Fix - Correctly handle add-to-cart URLS for non-simple products when AJAX add-to-cart buttons disabled 2015.04.21 - version 2.0.3 * Fix - Potential XSS with add_query_arg 2015.04.20 - version 2.0.2 * Tweak - Export plugin version to API * Tweak - Streamline product edit/save by hooking into WooCommerce actions * Fix - Properly capture bulk product edit/save by hooking into WooCommerce actions * Fix - Correct add-to-cart URL for recommended products when AJAX add-to-cart buttons are disabled 2015.03.17 - version 2.0.1 * Feature - Shortcode is back! The shortcode now works with the new AJAX recommendations. * Feature - Added ability to filter by product category and product tag in the shortcode. * Feature - Added additional alias call for user email address, to merge previous guest checkouts with that email to their user id when signing up / logging in. * Tweak - Refactor recommendation styling into templates for all recommendations types. * Tweak - Additional parameters passed in recommendation calls to improve performance tracking and reporting. * Tweak - Change API request timeout to 10 seconds. * Fix - Fix bug where items in cart could be recommended on cart page. * Fix - Fix case where add-to-cart events on redirect could be sent multiple times if cart page was refreshed. * Fix - Similar product recommendations are now correctly served for non-tracked users. 2015.02.26 - version 2.0.0 * First release of new version on WooThemes.com * Feature - Introducing AJAX recommendations. This can be turned off with an option in the Settings page, in which case the previous approach will be used. * Feature - Allow stores to specify the User Roles that are tracked for logged-in users (default: "Customer"). * Feature - Significantly improved JavaScript tracking library. * Tweak - AJAX Recommendations and the new JavaScript tracking correctly handle cached WooCommerce environments. * Tweak - Allow exporting more than 1000 orders. * Tweak - Correctly capture add-to-cart events for cart redirects. * Tweak - Correctly capture AJAX add-to-cart events. * Tweak - Improved error logging to 'graphflow' WC log file. * Tweak - Capture guest checkouts using email as id for live orders, and make alias call with email as id. Also provide email as id to frontend tracking. * Fix - Properly handle product variations in order data export. * Fix - Use correct item total cost for price field on 'purchase' interactions. * Fix - Fix issue with millisecond timestamps on 32-bit systems. * Fix - Ensure order timestamps are exported as UTC. * Fix - Handle any error code in API recommendation response by returning empty array. * Fix - Use post global for trying to capture product data on a product page view. Version 1.0.7 * Feature - Export store currency for Graphflow, allowing correct dashboard currency conversions. * Tweak - Add various error logging messages for API and data export errors, using WC_Logger. * Fix - Pass API error as correct string argument to Exception. * Fix - Check that product object exists before attempting to export product data. * Fix - Make product post-save hooks have correct priority. * Fix - Use correct attribute access to get 'itemId' for bulk product export. * Fix - Don't attempt to export product details for RSS feed requests. * Fix - Prevent generating multiple random temp user ids for a single request. * Fix - Products that should not be 'visible' marked as 'inactive'. Version 1.0.6 * Fix - Graphflow widget now has its own unique identifier. This fixes a conflict with built-in WooCommerce Product widget. After upgrading, users that are using the Graphflow widget should first delete it from the relevant widget area, and then add it again. Version 1.0.5 * Tweak - Add WooCommerce product-related CSS to Graphflow recommendations. This should improve compatability across a wide range of themes. * Feature - Add new option to restrict similar product recommendations to the same category as the current product being displayed. This is on by default, but can be turned off by unchecking the 'Restrict Category' option in the settings page. Version 1.0.4 * Tweak - Make functions for WooCommerce active check static. Version 1.0.3 * Fix - Add WooCommerce active check. Version 1.0.2 * Fix - Make order export compatible with WC 2.1 again. * Fix - Make numeric recommendation options compatible with WC 2.1. * Fix - Correctly display current values of numeric recommendation options in Graphflow settings page. * Fix - Minor issue with user export being done multiple times when exporting orders. Version 1.0.1 * Fix - Add error handling when no data has been sent to Graphflow yet. * Doc - Added some FAQ answers. * Tweak - Big improvement to performance of product and order data exporting. * Fix - Bug in order export. Version 1.0.0 * First release.