*** Product Addons Changelog *** 2017-04-03 - version 2.8.1 * Fix - Update for WooCommerce 3.0 compatibility. 2017-02-23 - version 2.8.0 * Fix - When re-adding items to cart, similar named addons is missing. 2016-12-09 - version 2.7.26 * Fix - Issue where required fields are failing to add to the cart using the order again option. * Fix - Issue product add-ons are not being re-added when paying for pending or failed renewal orders. * Fix - Update deprecated API of WooCommerce being used this extension. 2016-10-26 - version 2.7.25 * Fix - Text field type addon is not accounting for multibyte characters. 2016-09-29 - version 2.7.24 * Fix - Undefined error when variation data is not found. * Fix - Product totals not updated instantly when clicking up and down number input. * Fix - In Safari browser, validation not working when minimum set to 0. 2016-09-06 - version 2.7.23 * Fix - Addon totals were displayed on top of options due to last version. 2016-08-10 - version 2.7.22 * Tweak - Relocate addon fields to be after the variation description. 2016-07-16 - version 2.7.21 * Fix - Tax inclusive display is not showing on addons in cart/checkout. 2016-07-07 - version 2.7.20 * Tweak - Load frontend CSS with wp_enqueue_script hook instead of get_header 2016-06-14 - version 2.7.19 * Fix - Product addons not applying to grouped products when using global addons. 2016-05-26 - version 2.7.18 * Tweak - Adjusts the 'Product Data' icon to use Dashicons * Fix - Ensure compatibility with bookings where the price was not affected by the cost multiplier. 2016-04-04 - version 2.7.17 * Fix - Options total/grand total does not work with "Free" product. * Fix - Missing minified quickview.js. 2016-03-20 - version 2.7.16 * Fix - When fields are not required and left empty, prevented add to cart from working. * Fix - Compatibility with Subscriptions title when addon is present. * Tweak - Compatibility with Composite Products. * Tweak - Clear addon fields when clear variations link is clicked. * Tweak - Using custom multiplier if zero is entered, don't show addons in cart. * Update - POT file. * Remove - accounting.js file in favor of using the one that comes with WC core. 2016-01-26 - version 2.7.15 * Tweak - Show the price display suffix on the grand total. 2016-01-14 - version 2.7.14 * Fix - WooCommerce 2.5 compatibility. * Fix - Made the 'required' tooltip translatable. 2015-11-24 - version 2.7.13 * Fix - Compatibility fix for WooCommerce Photography. The "select options" button should now lead to the correct screen when using WC Photography 1.0.6. * i18n / translation updates 2015-11-06 - version 2.7.12 * Fix - Compatibility fix for WooCommerce Photography. Users can no longer add photography products to cart without filling any required add-on fields. * Fix - The "default label" place holder now clears when you click into it. * Fix - Fix toggle display on "global add-ons" page. * Fix - Compatibility fix for WooCommerce Quick View. Prices with variations now quickly display the correct grand total on single product pages. 2015-09-29 - version 2.7.11 * Limit input element names in HTML to less than 64 characters to avoid issues on some hosts 2015-08-20 - version 2.7.10 * Automatically add a default option when a new add-on group is added to a product * Prevent merchant from removing all options in a given add-on group * Add custom email as an add-on field option * Add custom letters only text, digits only text and letters and digits only text as add-on field options * Add subscription period to add-on prices and totals for simple subscriptions too (not just those with variations) 2015-07-29 - version 2.7.9 * Fix - 2.4 compatibility. * Tweak - Improved bundles/composite compatibility. * Tweak - Don't auto select radio buttons. * Tweak - add filter woocommerce_product_addons_validate_value 2015-07-04 - version 2.7.8 * Fix - Using the POST data to get the product ID caused issues with 3rd party plugins. The issue around grouped products this was added to fix needs to be tackled by a different approach. In this case we decided to.. * Tweak - Make children products inherit addons from the parent (e.g the grouped product parent). * Tweak - Don't allow addons with required fields to be purchased from grouped product pages. 2015-07-03 - version 2.7.7 * Fix - Compatibility with OPC and other plugins which change the add to cart process. 2015-06-28 - version 2.7.6 * Fix - Only add file upload cost if a file was actually uploaded . 2015-06-19 - version 2.7.5 * Fix - Link product-level add-ons to grouped products when adding to cart * Fix - Use the correct ID for validation * Tweak - Allow plugins to hide grand total. 2015-05-27 - version 2.7.4 * Bookings compatibility. 2015-03-13 - version 2.7.3 * Fix duplicates when ordering again. 2015-03-02 - version 2.7.2 * Fix woocommerce_order_item_display_meta_value * Fix totals calc when currency contains decimal. 2015-02-24 - Version 2.7.1 * Filter upload dir * Upload attachments linked in the notification emails 2015-01-27 - version 2.7.0 * Renamed main file. * Make addons script hookable. * Added WC 2.3.0 compatibility. 2014-12-18 - version 2.6.11 * Reverted previous change 2014-12-12 - version 2.6.10 * Fixed unwanted capitalization on attribute label in order item details of thank you page. 2014-12-02 - version 2.6.9 * Fixed the checkbox add-ons when using re-order action. * Fixed the file upload path on order confirmation page and order review page. 2014-11-28 - version 2.6.8 * Added hooks to allow Global Add-ons for custom taxonomies. * Added compressed assets. 2014-09-01 - version 2.6.7 * Fix notices when ordering again. * Hooks for WPML. 2014-07-21 - version 2.6.6 * input multiplier - Set default value to avoid "This must be a number!". * Added POT file. * wc_format_decimal needs to be used on save. * Correct display after saving global addon. 2014-06-30 - version 2.6.5 * Fixed notices when re-adding item to cart. 2014-06-09 - version 2.6.4 * Fixed undefined variable. * Fixed frontend option with zero price. * Fixed undefined variable when custom textarea used. 2014-05-29 - version 2.6.3 * Implemented wc_input_price field for addon costs * Show addon prices inc/ex tax based on shop settings. * Additional filters. 2014-05-21 - version 2.6.2 * Fix text domains 2014-05-02 - version 2.6.1 * Fix closing label tags 2014-04-22 - version 2.6.0 * Extra filters for wider plugin compatibility * Bookings support * Class refactor * Impoved 'order again' code * Updated textdomain * Fix conflict with quick view 2014-03-21 - version 2.5.6 * Fix upload dir when "subdir" is not set. 2014-02-23 - version 2.5.5 * Fix cart button text for required addons in 2.1 2014-02-20 - version 2.5.4 * Styling fixes 2014-01-16 - version 2.5.3 * 2.1 compat 2013-12-06 - verison 2.5.2 * Check for subscription product type for add to cart urls 2013-12-06 - version 2.5.1 * Increased add_to_cart_text hook priority so that it applies to subscriptions too 2013-12-02 - version 2.5.0 * Removed legacy support * Order again - restore addons 2013-10-10 - version 2.4.5 * Allow zero value for custom text inputs 2013-10-10 - version 2.4.4 * Only set addons to array when not set already 2013-10-10 - version 2.4.3 * Added min attribute when min is 0 2013-10-10 - version 2.4.2 * Prevent negative multiplier 2013-10-10 - version 2.4.1 * get_product_addons filter 2013-09-16 - version 2.4.0 * New custom input multipler field type which multiples an input value by the price. Thanks Andrew Beeken. 2013-09-08 - version 2.3.0 * Exclude products from Global Addons option 2013-08-22 - version 2.2.0 * Various tweaks to support composite products 2013-07-31 - version 2.1.3 * Corrected product type checking * Unique class per addon 2013-07-23 - version 2.1.2 * Better compatibility with quick view 2013-07-18 - version 2.1.0 * Allow HTML in the addon descriptions * Improved sanitization of posted options 2013-06-28 - version 2.0.9 * Global addons - include_children false so sibling category addons are not found. 2013-06-27 - version 2.0.8 * Rename addon totals string 2013-06-07 - version 2.0.7 * Change event on page load to show totals if needed * Currency converter compatibility 2013-06-07 - version 2.0.6 * Labels are optional * Select first radio element by default 2013-06-07 - version 2.0.5 * Variable product support when variations all cost the same 2013-06-07 - version 2.0.4 * Variable product support 2013-06-03 - version 2.0.3 * Fix global import 2013-05-31 - version 2.0.2 * get_woocommerce_price_format fallback * Stripslashes fix 2013-05-29 - version 2.0.1 * Fix escaping of user defined data 2013-02-01 - version 2.0.0 * Complete rewrite for WooCommerce 2.0 with new interface. * Global forms which can be applied to any product. * Custom price inputs. * More hooks for extending the plugin. * Template based overrides for fields. * Dynamic total cost display * Removed upload size filter for the benefit of WP MU * When required, select box default is "Select an option" rather than "None" * Add to cart button on archives links to product page for products with required add ons * Removed colon for text fields when label is empty * required-product-addon class on wrapper div for required fields * Add option to provide id for product_addons function 2013-02-09 - version 1.2.0 * WC 2.0 Compat 2012-12-04 - version 1.1.1 * New updater 2012-01-26 - version 1.1 * Required fields * Textarea field type * File upload field type * Import/export forms between products * Validation hook - woocommerce_validate_posted_addon_data 2012-01-26 - version 1.0.2 * Small plugin header update * Strip tags from prices/meta 2011.12.1 - version 1.0.1 * Woo Updater * Hook change 2011-11-17 - version 1.0 * First Release