Post by Johnathan » Wed May 06, 2015 4:13 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

Restrict modules, order totals, shipping methods, payment methods, or the checkout process! You can create restrictions based on a wide variety of criteria, and set a custom message to be displayed when restricting the checkout.

  • Upload and go — no core file modifications are necessary. The extension utilizes vQmod for OpenCart 1.5.x, ocMod for OpenCart 2.x/3.0, and Event hooks for OpenCart 4.0
  • 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".
  • Restrict modules, order totals, shipping methods, and payment methods, as as well as the checkout process (and display a custom message).
  • Create restrictions quickly and easily using the clean admin interface and intuitive rules system. Available rule types include:
    - 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 data
  • Build rule sets to apply multiple rules to a restriction at once. Re-use the same rule set to quickly create the restrictions you need.
  • Group products, categories, manufacturers, options, and attributes together however you want to create Product Groups. These groups can then be used to determine when restrictions apply.
  • Use the included Testing Mode to determine why restrictions are not working as expected on the front-end, helping to debug complex rule interactions.
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 » Wed Sep 02, 2015 4:24 am

Updated to v203.1

Release Notes:

- Added: auto-saving can now be turned on or off, directly in the admin panel
- 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.3.x

- Fixed: Restore Settings doesn't work with files using Windows line endings
- Fixed: "implode() and array_merge()" errors
- Fixed: "Call to undefined method: calculateBrackets()" error
- Fixed: multiple "Shipping Rate" rules aren't combined using OR logic
- Fixed: deleted restrictions sometimes still affect the restriction process
- Fixed: Distance rules have issues with addresses using HTML-encoded letters
- Fixed: Shipping Rate rules don't work when restricting shipping extensions
- Fixed: compatibility issues with Individual Shipping

- Updated: Sort Order fields now allow for 2 alphanumeric characters
- Updated: moved edit slightly to avoid other mods interfering
- 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:23 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
- Fixed: partially deleted restrictions 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

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Tue Feb 02, 2016 6:21 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
- Added: restrictions are now checked at the shipping/payment method steps of the checkout process, which means location restrictions can stop the checkout process mid-checkout

- 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: textual error in the tooltip for the "Checkout Message" setting
- Fixed: restrictions for Modules always applying with an empty cart
- Fixed: restrictions for Modules not working OpenCart 2.x 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 » Thu Mar 10, 2016 5:05 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: multiple Coupon rules do not work right when used together
- Updated: extensions that appear in Modules but aren't actually modules now are hidden from the list of Modules

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:02 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: "Average Total" comparison for Past Orders rules
- Added: "Custom Field" rule, for comparison against OpenCart custom fields
- Added: "Address" rule, for comparison against the Address Line 1 field

- Fixed: "is is" typo in a few Testing Mode messages
- Fixed: "Undefined index: vqmod" error when using Backup Settings
- Fixed: occasional "Unknown column 'name'" error for Customer rules
- Fixed: issues with "City" rules
- Fixed: issues with the error messages for "Option" rules

- Updated: added a work-around for a bug in the OpenCart 2.2 order editor
- Updated: "Add Restriction" button is now much faster with lot of rows
- 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
- Updated: if the Voucher line item is restricted, the extension no longer restricts the Voucher purchasing page

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:40 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 Status", and "Product" comparison for Past Orders rules
- Added: ability for Product Groups to include all sub-categories of category members without adding each one individually

- Fixed: "Other Product Data" rules could have issues if the value being looked for was 0
- Fixed: vouchers were incorrectly triggering Checkout restrictions when they were the only thing in the cart
- 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: Product Group rules using "not", "only any", or "only all" comparisons with category members should no longer be affected by cross-categorized products
- Updated: HTML is now supported in the Message field

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:08 am

Updated to v230.2

Release Notes:

- Added: caching for retrieving extension settings

- 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: restrictions with empty Names were not properly being disabled
- Fixed: issues when "Shipping Rate is" rules were combined with "Shipping Rate is not" rules, or multiple "is not" rules were used together
- Fixed: issue with "Shipping Rate" rules in OpenCart 2.3's shipping estimator

- 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 » Thu Jun 29, 2017 6:28 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: The extension now uses ocMod instead of vQmod, as required by the OpenCart cloud. If upgrading from a previous version, make sure to delete the old vQmod file, and then click "Refresh" in Extensions > Modifications.

- 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: dedicated "Shipping Cost" rule in the Order Criteria section

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

- Updated: mod file is now ocMod only, as required by OpenCart 3.0
- 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 Sep 30, 2017 12:39 am

Updated to v302.1

Release Notes:

