What it does
- Export: one line per customer with the default address (e-mail, name, phone, customer group, newsletter, status, registration date, number of orders, address, country code, region code). Filter by customer group, status, newsletter and registration dates. The file opens in Excel and Google Sheets.
- Import and update: customers are matched by e-mail. A new e-mail creates a customer (with an address when the line has one), a known e-mail is updated (empty cells are left as they are). Rows with a mistake are skipped and each one is explained, the good rows are saved.
- Check first: "Check the file" shows how many customers would be created, updated, left unchanged or refused, and why, and saves nothing.
- Moving from another shop: paste a Shopify customer export, or a WooCommerce customer export made by an export plugin (columns billing_first_name, billing_address_1 and so on), without renaming columns. A new customer without a name is saved with "-"; an address this shop cannot accept (for example an unknown region) is left out and reported, and the customer is still imported. Passwords and past orders are not moved. WooCommerce Analytics downloads, which have no street address columns, are not recognised.
- Import the same file twice and the second time nothing changes (no second address, no second customer).
- Duplicate finder: groups accounts that share a mailbox (Gmail dots, +tags and googlemail.com count as one), the same phone number (last 10 digits) or the same name and postcode.
- Merge: pick the account to keep, merge the others into it. Orders, addresses (an identical address is not copied twice), reward points, store credit, wishlist items, reviews, returns, coupon uses and the customer history move to the kept account; a blank phone is filled in and the newsletter choice is kept; the other account is deleted. A confirmation shows what will move before anything is changed.
- Merge log: who merged what and when, with both e-mails. The log is kept if you uninstall the module.
- Admin permissions: the check, export, duplicates and log need view rights; import and merge need change rights.
Safe by design
- Passwords are never exported. A new customer created by an import gets a random password that nobody knows; the shopper uses "Forgotten password". Imports cannot set or change passwords.
- Exported cells that start with = + - or @ get a leading quote so a spreadsheet does not run them as a formula.
- Imported text is cleaned of tags and stored escaped, the way the core stores it. A file is limited to 2 MB or 5000 lines.
- A switch turns the whole tool off. Merging a customer into itself, or an unknown customer, is refused.
Works with
OpenCart 2.3, 3.0, 4.0 and 4.1 (one zip for each).
Good to know
- A merge cannot be undone. Export a backup first.
- The merge moves the core customer data listed above. Tables that other extensions keep for a customer (loyalty points, wallet balance, warranty records and so on) are not moved.
- Custom fields and the dropped customer's affiliate account: the affiliate record moves only when the kept customer has none; custom field values of the dropped customer are not copied.
- The region column takes the region code of the country (for example NY for New York, or LDN for London); a country that has regions needs a valid code.
- Import creates and updates the basic profile and the default address only. It does not import orders.
- Tested on the four versions with the real admin installer: export and its filters, check and import (new, update, unchanged, bad rows, semicolon files, text cleaning), the duplicate finder, a merge with orders, addresses, points, credit, wishlist, reviews, returns and cart, permission refusals, uninstall and reinstall. The admin page was also used in a real browser on 4.1.