Ubercart Ajax Attribute Calculations
Categories
Component ID
233919
Component name
Ubercart Ajax Attribute Calculations
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
17466
Component created
Component changed
Component body
uc_aac is an add-on module for the Ubercart e-commerce suite. This module updates product fields via Ajax when attributes that affect those fields are modified. By default it also updates individual attribute price adjustments so that they remain relative to the updated price, but this can be turned off in the attribute admin settings.
Dependencies
Ubercart Ajax Attribute Calculations requires Ubercart Attributes be installed.
Product node divs must have an identifier in the same form as the garland theme. For instance, trying to use bluemarine theme without adding the following code to node.tpl.php will result in the module not working.id="node-<?php print $node->nid; ?>"
Known Issues
- uc_aac will cause undesirable behavior on pages where multiple products are displayed and these products contain the same checkbox or radio button attributes. See #855474: multiple products on one page giving unexpected behavior for more info and progress.
- Ubercart modules which form_alter the add to cart form may not behave as expected when tied in with this module. Please check for existing issues in the queue before reporting incompatibilities.
- The "Please select an option" item in a required select attribute goes away when this module is used because the initial page load modifies all the attributes. See #805728: requiring attributes no longer works because "please select" option gone for required attribute
Features
6.x-2.x
- This module has been tested and is compatible with Übercart 2.0.
- Updated Fields:
- Display Price
- Sell Price
- Cost
- Model
- Weight
- Supported Field Types:
- Select Box
- Radio Buttons
- Checkboxes
- Allows other modules to interact with it in the following ways:
- Rebuilds the entire product view form on every change. This allows users to leverage existing Drupal hooks such as hook_nodeapi and hook_form_alter to alter the appearance of the product view form.
- The existing ubercart hook, hook_add_to_cart_data, is now called to load item data modifications made by other modules.
- A new hook has been added, hook_cart_item, to allow other modules to modify the cart item.
- Modules currently interacting with Ajax Attribute Calculations
6.x-1.x
- NOT RECOMMENDED! Please use 6.x-2.0.
- This module has been tested and is compatible with Übercart 2.0.
- Requires Ubercart Beta2 or higher
- If using Ubercart RC2 or higher, the dev version of this module is required.
- Updated Fields:
- Display Price
- Sell Price
- Supported Field Types:
- Select Box
- Radio Buttons
5.x-1.x
- This module has been tested and is compatible Übercart 1.0.
- Product node divs must have an identifier in the same form as the garland theme. For instance, trying to use bluemarine theme without adding the following code to node.tpl.php will result in the module not working.
id="node-<?php print $node->nid; ?>"
- Updated Fields:
- Display Price
- Sell Price
- Supported Field Types:
- Select Box
- Radio Button