Post by Johnathan » Thu Jul 17, 2014 4:06 am

Image

Current Version: v2023-12-04 (release notes)

OpenCart Versions: 1.5.2.x - 4.0.2.x

To Purchase: Visit Clear Thinking or opencart.com

Image Image Image

Create fees and discounts based on any criteria you want! This extension uses an intuitive "rules" system to easily determine when your shipping charges appear. Fees and discounts can be combined into a single line item on the order, or you can show each fee/discount separately as its own line item.

  • Upload and go — modifies no core files.
  • Enjoy peace of mind: all settings are automatically saved to the database when changed, and are backed up to a backup file every time the admin panel is loaded. Settings can also be manually backed up, and then downloaded to restore from later, or to edit in a spreadsheet application.
  • Take advantage of the built-in extension updater. All that's required is to enter your current license key and click "Update".
  • Create charges quickly and easily using the clean admin interface and intuitive rules system. Available rule types include:
    - Adjustments: charge adjustments such as min/max/round, flat/percent adjustments to charges or cart/item criteria, cumulative bracket charges, tax classes, and more
    - Cart/Item Criteria: length, width, height, L+W+H, price, quantity, stock, total, volume, weight
    - Date/Time Criteria: day of the week, date, time
    - Discount Criteria: coupon, gift voucher, reward points
    - Location Criteria: address, city, country, distance, geo zone, location comparison, postcode, zone
    - Order Criteria: currency, custom field, customer, customer group, language, past orders, payment method, shipping cost, shipping method, shipping rate, store
    - Product Criteria: attribute, attribute group, category, manufacturer, option, product, user-created product group, or any other product table
  • Build rule sets to apply multiple rules to a single charge at once. Re-use the same rule set for different charges to quickly create the charges you need.
  • Combine multiple charges into one final cost using simple or complex formulas. Supported functions include Sum, Max, Min, and Average.
  • Group products, categories, manufacturers, options, and attributes together however you want to create Product Groups. These groups can then be used to determine when charges apply to products, and which products to which they apply.
  • Use the included Testing Mode to determine why charges are not appearing on the front-end, helping to debug complex rule interactions.


Image Image Image Image Image Image Image Image Image

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Oct 03, 2014 1:28 am

Updated to v200.2

Release Notes:

- Added: help text clarifying that charges with blank Groups will be disabled
- Fixed: occasional postcode validation issue
- Fixed: bug with loading the extension when Sort Order is left blank
- Fixed: issue with Attribute, Attribute Group, and Category rules
- Fixed: Charge Combinations are not sorted by their Sort Orders
- Fixed: an issue with charges when non-default currencies are set
- Updated: attempted fix for setting saving problems -- let me know if you continue to see intermittent issues with settings not being saved

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Oct 10, 2014 3:21 am

Updated to v200.3

Release Notes:

- Fixed: "only any" and "only all" criteria not being evaluated correctly
- Fixed: addresses defaulting to the store address rather than the shipping address when the payment address is not set
- Fixed: tooltips disappearing after first view on some OpenCart versions
- Updated: moved Shipping Cost to be a Total Value setting
- Removed: unnecessary "Heading" setting

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Nov 07, 2014 4:57 am

Updated to v200.4

Release Notes:

- Fixed: Restore Settings logging the admin out in 1.5.x versions
- Fixed: some Product Group comparisons being evaluated incorrectly
- Fixed: Cart/Item Criteria values of 0 being evaluated incorrectly
- Fixed: various "Undefined variable" errors
- Fixed: rules using Stock values now properly account for the quantity of the item in stock, minus the quantity being purchased
- Fixed: postcode validations were incorrect in some rare circumstances
- Updated: zip file now works with the OpenCart 2.0 Extension Installer
- Updated: "of each item" Cart/Item Criteria comparisons to "of any item" for clarity. If using one of these comparisons, make sure to resave those settings to use the new value.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Wed Dec 10, 2014 3:55 am

Updated to v201.1

Release Notes:

- Added: compatibility with OpenCart 2.0.1.x
- Added: "Default Tax Class" setting, to add a fallback tax class for charges
- Fixed: "Undefined property: stdClass::$error_message" error for distances
- Updated: options comparison code to exclude products that do not match
- Updated: initial page loading speed is greatly improved (up to 4x faster)

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Wed Sep 02, 2015 4:46 am

Updated to v203.1

Release Notes:

