Release Notes:
- NOTE: This version features a redesigned admin panel and setting structure. To update from an older version, upload the new files over the old ones, then visit the admin panel. You will need to re-do most settings in the new version.

- WARNING: This version removes the functionality of mapping lists to different customer groups and stores. If you need this functionality, you can choose to either not update the extension, or upgrade to the new MailChimp Integration Pro extension. (Upgrade pricing is available for MailChimp Integration users.)

- Added: compatibility with OpenCart 2.0.0.x
- Added: ability to send auto-created customers an e-mail with their randomly generated password
- Fixed: MC_LANGUAGE was not properly reading the customer's browser language
- Removed: compatibility with OpenCart versions 1.4.8 - 1.5.0.x
- Removed: URL Code setting, replaced by the store's encryption key
- Updated: moved addCustomer() hook so it occurs after the customer is created
- Updated: MC_LANGUAGE is now set based on the selected OpenCart language, the browser language if that fails, and the store default if that fails
- Updated: all API calls now use version 2.0 of the MailChimp API
- Updated: the module Name field has been split into First and Last fields
- Updated: the module will now pre-fill the customer's email address if the customer is logged in, and display a message if they are already subscribed
- Updated: module text can now be set through the admin panel

Release Notes:
- Added: ability to set the text for the e-mail sent to auto-created customers
- Fixed: pop-up modules don't close properly when set to Enabled
- Fixed: address data is not synced if the postcode is left blank
- Fixed: input fields with apostrophes do not display their value correctly
- Updated: custom merge tag mappings should now update properly for webhook profile updates
- Updated: some minor front-end styling adjustments
- Updated: blank telephone numbers in OpenCart now won't result in setting a telephone number of 000-000-0000 in MailChimp
- NOTE: Interest Groups are also now supported in MailChimp Integration Pro

Release Notes:
- Fixed: auto-created customer e-mails not being sent on OpenCart 2.0+ versions when using SMTP
- Updated: the code to remove customers from other lists when subscribing them to a new list was lost at some point, but is now restored
- Updated: code changes to support MailChimp Integration Pro's new Ecommerce360 functionality

Release Notes:
- Added: compatibility with OpenCart 2.2.0.x
- Added: pop-up modules can now be set to appear automatically on the customer's first visit
- Fixed: errors when a List has no Merge fields associated with it
- Fixed: "Warning: strpos() expects" error when Merge tags have an underscore followed by a number in them (e.g. ADDRESS_2)
- Fixed: "Undefined index: xxxxxxxxxx_EMAIL" error
- Fixed: "Address" type fields in MailChimp not working with the sync function
- Updated: pop-up modules can now be used at the same time as regular modules
- Updated: instructions.txt file to include a code snippet that can be pasted within other extensions to hook them into the MailChimp Integration

How can be called your extension by an other script to subscribe to a predefined list? For example I have subscribers not via your module, a separate module to an event and as they subscribe, I want to add to the newsletter too. Is there a function, way to call your script and add to mailchimp list

Please contact me with your order number at the e-mail address in the extension files, or the "contact" link in the extension description, for support with extension issues.

The new version has a code snippet you can use to integrate with another extension, in the instructions.txt file. You'll need to contact the developer of that extension with that code snippet, and they should be able to tell you where to place it.

Release Notes:
- NOTE: This version updates the extension to use MailChimp's 3.0 version of their API. This was a major overhaul of some of the code, so if you notice issues with any functions after updating, please let me know.

- Fixed: "Undefined index: standard_vqmod" error
- Fixed: "Undefined offset: 1" error
- Fixed: module instances are unable to be deleted in 1.5 versions
- Fixed: non-existant required fields are checked for logged in customers
- Fixed: once set, webhook settings weren't changed in MailChimp
- Fixed: "strpos" errors when Auto-Create Customers is enabled
- Updated: admin customer.php filepath has changed in 2.2
- Updated: webhook URLs now use an MD5 hash of the encryption key, rather than the key itself, to avoid issues with super long URLs
- Updated: if still pending in MailChimp, customers will now be confirmed if they edit their account info or newsletter status in OpenCart

Release Notes:
- Added: option in Testing Mode to log all API requests and responses
- Fixed: "Undefined variable: data" error when editing order statuses
- Fixed: mailing issues for new customer accounts created for guests on some OpenCart 2.x versions
- Updated: a warning is now shown in the module if the API Key is missing, or a list is not chosen in the List Settings tab, rather than just hiding the module (which seemed to confuse some people)

Release Notes:
- NOTE: make sure you're running vQmod 2.6.1 if you update to this version, since the file format now requires it
- Fixed: customers getting confirmation e-mails again if they were already on the MailChimp list, then created an OpenCart account afterwards
- Removed: "Use PUT to insert or update list members" error message when using the module and the e-mail address is already subscribed.
- Updated: the vQmod file is now compatible with ocMod as well, so you can upload it using the OpenCart extension installer if you choose

- Fixed: customers who were not logged in but used the module to subscribe did not get their "Newsletter" flag set properly in the database
- Fixed: potential auto-create customer issues if the e-mail address used uppercase letters in OpenCart

- Updated: changed the pop-up trigger to use a separate cookie rather than the session data, in order to fix issues causing by other extensions
- Updated: unset the pop-up cookie when the admin panel is refreshed, to make it easier to test the automatic pop-up
- Updated: mobile styling should be a bit better for the pop-up
- Updated: up to 99 merge tags are now requested, instead of only showing 10

Release Notes:
- Fixed: error messages when Auto-Create Customers was turned on, an a partial subscriber sync was done
- Fixed: sync issues with customers that had no postcode filled in
- Fixed: small bug with checking for a blank Default List ID
- Updated: case is now ignored when matching e-mails for Auto-Create Customers

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 - 3.0.1.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
- Removed: compatibility with OpenCart 1.5.x and 2.0.0.0 for new versions
- Updated: Testing Mode messages are now in their own tab in the admin panel

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.

- Updated: auto-create customers e-mail can now use an [email] shortcode
- Updated: auto-creating customers will now only happen for the selected list, instead of all lists associated with the MailChimp API key
- Updated: suppressed "A store with the provided ID already exists" error
- Updated: suppressed API request/response logs for requests only made when loading the admin panel page, to keep down on the log length
- Updated: hooks added for Journal newsletter box unsubscribes