Page 2 of 2

Re: [UPDATED] Restrict Shipping Methods

Posted: Thu Apr 30, 2015 4:15 am
by Johnathan
Updated to v202.1

Release Notes:

- Added: the full category path is now shown in auto-complete fields
- Confirmed: compatibility with OpenCart 2.0.2.x
- Fixed: extension Status setting doesn't work properly
- Fixed: "Undefined index: shipping" error message
- Fixed: "Undefined index: member" error message
- Fixed: "City" rules not working when spaces are entered after commas
- Fixed: issues with "none of the" comparisons in some rare circumstances
- Fixed: "Array to string converstion" error for payment/shipping method rules
- Fixed: restrictions do not work when only gift vouchers are in the cart
- Fixed: "Array to string conversion" when using both "is" and "is not" rules for Shipping Rates
- Updated: auto-complete fields are now not attached until they are clicked, which should increase page loading speed even further
- Updated: added support for Individual Shipping compatibility

Re: [UPDATED] Restrict Shipping Methods

Posted: Wed May 06, 2015 11:33 pm
by Johnathan
Updated to v202.2

Release Notes:

- Fixed: auto-complete fields not working correctly
- Fixed: "Backup Settings" not working correctly
- Updated: minor visual fixes

Re: [UPDATED] Restrict Shipping Methods

Posted: Wed Sep 02, 2015 3:55 am
by Johnathan
Updated to v203.1

Release Notes:

- Added: auto-saving can now be turned on or off, directly in the admin panel
- Added: Distance Units setting, to more easily switch between miles and km
- Confirmed: compatibility with OpenCart 2.0.3.x
- Fixed: title matching issues when rates include special characters like ™ or parenthesized information like weight
- Fixed: Restore Settings doesn't work with files using Windows line endings
- Fixed: deleted restrictions sometimes still affect the restriction process
- Fixed: Distance rules have issues with addresses using HTML-encoded letters
- 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

Re: [UPDATED] Restrict Shipping Methods

Posted: Fri Oct 09, 2015 2:07 am
by Johnathan
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

Re: [UPDATED] Restrict Shipping Methods

Posted: Wed Feb 03, 2016 4:50 am
by Johnathan
Updated to v210.2

Release Notes:

- Added: "Country" and "Zone" rules, for quicker setup without using geo zones
- Added: help text clarifying that multiple Date/Time rules use AND logic
- 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
- 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

Re: [UPDATED] Restrict Shipping Methods

Posted: Sun Mar 13, 2016 6:01 am
by Johnathan
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: "is is" typo in a few Testing Mode messages

Re: [UPDATED] Restrict Shipping Methods

Posted: Fri Jun 03, 2016 4:24 am
by Johnathan
Updated to v220.2

Release Notes:

- Added: "Average Total" comparison for Past Orders rules
- Fixed: "is is" typo in a few Testing Mode messages
- Fixed: "Undefined index: vqmod" error when using Backup Settings
- Fixed: issues with "City" 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

Re: [UPDATED] Restrict Shipping Methods

Posted: Sat Oct 22, 2016 2:31 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

- Added: Payment Method rule, since so many people are using custom checkouts these days that do not require the shipping method to be chosen before the payment method
- Added: clearer text to help users understand that restrictions determine when methods are ENABLED
- Added: ability for Product Groups to include all sub-categories of category members without adding each one individually

- Fixed: Distance and Postcode rules had erroneous Testing Mode messages when using an "is not" comparison

- Removed: Past Orders rule type, since it is now an Ultimate-only feature due to the functionality being expanded (Note: if you use Past Orders rules but still want this update, please contact me at the above e-mail address)

- 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

Re: [UPDATED] Restrict Shipping Methods

Posted: Wed Mar 22, 2017 3:27 am
by Johnathan
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: restrictions with empty Names were not properly being disabled
- Fixed: rule violations were still being logged to the error log, rather than the Testing Mode log
- Fixed: issue with "Shipping Rate" rules in OpenCart 2.3's shipping estimator

Re: [UPDATED] Restrict Shipping Methods

Posted: Thu Jun 29, 2017 6:16 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:
- 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.

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

- 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] Restrict Shipping Methods

Posted: Wed Oct 04, 2017 1:08 am
by Johnathan
Updated to v302.1

Release Notes:

- Confirmed: compatibility with OpenCart 3.0.2.x
- Fixed: "Total Value = Non-Discounted Sub-Total" rules for Discounts

Re: [UPDATED] Restrict Shipping Methods

Posted: Thu Jan 04, 2018 6:00 am
by Johnathan
Updated to v302.2

Release Notes:

- 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

Re: [UPDATED] Restrict Shipping Methods

Posted: Sat May 26, 2018 2:07 am
by Johnathan
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: "not" and "none of the" comparisons didn't work with empty carts
- Fixed: compatibility issue with Individual Shipping

Re: [UPDATED] Restrict Shipping Methods

Posted: Thu Oct 25, 2018 1:14 am
by Johnathan
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)

- 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

Re: [UPDATED] Restrict Shipping Methods

Posted: Fri Dec 06, 2019 1:51 am
by Johnathan
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.

- Added: full compatibility with OpenCart 1.5.x again

- 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] Restrict Shipping Methods

Posted: Sat Sep 19, 2020 3:56 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)

- Fixed: "Postcode" rules didn't work if the value was blank
- Fixed: "Array to string conversion" errors for "Shipping rate is not" rules

- 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