- Added: auto-saving can now be turned on or off, directly in the admin panel
- Added: the full category path is now shown in auto-complete fields
- Added: "Customer" rule type, to check for an individual customer
- Added: "Coupon" rule type, to check for a coupon code presence or amount
- Added: "Gift Voucher" rule type, to check for a voucher presence and amount
- Added: "Reward Points" rule type, to check for reward points applied to the cart, or the total reward points value of products in the cart
- Added: Distance Units setting, to more easily switch between miles and km
- Confirmed: compatibility with OpenCart 2.0.2.x - 2.0.3.x

- Fixed: Restore Settings doesn't work with files using Windows line endings
- Fixed: "Undefined index: postcode" and "city" error messages
- Fixed: "Undefined index: shipping" error message
- Fixed: "Undefined index: title_en" error message
- Fixed: "Undefined index: comparison" error message
- Fixed: "Undefined index: member" error message
- Fixed: charges do not work when only gift vouchers are in the cart
- Fixed: "City" rules not working when spaces are entered after commas
- Fixed: issues with "none of the" comparisons in some rare circumstances
- Fixed: the "Shipping Cost" option for "Total Value" rule was missing
- Fixed: blank charges appearing for mixed formulas, like SUM(AVG(A), B)
- Fixed: multiple "Shipping Rate" rules aren't combined using OR logic
- Fixed: Distance rules have issues with addresses using HTML-encoded letters

- Updated: auto-complete fields are now not attached until they are clicked, which should increase page loading speed even further
- Updated: Group and Sort Order fields now allow for 2 alphanumeric characters
- Updated: negative Group values now disable charges instead of empty ones
- Updated: Simple Charge types can now specify percentage costs using %
- Updated: multiple "Product Group" rules are now combined using AND logic

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Oct 09, 2015 2:21 am

Updated to v210.1

Release Notes:

- Added: compatibility with OpenCart 2.1.0.x
- Added: ability to use driving distances for "Distance" rules
- Added: support for the OpenCart 2.0 geocode in System > Settings
- Added: "Price" charge type, for brackets based on each product's price
- Fixed: partially deleted charges can still affect the settings
- Fixed: Rule Sets did not display in the admin according to Sort Order
- Fixed: bug when mixing Product Group rules with other product criteria
- Fixed: "Tax Class" rules not always working properly
- Updated: MIN and MAX formulas now pick the correct title from the eligible charge titles

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat Jan 30, 2016 10:02 am

Updated to v210.2

Release Notes:

