Yireo_SalesBlock2ByEmail

PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
Latest Release 2.2.1

Magento version PHP version License Latest Version

This module is a helper-module for the Yireo_SalesBlock2 extension, that allows you to block orders from being placed, based on specific rules defined in the Magento Admin Panel.

This specific module allows you to match by a specific email address. When a word is added to match an email address, the word is matched case-insensitive and regardless of the position. For instance, the following matches would be found when an order is placed with the email address info@example.org:

  • info@
  • example.org
  • @example.org
  • Example

Installation

To install this module, use the following commands. First, install this module using composer. Note that this step will fail if the Yireo_SalesBlock2 is not installed yet.

composer require yireo/magento2-salesblock2-by-email

Once this module is installed via composer, you can enable it:

./bin/magento module:enable Yireo_SalesBlock2ByEmail

There are no further steps to take. The Yireo_SalesBlock2 module automatically picks up on things.

Current status

Static Tests Unit Tests Integration Tests Playwright DI Compilation

Support

For getting support, create an Issue under the following project URL:

https://github.com/yireo/Yireo_SalesBlock2ByEmail

Composer details
Magento module name
Yireo_SalesBlock2ByEmail
Composer name
yireo/magento2-salesblock2-by-email
Composer version
2.2.1
Default branch
master
Requirements
magento/module-customer: ^101.0|^102.0|^103.0
magento/module-quote: ^101.0
yireo/magento2-salesblock2: ^2.2
php: >=8.2 <8.6
Releases
2.2.1 23 October 2026
2.2.0 23 October 2026
2.1.0 23 October 2026
2.0.1 23 October 2026
Changelog

[2.2.1] - 9 April 2024

Fixed

  • Upgrade due to renamed PHP 8 class

Removed

  • Removed unneeded module version

[2.2.0] - 16 April 2022

Fixed

  • PHP 8 compatibility (and therefore Magento 2.4.4)

[2.1.0] - 18 February 2021

Added

  • Implemented new debugger

[2.0.1] - 29 July 2020

Added

  • Magento 2.4 compatibility
  • Remove PHP dep from composer

[2.0.0] - July 2019

Added

  • Initial public release

Last modified: October 17, 2026