Post by Johnathan » Tue Oct 20, 2015 4:04 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

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.
  • Take advantage of the built-in extension updater. All that's required is to enter your current license key and click "Update".
  • 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
    - 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 method, shipping rate, store
    - Product Criteria: attribute, attribute group, category, manufacturer, option, product, user-created product group, or any other product column
  • 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.


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 Nov 20, 2015 1:04 am

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
- Fixed: admin panel getting caught in an infinite loop when a category was assigned itself as a parent in Catalog > Categories
- Updated: the extension now changes the column type in the "module" and "setting" tables to MEDIUMTEXT upon installation, so more data can be stored

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Jan 01, 2016 3:56 am

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
- Fixed: "Undefined variable: text_within_customers_account" error
- Fixed: empty Product Groups occasionally cannot be deleted

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Wed Mar 23, 2016 1:39 am

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: help text clarifying that multiple Date/Time rules use AND logic
- 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
- Added: "Reward Points" rule option to check customer's current reward points

- Fixed: bugs with "Past Orders" rules when no database data was present
- Fixed: multiple Coupon rules do not work right when used together
- Fixed: "Cannot use object of type stdClass as array" error

- 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

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:16 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: close button doesn't work in Firefox
- Fixed: occasional "Unknown column 'name'" error for Customer rules
- Fixed: bugs with Discount rules

- 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:51 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: ability to change Product Criteria rules to make the banner appear only on the corresponding category/manufacturer/product page, instead of restricting the banner from appearing based on the products in the cart
- Added: "Manufacturer, "Order Status", and "Product" comparison for Past Orders rules

- Fixed: module instances were deleted when saving new ones on 1.5 versions
- 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: 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:20 am

Updated to v230.2

Release Notes:

- 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: Product Groups and Rule Sets were not working correctly
- Fixed: issues when "Shipping Rate is" rules were combined with "Shipping Rate is not" rules, or multiple "is not" rules were used together

- Updated: "Total Value = Cheapest Product Total" rule can now be used in conjunction with other Total Value rules
- Updated: if using "Display banner when visiting the relevant category/manufacturer/product page", URLs without manufacturer_ids but with product_ids will still load the right manufacturer_id

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Jun 30, 2017 5:03 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:
- 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
- Added: "Shipping Cost" rule in the Order Criteria section

- Fixed: install() function wasn't getting run in OpenCart 2.3
- Fixed: issues with inserting images using the Summernote editor
- Fixed: quantities used in formulas were being rounded to 2 decimals

- Removed: compatibility with OpenCart 1.5.x and 2.0.0.0 for new versions

- Updated: [total] shortcodes are now always rounded to 2 decimal places
- 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 07, 2017 3:26 am

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
- Fixed: banners using Category rules sometimes appeared on the wrong pages if using "Display on the relevant page"
- Fixed: "Undefined index" errors for old text strings no longer needed
- Fixed: "Undefined variable: text_shipping_cost" error

- Updated: banners with Category rules should now work on product pages even if the URL doesn't contain a "path" or "category_id"

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:12 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: Cart/Item Criteria rules involving weight now use the product base weight instead of the total weight
- Updated: banners with Category rules will now work on product pages even if the URL contains a "path", and the product_id is in the relevant category, but the final category_id doesn't match the Category rule

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

Updated to v302.3

Release Notes:

- Added: option for banner to auto-refresh itself when Add to Cart is clicked

- 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: images in sub-folders in the Image Manager were not always inserted correctly for some OpenCart versions
- 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:36 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 banners 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 1:44 am

Updated to v303.1

Release Notes:

- 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: "Ignore Specials" rule to ignore all products with a Special or Discount price for the banner
- Added: "Recurring Profile" rule to limit a banner 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: "on relevant page" checks weren't working properly with an empty cart

- 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:30 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: "Additional CSS" setting to more easily set custom CSS styling

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

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Wed Sep 22, 2021 1:59 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
- Added: ability to set a link for the banner
- Added: "Status" column to main module listing page

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

- 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: the banner's CSS Selector is now shown in the Additional CSS field

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Thu Jul 07, 2022 12:36 am

Updated to v2022-7-06

Release Notes:

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

- 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
- Added: ability to use shortcodes from the "product" database table when the banner is on the product page, such as using [mpn] to display that value

- Fixed: bug with the change to Cart/Item Criteria rules involving dimensions
- Fixed: "Google Maps API Key" setting was missing
- 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: the Summernote editor is now replaced with the Trumbowyg editor
- Updated: "Filter" rules can now check for category page filters

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:18 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 banners to only products in the cart with Special or Discount prices

- Fixed: problems when tooltips were disabled in OpenCart 4.0 versions
- Fixed: "Automatic conversion of false to array" error in PHP 8.1
- Fixed: bug with "Payment Method" rules in OpenCart 4.0 versions
- Fixed: number format issue when using { and } calculations
- Fixed: lowercase/uppercase bugs with certain "Customer Data" rules
- Fixed: "Undefined index" and "array_intersect" errors related to the "Ignore Specials" rule
- Fixed: issue with banners not appearing when initially hidden

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

Updated to v2023-12-04

Release Notes:

- Added: "Product Count" comparison for "Past Orders" rules
- Added: ability to trigger a pop-up banner from a link click

- 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: occasional page loading delay caused by using "Coupon discount" rules

- Updated: images will now resize themselves responsively for small screens
- 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 56 guests