Page 1 of 1
[UPDATED] Rule-Based Banners
Posted: Tue Oct 20, 2015 3:46 am
by Johnathan
Current Version: v303.2 (
release notes)
OpenCart Versions: 1.5.2.x - 3.0.3.x
To Purchase: Visit
OpenCartX or
opencart.com
This extension lets you create banners that display based on a variety of different rules, including cart criteria, date/time criteria, location criteria, and order criteria. The banner styling and HTML content can be set directly within the admin panel.
- Upload and go — modifies no core files.
- Set the banner background, border, and spacing directly in the admin panel.
- Allow the banner to be closed by the customer, or set it to always appear.
- Create banners 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
- Location Criteria: city, country, distance, geo zone, location comparison, postcode, zone
- Order Criteria: currency, customer group, language, store
- Build rule sets to apply multiple rules to a single banner at once. Re-use the same rule set for different banners to quickly create the ones you need.
- Use the included Testing Mode to determine why banners are not appearing on the front-end, helping to debug complex rule interactions.
- Use the Infinite Module Positions extension to place banners in non-standard locations, such as within one of the checkout steps, or within the middle of the cart page.

Re: [UPDATED] Rule-Based Banners
Posted: Fri Nov 20, 2015 12:55 am
by Johnathan
Updated to v210.2
Release Notes:
- Fixed: rules from all modules appearing when editing a module
- Fixed: text display for totals not always rounding to 2 decimal places
- Updated: the extension now changes the column type in the "module" and "setting" tables to MEDIUMTEXT upon installation, so more data can be stored
Re: [UPDATED] Rule-Based Banners
Posted: Fri Jan 01, 2016 4:00 am
by Johnathan
Updated to v210.3
Release Notes:
- Fixed: OpenCart sometimes loads banners with no settings, causing errors
- Fixed: issues loading modules on 1.5 versions
- Fixed: Rules in the "Banner Settings" tab can't be deleted in 1.5 versions
Re: [UPDATED] Rule-Based Banners
Posted: Wed Mar 23, 2016 1:37 am
by Johnathan
Updated to v220.1
Release Notes:
- NOTE: You will need to resave your modules after updating to this version
- Added: compatibility with OpenCart 2.2.0.x
- Added: "Country" and "Zone" rules, for quicker setup without using geo zones
- Added: "Location Comparison" rules can now be based on the location set by the Geo IP Tools (
www.opencartx.com/geo-ip-tools) extension
- Added: ability to specify UK postcodes using just the 1 or 2-letter prefix
- 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
- Updated: Summernote to 0.8.1
Re: [UPDATED] Rule-Based Banners
Posted: Fri Jun 03, 2016 3:39 am
by Johnathan
Updated to v220.2
Release Notes:
- Fixed: close button doesn't work in Firefox
- Fixed: "is is" typo in a few Testing Mode messages
Re: [UPDATED] Rule-Based Banners
Posted: Sat Oct 22, 2016 2:27 am
by Johnathan
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
- Fixed: module instances were deleted when saving new ones on 1.5 versions
- Fixed: Distance and Postcode rules had erroneous Testing Mode messages when using an "is not" comparison
- Updated: Rules are now sorted according to rule type
- Updated: two-character postcodes should now work for Canada
Re: [UPDATED] Rule-Based Banners
Posted: Wed Mar 22, 2017 2:30 am
by Johnathan
Updated to v230.2
Release Notes:
- Fixed: Rule Sets were not working correctly
- Fixed: "Undefined index: country_array" error
- Fixed: "Fatal error: 'continue' not in the 'loop' or 'switch' context"
Re: [UPDATED] Rule-Based Banners
Posted: Fri Jun 30, 2017 4:32 am
by Johnathan
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:
- 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: info in the admin page to see which layouts the module is assigned to
- Fixed: install() function wasn't getting run in OpenCart 2.3
- Fixed: issues with inserting images using the Summernote editor
- Removed: compatibility with OpenCart 1.5.x and 2.0.0.0 for new versions
- 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
Re: [UPDATED] Rule-Based Banners
Posted: Sat Oct 07, 2017 3:21 am
by Johnathan
Updated to v302.1
Release Notes:
- NOTE: Starting with this version, all template files will use the .twig extension. These will still work completely fine on OpenCart 2.x versions, and still use the .tpl-type syntax. However, if you've made edits to the .tpl file, you'll need to port those edits over to the new file.
- Added: ability to display banner as a pop-up
- Confirmed: compatibility with OpenCart 3.0.2.x
- Fixed: "Total Value = Non-Discounted Sub-Total" rules for Discounts
Re: [UPDATED] Rule-Based Banners
Posted: Sat May 26, 2018 2:37 am
by Johnathan
Updated to v302.2
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: images in sub-folders in the Image Manager were not always inserted correctly for some OpenCart versions
- Updated: Cart/Item Criteria rules involving weight now use the product base weight instead of the total weight
Re: [UPDATED] Rule-Based Banners
Posted: Thu Oct 25, 2018 1:18 am
by Johnathan
Updated to v302.3
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)
- Fixed: "Cannot pass parameter 1 by reference" error
- 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
Re: [UPDATED] Rule-Based Banners
Posted: Sat Dec 07, 2019 1:39 am
by Johnathan
Updated to v303.1
Release Notes:
- 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
- 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
Re: [UPDATED] Rule-Based Banners
Posted: Sat Sep 19, 2020 3:55 am
by Johnathan
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: "Additional CSS" setting to more easily set custom CSS styling
- Fixed: "Postcode" rules didn't work if the value was blank
- Fixed: Testing Mode log wasn't being recorded
- Fixed: the close button wouldn't work if multiple banners were on the page
- Fixed: the modal overlay was still getting loaded for pop-up banners even if they had no content
- Updated: improved the Google Maps error messages to be more verbose