OpenCart 2.3–4.1 extension

Supreme Customer Group by E-mail Domain

Put new customers into a customer group by the domain of their e-mail address: everyone who registers with @acme.com joins "Wholesale". The group then decides the prices, discounts and rules you already set for it. Good for B2B shops, schools and company stores. No monthly fee, no outside service, no core files changed.

$20
Supreme Customer Group by E-mail Domain — overview

What you set up

  • One line per domain in a plain box: acme.com|Wholesale. The group is its name or its number. Up to 100 lines. The page lists your customer groups to copy from.

What happens

  • When a customer registers (any registration that uses the shop's customer model), the e-mail domain is compared with your list in any letter case. A domain also covers its sub domains (mail.acme.com); a name that only ends the same (notacme.com) does not match.
  • The customer is moved to the group at once, so the first order already gets the group's prices.

Safe

  • Lines are checked when saved: a bad domain or an unknown group stops the save and names the line. A rule whose group was deleted does nothing.
  • Switch it off and new customers stay in the default group. No database tables.

Good to know

  • It works at registration only. Existing customers are not moved, and the e-mail is not verified, so do not use it to give access to anything private: anyone can type an address at a domain they do not own.
  • Tested on 2.3, 3.0, 4.0 and 4.1 with the real admin installer and the real customer model, 44 to 49 checks each. Not checked through the storefront registration form or the One Page Checkout.

Screenshots

Supreme Customer Group by E-mail Domain — Admin settings part 1
Admin settings part 1
Supreme Customer Group by E-mail Domain — Backend settings
Backend settings

More modules

You May Also Need.

Supreme VAT Number Check and EU OSS

Sell to businesses and consumers in the EU the way the VAT rules ask. Businesses with a valid VAT number of the delivery country pay no VAT (reverse charge), one click sets up the VAT rate of all 27 EU countries for distance sales (OSS), and a quarterly report shows what you sold where.

Supreme Mobile API

A JSON API on your OpenCart shop for a mobile app, a Next.js or other headless front end, and AI assistants that speak the Model Context Protocol.

See all OpenCart modules