- 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 since it's unnecessary

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:29 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+
- Fixed: • appearing in the Testing Mode log instead of •

- Updated: Cart/Item Criteria rules involving weight now use the product base weight instead of the total weight

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:25 am

Updated to v302.3

Release Notes:

- 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: "Undefined index: heading_title" error in the admin panel
- Fixed: "not" and "none of the" comparisons didn't work with empty carts

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:42 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 restrictions 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 3:25 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: "Ignore Specials" rule to ignore all products with a Special or Discount price for the restriction
- Added: "Recurring Profile" rule to limit a restriction to products in the cart that have a particular recurring profile applied (or not applied)

- 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

- 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

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:20 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
- Added: support for Journal 3's custom checkout (for Checkout restrictions)
- Added: the checkout page will ignore restrictions if any of them contain location-based rules, to allow customers to potentially change their location after being restricted

- Fixed: "Postcode" rules didn't work if the value was blank
- 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: compatibility with later versions of Individual Shipping
- Fixed: "Array to string conversion" errors for "Shipping rate is not" rules
- Fixed: compatibility issues with Infinite Module Positions

- 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: improved compatibility with MarketInSG's quick checkout
- Updated: added some code to prevent infinite loops caused by poorly coded Order Total extensions

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:09 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: support for xtensions's "Ajax Best Checkout"
- 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: 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: rule" error when a restriction has both a blank name (to disable it) and no rules
- 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: a few compatibility issues with popular quick checkouts

- 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: "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: speed improvements for sites with many extensions installed

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Jul 29, 2022 1:50 am

Updated to v2022-7-28

Release Notes:

- NOTE: Starting with this release, version numbers will now be based on the date the new version is released.

- NOTE: This version changes "Rule Sets" to allow you to require ALL rules from the set or ANY rule from the set. If you use Rule Sets at all, make sure you click "Save" after updating to save the new version of the setting.

- Added: compatibility with OpenCart 4.0.0.x
- Added: improvements to the Testing Mode log
- Added: ability to search for products in the auto-complete field by Model
- Added: new "Sub-Total of Only Options" choice for "Total Value" rules, which will look only at qualifying options for total-based comparisons

- Fixed: copying rows when using auto-saving would not copy every setting
- Fixed: bug with the change to Cart/Item Criteria rules involving dimensions
- Fixed: "empty needle" error when leaving "Shipping Rate" rules blank
- Fixed: hyphenated values could evaluate incorrectly in "Customer Data" rules

- Updated: reloading the page will now automatically select the same tab
- Updated: improved compatibility with MarketInSG's quick checkout

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Tue May 02, 2023 6:25 am

Updated to v2023-5-01

Release Notes:

- Added: compatibility with OpenCart 4.0.1.x - 4.0.2.x
- Added: new "Check For Updates" button with one-click update functionality
- Added: "is" and "is not" comparisons for "Date" rules
- Added: "Only Specials" rule to apply restrictions to only products in the cart with Special or Discount prices
- Added: compatibility with SO One-Page Checkout

- Fixed: problems when tooltips were disabled in OpenCart 4.0 versions
- Fixed: "Automatic conversion of false to array" error in PHP 8.1
- Fixed: issue with Checkout restrictions when only purchasing gift vouchers
- Fixed: lowercase/uppercase bugs with certain "Customer Data" rules
- Fixed: "Undefined index" and "array_intersect" errors related to the "Ignore Specials" rule
- Fixed: "Undefined index: module_extensions" error caused by previous update
- Fixed: "Undefined variable: extension_route" error caused by previous update

- Updated: better guest detection for certain OpenCart versions
- Updated: PayPal Checkout's "Pay Later" option is now properly disabled

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Tue Dec 05, 2023 7:14 am

Updated to v2023-12-04

Release Notes:

- Added: ability to enable/disable the settings being cached on the front-end
- Added: "Product Count" comparison for "Past Orders" rules

- Fixed: billing address detection was not always correct in OpenCart 4.0.2.x
- Fixed: "Undefined index: Choose rule type" error when saving a blank rule
- Fixed: issues caused on the front-end related to the extension caching its settings when OpenCart was set to use a non-file caching system
- Fixed: occasional page loading delay caused by using "Coupon discount" rules
- Fixed: issue with Checkout restrictions when only purchasing gift vouchers
- Fixed: bug when using "Past Orders: Category" or "Manufacturer" rules

- Updated: the Testing Mode log size check now happens on the front-end rather the admin panel, to more reliably stop log files from growing over 50 MB
- Updated: only the first 5 digits of the zip code is now considered when evaluating "Postcode" rules when the country code is US

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 49 guests