Skip to content

enno.dev Commerce Partner

  • Home
  • Shopware 5
  • Shopware 6
  • English
    • Deutsch
    • English

Shopware 5

10
  • Awin Conversion Tracking, Remarketing and Server-to-Server Tracking
  • Empty Cart Button
  • ESD Multi-Download
  • Exclude Search Terms or Redirect Terms to Pages
  • Global Price Changes
  • Preselected Filters
  • Properties AND Operation in the Filters
  • Redeemable Vouchers per Customer Also for Guest Orders
  • Registration Filter Against Spam Registrations
  • Tabs Advanced: Manage All Tabs in One Place

Shopware 6

11
  • Debug for Productive Systems
  • Digital Products and Downloads (ESD)
  • Empty Cart Button
  • Import with Article Numbers: Update Products via Product Number
  • Product Link Instead of Shopping Cart Button
  • Registration Filter Against Spam Registrations
  • Sentinel Admin Security: 2FA, Login Lock, File Type Check
  • Tabs Advanced: Manage All Tabs in One Place
  • Tabs Advanced Extension: Anchor Tabs with Jump Marks
  • Tabs Advanced Extension: Output Entity Custom Fields as Links
  • Tabs Advanced Extension: Product Detail Page Layout Assignment
View Categories
  • Shopware 5
  • Registration Filter Against Spam Registrations

Registration Filter Against Spam Registrations

Version 3.0.5 Shopware 5.3 to 5.7 As of May 11, 2020

With this plugin you block unwanted registrations in your shop. You define which email addresses, names and company names may not register, how old a customer must be at least and which postal codes are valid for each country. If a filter matches, Shopware does not create a customer account and the customer sees your error message.

Version 1.0.3 is available for Shopware 5.0 to 5.4.

View in the Shopware Store

What the plugin does #

The filters work with regular expressions. This lets you block not only single addresses but whole ranges. With .*@example.com nobody can register with an address from example.com anymore, with .*@.*\.ru nobody with a Russian .ru address. For names, Mar.* blocks all names that start with "Mar".

The system is powerful and must be used with care: an entry E.* in the company field prevents the registration of all company names that start with E.

Installation and setup #

  1. Install the plugin in the Plugin Manager and activate it.
  2. Enter your filters in the configuration, one per line.
  3. Test a registration with a blocked address.

Settings #

SettingDefaultEffect
Active in this shoponSwitches the plugin on or off per subshop.
Filter e-mailemptyBlocked email addresses, one per line, also as a regular expression.
Filter nameemptyBlocked first names and last names, one per line.
Filter companyemptyBlocked company names, one per line.
Filter date of birthemptyMinimum age in months, for example 216 for 18 years. The check only takes place if the customer enters a date of birth.
Check zip codeonChecks the postal code against the pattern stored for the country.
Case insensitive matchonWhen switched off, the filters distinguish between upper and lower case.
Error messageGerman textMessage the customer sees when a filter matches.

Checking postal codes #

You store the pattern for the postal code per country under Configuration > Basic settings > Shop settings > Countries. Next to the pencil icon for editing a country there is a separate icon for the free text field. The check only takes place if "Check zip code" is switched on and the field is filled in for the country. A pattern for Germany:

([0]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{3}

According to this pattern, a German postal code is valid if it starts with 0 and has 1 to 9 in the second position or if it starts with 1 to 9. The remaining three characters are digits.

Frequently asked questions #

Does the filter also apply to guest orders and quick orders?

Yes, as long as the customer fills in the Shopware registration form. If the customer buys via an express checkout button such as PayPal Express or Amazon Pay, they enter their data on the page of the provider. The plugin cannot check these entries.

Are there examples of regular expressions?

You find more examples and a way to test expressions beforehand in the guide for the registration filter for Shopware 6.

Help #

If this guide does not answer your question, write to us via the contact form on enno.dev.

Contents
  • What the plugin does
  • Installation and setup
  • Settings
  • Checking postal codes
  • Frequently asked questions
  • Help

enno.dev Commerce Partner

Shopware plugins
  • Shopware 6
  • Shopware 5
  • All plugins in the Shopware Store
Contact
  • Contact form
  • enno.dev
  • Commerce Partner
Legal
  • Imprint
  • Privacy Policy