- Added: "Country" and "Zone" rules, for quicker setup without using geo zones
- Added: "Cheapest Product Total" option for "Total Value" rules, allowing you to give a percentage charge on only the cheapest product in the cart
- Added: help text clarifying that multiple Date/Time rules use AND logic
- Added: "Reward Points" rule option to check customer's current reward points
- Added: "Location Comparison" rules can now be based on the location set by the Geo IP Tools (http://www.opencartx.com/geo-ip-tools) extension

- Fixed: "Array to string conversion" error for automatic backup generation
- Fixed: admin panel getting caught in an infinite loop when a category was assigned itself as a parent in Catalog > Categories
- Fixed: bugs with "Past Orders" rules when no database data was present
- Fixed: extension not working when editing orders in some OpenCart versions
- Fixed: taxed charges display incorrectly in OpenCart 1.5 versions

- Removed: "Sort Order" fields from Product Groups and Rule Sets -- they are now sorted by the "Name" field
- Updated: as per user request, Testing Mode messages are now in their own tab in the extension, instead of in the general Error Log
- Updated: instructions.txt file to include directions for updating

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sun Mar 06, 2016 6:38 am

Updated to v220.1

Release Notes:

- Added: compatibility with OpenCart 2.2.0.x
- Added: ability to specify UK postcodes using just the 1 or 2-letter prefix
- Fixed: "Undefined variable: text_geo_ip_tools_location" error
- Fixed: blank charges appearing for inactive Charge Combinations
- Fixed: multiple Coupon rules do not work right when used together
- Fixed: Simple Charges not working with Other Product Data rules

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Jun 03, 2016 3:05 am

Updated to v220.2

Release Notes:

- NOTE: If using "Attribute" rules, you'll need to redo those after updating. If you have questions about how to do this, or have a complex rule setup, please contact me for support.

- Added: ability to require Groups for a Charge Combination to be active
- Added: "Average Total" comparison for Past Orders rules
- Added: MULT() formula for Charge Combinations
- Added: "Custom Field" rule, for comparison against OpenCart custom fields
- Added: "Address" rule, for comparison against the Address Line 1 field

- Fixed: admin Charge Combination sorting was not using natural sorting
- Fixed: "is is" typo in a few Testing Mode messages
- Fixed: MAX() and MIN() combinations don't always display prices correctly if using Combined Titles With Prices
- Fixed: "Undefined index: vqmod" error when using Backup Settings
- Fixed: occasional "Unknown column 'name'" error for Customer rules

- Updated: added a work-around for a bug in the OpenCart 2.2 order editor
- Updated: "Add Charge" button is now much faster when there are a lot of rows
- Updated: charges using "Total Value = Total" rules will now affect other charges that occur after them
- Updated: guest customers no longer qualify for Past Orders rules
- Updated: Attribute rules now work like Option rules, where you can specify the attribute and then the eligible attribute value

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat Oct 22, 2016 1:43 am

Updated to v230.1

Release Notes:

- NOTE: This version is fully compatible with OpenCart 2.3.0.x by using the OpenCart 2.3 Extension Compatibility Fix, which is provided for free with the purchase of the extension

- Added: "Manufacturer, "Order Amount", "Order Status", and "Product" comparisons for Past Orders rules
- Added: ability for Product Groups to include all sub-categories of category members without adding each one individually

- Fixed: 0.00 charges were incorrectly appearing
- Fixed: "Other Product Data" rules could have issues if the value being looked for was 0
- Fixed: "Address is not" rules were not working properly
- Fixed: Distance and Postcode rules had erroneous Testing Mode messages when using an "is not" comparison
- Fixed: issues with Coupon and Gift Voucher rules on 2.2 and 2.3

- Updated: Rules are now sorted according to rule type
- Updated: two-character postcodes should now work for Canada
- Updated: Testing Mode messages now show enabled charges, as well
- Updated: Product Group rules using "not", "only any", or "only all" comparisons with category members should no longer be affected by cross-categorized products

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Wed Mar 22, 2017 2:13 am

Updated to v230.2

Release Notes:

- Added: caching for retrieving extension settings
- Added: "Average Order Amount" comparison for Past Orders rules

- Fixed: Product Criteria rules were not always evaluating correctly if the cart had no products, but had a gift voucher in it
- Fixed: Product Groups using "not" comparisons with category members needed a small change to work correctly with cross-categorized products
- Fixed: issues when "Shipping Rate is" rules were combined with "Shipping Rate is not" rules, or multiple "is not" rules were used together
- Fixed: "Undefined index: title" error when using negative Group values

- Updated: "Total Value = Cheapest Product Total" rule can now be used in conjunction with other Total Value rules

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat Jun 24, 2017 1:44 am

Updated to v300.1

Due to limitations in the opencart.com license system, a new extension was released on opencart.com for OpenCart 3.0 compatibility. However, free updates are still available for anyone that has purchased the extension in July 2016 or after --- just contact Clear Thinking here: http://www.getclearthinking.com/contact

Release Notes:
- NOTE: If using "Total Value = Shipping Cost" rules, you'll need to replace those with the new "Shipping Cost" rule. You can contact me if you have any questions about how to do that.

- Added: compatibility with OpenCart 3.0.0.x
- Added: native compatibility with OpenCart 2.3.0.x (You can remove the compatibility fix, or keep using it if you want to)
- Added: "Shipping Cost" as a type of bracket charge
- Added: dedicated "Shipping Cost" rule in the Order Criteria section

- Fixed: "Price" type charges were not charging their cost per product

- Removed: compatibility with OpenCart 1.5.x and 2.0.0.0 for new versions
- Removed: "Total Value = Shipping Cost" rule option

- Updated: [total] shortcodes are now always rounded to 2 decimal places
- Updated: improved caching for extension settings
- Updated: backup files no longer have an EXTENSION column, so you'll need to remove that from old backup files if you plan on restoring from them

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat Oct 21, 2017 1:57 am

Updated to v302.1

Release Notes:

- Added: ability to charge tax based on the highest product tax rate
- Added: "Buy X For $Y" charge type, which lets you charge a certain amount when customers purchase a certain number of products
- Added: "Buy X Get Y Z% Off" bracket type, which lets you give a percentage off certain items if the customer purchases a qualifying number of items

- Confirmed: compatibility with OpenCart 3.0.2.x
- Fixed: "Total Value = Non-Discounted Sub-Total" rules for Discounts
- Removed: "Total Value = Cheapest Product Total" rule
- Updated: Charge Combinations with multiple tax_class_id's now choose the tax_class_id with the highest tax rate

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Thu Jan 04, 2018 6:27 am

Updated to v302.2

Release Notes:

- Added: new option for "Total Value" rules to use product base prices, ignoring any option prices

- Fixed: "[] operator not supported for strings" error when using PHP 7.1+

- Updated: improved the tax_class_id picking for Charge Combinations
- Updated: Cart/Item Criteria rules involving weight now use the product base weight instead of the total weight
- Updated: if using Charge Combinations, unused Group values from the Charges tab will now show up on their own, meaning you no longer need to specify a Charge Combination to activate a single Charge

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat May 26, 2018 5:20 am

Updated to v302.3

Release Notes:

- Added: new "Product Count" charge type, to get the number of products in the cart, ignoring the quantity of any of those products

- Fixed: deleting things when using auto-saving wasn't working in OpenCart 3.0
- Fixed: issue with "Total Value = Total" rules on some OpenCart 3 stores
- Fixed: issue with "Total Value = Total" rules when also using the Intermediate Order Total extension
- Fixed: removing members of Product Groups still deleted them even with auto-saving turned off
- Fixed: issues when using Groups Required for Charge Combinations, due to the update for unused Charges in the last update
- Fixed: "not" and "none of the" comparisons didn't work with empty carts

- Updated: "Buy X Get Y Z% Off" type discounts now use smart calculations, so that it's not just the Y cheapest items that get discounted, but the appropriate items based on the number in the cart

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Thu Oct 25, 2018 4:40 am

Updated to v302.4

Release Notes:

- Added: customer name, customer_id, IP address, and billing/shipping addresses are now recorded to the Testing Mode log for each test
- Added: ability to set a Google Maps API Key for distance rules (make sure to save the new setting if you're using distance calculations)
- Added: ability to base charges on whether a gift voucher is in the cart

- Fixed: "Cannot pass parameter 1 by reference" error
- Fixed: "Undefined index: heading_title" error when a payment or shipping method does not have a title in its language file like it's supposed to

- Updated: calls to Google Maps API now use curl
- Updated: distance calculations now occur after all other rules have been evaluated, to avoid unnecessary API calls to Google Maps
- Updated: "Coupon" rules are now case-insensitive

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat Dec 07, 2019 4:41 am

Updated to v303.1

Release Notes:

- NOTE: The 1.5.x version is now feature-comparable with the 2.x/3.x version. The extension uses a vQmod file to accomplish this, which has been tested but might have some issues in the initial version. If you're using OpenCart 1.5.x and have any trouble with it, please contact Clear Thinking.

- NOTE: The "Customer" rule has been replaced by the "Customer Data" rule in this version. This rule is more flexible since it can compare against many different customer fields, but it does not include an auto-complete field any more. To replace your old "Customer" rules, you'll need to add a new rule like "Customer Data: email = (the customer's email)", and manually enter the customer's e-mail address instead. Your current "Customer" rules will not be converted automatically. You can recreate your setup using the new rules, or contact Clear Thinking if you need assistance.

- Added: full compatibility with OpenCart 1.5.x again
- Added: ability to use { and } for Flat Charge calculations
- Added: "Ignore Specials" rule to ignore all products with a Special or Discount price for the charge
- Added: "Recurring Profile" rule to limit a charge to products in the cart that have a particular recurring profile applied (or not applied) to them

- Confirmed: compatibility with OpenCart 3.0.3.x

- Fixed: for total comparisons in different currencies, the main store's default currency wasn't being utilized correctly
- Fixed: "City" rules weren't trimming the city name the customer entered
- Fixed: the Google API key wasn't being trimmed in the API request to Google
- Fixed: "Coupon" rules weren't being compared case-insensitively
- Fixed: "Custom Field" rules weren't checking for a blank value correctly
- Fixed: "Indirect modification of overloaded property: $row" error
- Fixed: using :: to separate ranges for Postcode type charges wasn't working
- Fixed: OpenCart wasn't respecting the sorting of Charge Combinations
- Fixed: "Buy X Get Y Z% Off" wasn't working with "Sub-Total Ignoring Options"

- Updated: Testing Mode now has a button to download the log when over 1 MB
- Updated: Testing Mode log is now cleared automatically when over 50 MB
- Updated: "Customer" rule has been replaced by "Customer Data" rule
- Updated: a Charge Combination with a single title will no longer show the single price if "Combined Title, With Prices" is chosen

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat Sep 19, 2020 1:23 am

Updated to v303.2

Release Notes:

- Added: "L + W + H" rule, to calculate the sum of all dimensions of a product
- Added: "Price" rule, to compare individual product prices (ignoring the quantity of the item in the cart)
- Added: ability to negate "Customer Data" and "Option" rules by adding the ! character to the beginning of the entered value
- Added: "Filters" rule, and Filters be added to "Product Group" rules now

- Fixed: "Postcode" rules didn't work if the value was blank
- Fixed: Flat Charges with { and } weren't working correctly
- Fixed: Charge Combinations using "Single Title" would strip out everything after a parenthesis "(" character
- Fixed: "Customer Data" rules weren't working properly
- Fixed: "Reward Points applied to cart" rules weren't checking for 0 points
- Fixed: "Past Orders: Days" rules had an issue with ranges that started at 0
- Fixed: "Address" rules didn't work if the value was blank
- Fixed: "Undefined variable: highest_tax_class" error

- Updated: improved the Google Maps error messages to be more verbose
- Updated: Product Criteria rules now have a more clear Testing Mode message
- Updated: products that do not qualify for "Product Group" rules will now be taken out of the calculated total when there is a "Total Value = Total" rule
- Updated: "Custom Field" rules now support ranges
- Updated: added a fix for a rare tax_class_id issue when using certain quick checkouts and Charge Combinations
- Updated: Charge Combinations with invalid Group members will no longer be displayed with a 0.00 cost

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Wed Sep 22, 2021 2:06 am

Updated to v303.3

Release Notes:

- NOTE: The "Setting Override" rule for "config_address" has been replaced with a dedicated "Origin" rule, used to set the origin address for distance calculations. You will need to update your configuration to use this new rule after updating. To avoid losing the addresses you've input, make sure you use the Backup Settings button before updating. If you want help converting your rules over, please contact Clear Thinking.

- Added: "Origin" rule to replace the "Setting Override: config_address" rule
- Added: ability to set a time within a "Date" rule, to have the cutoff point be on a specific date + time (e.g. 2021-02-26 15:00)
- Added: "Quantity of Product" rule, to require a certain quantity of a specific product in the cart, without affecting other calculations
- Added: "Quantity of Group" rule, to require a certain quantity of a specific product group, without affecting other calculations
- Added: "Category" comparison for "Past Orders" rules
- Added: "Date" comparison for "Past Orders" rules

- Fixed: "Stock" rules were not factoring in option stock levels
- Fixed: charges with empty Group values would sometimes not appear if using Charge Combinations
- Fixed: rules with "of every item" comparisons were not ignoring products deemed ineligible by "Product Group" rules
- Fixed: "Product Group" rules using "not" or "none of the" comparisons could count non-qualifying products if other "Product Group" rules were present
- Fixed: products with recurring profiles were ignored if multiples of the same product (but with different profiles) were in the cart
- Fixed: "Undefined index: title" error when using "Combined Title, No Prices"
- Fixed: bug introduced in the last version related to the new "Filter" rules, for OpenCart versions older than 1.5.5
- Fixed: issues when using 0 for "Past Orders: Days" rules
- Fixed: issues with "Past Orders" rules for "Coupon Used" and "Coupon Unused"
- Fixed: issues with "Ignore Specials" rules for products with Discounts
- Fixed: issues with "Custom Field" rules when the value was left blank
- Fixed: "Undefined index: combination" when settings have never been manually saved and Charge Combinations are not being used
- Fixed: very rare "Undefined offset: 0" error related to Charge Combinations

- Updated: Cart/Item Criteria rules involving length, width, or height now use the product base value instead of the total value based on quantity
- Updated: when using "Combined Title, With Prices" and a MULT() formula, the cost for the multiplied field will now be shown as a percentage
- Updated: "Option" rules no longer support multiple comma-delimited values, so that option values with commas in them work properly
- Updated: account-based "Custom Field" values now work for guest customers
- Updated: "Buy X For $Y" discounts will now use the most expensive qualifying items to calculate the discount, instead of the least expensive

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 176 guests