Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This release includes a major update of the SQL used to calculate discounts. It updates queries to use Drupal 7 API. The query results should remain the same but with any large update, such as this, thorough testing of existing discounts should be performed to ensure they are functioning correctly.
Other changes include:
Ability to control discount checkout pane display; Allow/deny users to enter discount codes, Show/hide discount messages.
This release contains a major rewrite of code that:
- Fixes ubercart checkout panes integration.
- Uses new method to modify cart display.
- Replaces JavaScript in form to use AJAX and form states.
- Adds static variable caching to uc_discounts_get_discounts_for_order to greatly reduce queries.
- Fixes discount codes entered during checkout not applying.
- Fixes menu items.
- Fixes 6.x update functions that loaded schema.
- Fixes many undefined variable errors.
- Converts some database queries to D7.
Fixed display of discounted price field added by product_price_alterer_field. See README.txt for more information on this field and how to theme both product_price_alterer_field and codeless_discounts_field (this has changed slightly from previous versions).
Changed the way the CCK modules work.
Unfortunately this change breaks any existing theming people have done to codeless_discounts_field_get_codeless_discount_html_for_product (see theme_codeless_discounts_field_get_codeless_discount_html_for_product in codeless_discounts_field.module for new format)