This is a bugfix release to correct Issue #1881758 that was introduced in the refactoring included in 6.x-2.2. For a list of changes included in 6.x-2.2, click here.
Some minor corrections have also been made to better mimick the behavior of 6.x-2.1 after the refactorings.
Fixed information disclosure which included the user's PHP session ID in the JavaScript settings array on every page.
Important Changes:
Issue #1437798 by stewart.adam: remove (out of scope) stock hook.
Note that this change means that uc_ajax_cart will no longer check product stock levels, as this feature is out of scope for this module and did not function entirely correctly anyways. Users wishing to preserve this behaviour are recommended to install a module dedicated to product stock management such as uc_out_of_stock.
Bug fixes:
Issue #1317986 by tunic: Updating to Ubercart 6.x-2.7 breaks Ajax Cart
Issue #1532144 by hanoii: Support for other fields type for qty when removing items.
Several user contributed this code form issue #1120590. This is a dev release and it's not tested by maintainer, just used community contributed code to make easy for other to use and test.
This is a major refactoring of the JS code of Ubercart Ajax Cart. Code has been polished, applied Drupal coding standards and added some minor features (cart block open/close slide effect and some config on cart block open state). Aside that, no functionality has been changed, so all previous features should work ok.
Also some module files have been polished to meet Druapl coding standards.
- removing drag and drop ( too much problems , i need more time to make a clean solution )
- correct loading form.js http://drupal.org/node/365917 thanks to Rob T
- correct function naming
- now getting correct form id when working with views
Critical Bug Update . This release is related to a critical bug. There was a conflict with double loading jquery forms. Affects various modules using jquery forms.
- Works with catalog
- Works with views
- Works with "buy now" button
- no more javascript crashing ( 2 forms with the same id )
- Works with product kit
- [NEW] Validation of restriction based on "hook_add_to_cart" . Implement a uc_attribute_add_to_cart hook and a uc_stock_add_to_cart
I think i will be waiting for ubercart 2.0 stable to add a stable version, but all things work with ubercart beta2.
- add support for catalog "buy it now forms"
- add support for uc_marketing module
- overwork javascript because no unique form id's are provided from drupal/ubercart
Please Test and have fun. Next version is only bugfixing and preparing for 1.0 STABLE .