Yireo - Trainings & extensions

Open main menu

Magento 2 Extension

SalesBlock 2

Stop wasting time on orders that you need to reverse anyway

Already used in more than 12 shops
  • 100% open source and well-written
  • compliant with modern Magento standards
  • 1 year of free composer updates & support
  • 14 day money-back guarantee
$ 99
for 6 months

Latest release: 2.0.2

No more spam orders

Whether they are spam orders, orders placed by unfair competition or by customers that you simply don't want to serve, our SalesBlock extension makes it easy to prevent orders from being placed based upon simple rules.

Define your own rules

Our SalesBlock extension allows to create simple rules that block a specific customer or guest order. Rules are easily managed through the backend, where you can also set a frontend message per rule, so that customers that are denied access receive a properly formatted warning.

Packages & pricing

Stop spam orders from being placed

Our SalesBlock extension helps you reduce fake orders

Create rules from your backend

The Yireo SalesBlock extension allows you to add rules quickly to your backend. Each rule has a couple of rules that help you block specific order attempts: You can block by IP, block by email. And using our additional modules, you can also block by other methods.

Block orders in the frontend

Once a customer tries to place an order that matches a rules criteria, that order is denied. Our extension give friendly warnings on why the transaction is denied. It is up to you to tune the message to friendly tell spammers to go elsewhere.

Create your own rule matches

Are the supplied criteria for identifying a spam order (by email, by IP, by region) not enough? Then you can hire us or other developers to create new add-on extensions that match your specific need. Our code is well-written, clean and setup to be extensible.

Quick Start to install your Yireo extension

Installation via composer URL

We recommend to install Magento 2 extensions via composer. See the Composer project for instructions on how to get composer up and running. Once composer is installed, use the following commands to install our extension. Make sure to add in your own subscription key.

composer config repositories.yireo-salesblock2 composer https://api.yireo.com/composer.php/key,YOUR-LICENSE-KEY/
composer require yireo/magento2-salesblock2

This will make composer download the package from our online composer repository, using your subscription key for authentication. After the composer installation has finished, use the following commands to enable the module within Magento:

bin/magento module:enable Yireo_SalesBlock2
bin/magento cache:clean
bin/magento setup:upgrade

After these commands, the extension is ready for use in Magento. If you were already logged into the Magento Admin Panel, make sure to logout and log back in again, before proceeding. Do not forget to grab yourself a manual copy of our extension as a backup.

Installation add-ons

Do make sure to install one or more of the following packages as well. They are available on Packagist and GitHub:

composer require yireo/magento2-salesblock2-by-ip
composer require yireo/magento2-salesblock2-by-email
composer require yireo/magento2-salesblock2-by-geo

Without those additional packages, this extension does nothing. Once the package is installed, also enable the corresponding module:

bin/magento module:enable Yireo_SalesBlock2ByIp 
bin/magento module:enable Yireo_SalesBlock2ByEmail 
bin/magento module:enable Yireo_SalesBlock2ByGeo

Installation via composer artifact

We recommend to install Magento 2 extensions via composer. See the Composer project for instructions on how to get composer up and running. Once composer is installed, download the composer ZIP packages from this webpage under the File Downloads tab. Create a new folder packages within your Magento source and copy the ZIP packages to this new folder. Next, run the following commands (and make sure to include the right path to your Magento source):

composer config repositories.zip-packages artifact /path/to/magento/packages
composer require yireo/magento2-salesblock2

Composer will search the packages folder for the latest available package. After the composer installation has finished successfully, use the following commands to enable the module within Magento:

bin/magento module:enable Yireo_SalesBlock2
bin/magento cache:clean
bin/magento setup:upgrade

After these commands, the extension is ready for use in Magento. If you were already logged into the Magento Admin Panel, make sure to logout and log back in again, before proceeding. Do not forget to grab yourself a manual copy of our extension as a backup.

Installation add-ons

Do make sure to install one or more of the following packages as well. They are available on Packagist and GitHub:

composer require yireo/magento2-salesblock2-by-ip
composer require yireo/magento2-salesblock2-by-email
composer require yireo/magento2-salesblock2-by-geo

Without those additional packages, this extension does nothing. Once the package is installed, also enable the corresponding module:

bin/magento module:enable Yireo_SalesBlock2ByIp 
bin/magento module:enable Yireo_SalesBlock2ByEmail 
bin/magento module:enable Yireo_SalesBlock2ByGeo

Manual installation

Please note that we highly recommend using composer instead. However, in some cases, it might be required to do a non-composer installation. For this, download the module ZIP from our site (under the tab File Downloads). Next, create a folder with the following name and copy to the ZIP contents to it:

app/code/Yireo/SalesBlock2

After the files have been uploaded, confirm that all files are in place. For instance, you should have a file like app/code/Yireo/SalesBlock2/etc/module.xml. Next, use the following commands to enable the module within Magento:

bin/magento module:enable Yireo_SalesBlock2
bin/magento cache:clean
bin/magento setup:upgrade

After these commands, the extension is ready for use in Magento. If you were already logged into the Magento Admin Panel, make sure to logout and log back in again, before proceeding. Do not forget to grab yourself a manual copy of our extension as a backup.

Downloads

Login to see the packages available to you

NamePackage TypeVersionDownload link
DownloadNo access

Frequently Asked Questions

No, it is not. As a policy, all our Yireo software is unencrypted - we do not make use of technologies like ionCube or ZendOptimizer. All PHP-code is open source, but for commercial extensions the code is only given to paying customers.

You probably would like to know if this extension is working under a specific Magento version 2.X.Y. However, from a technical point of view, the question is wrong: The major Magento version 2.X.Y is not semantical but instead used for marketing purposes. It doesn't give any guarantees.

Instead, we maintain compatibility with the actual modules that lie underneath (like Magento_Catalog or the Magento Framework). And version management for these dependencies is handled via composer. We strongly advice you to rely on composer to answer the question whether our extension works under a specific Magento version. This is the only way to guarantee compatibility in a professional way.

Alternatively, study our CHANGELOG for details on the progress we made.

Once the subscription expires, the composer feed will not give you any access to the software anymore. We recommend you to download the latest ZIP file from our site and add this to your own private composer repository instead (BitBucket, GitHub) so you keep the latest sources available through composer.

Once you purchase this extension, you get access to the downloads for a period of time (normally 12 months). The downloads folder will contain both minor updates and major updates. You can always download the latest version of the extension at any time by logging into your Yireo Account - as long as you have a support subscription that did not expire yet. Likewise, for the period of the subscription, you can use composer to install the package from the command-line. If your subscription expired, you are required to purchase a new subscription to access new updates.

Getting support

If you run into problems, we are happy to help you out with the following resources:

We usually respond within 24 hours.

Extensibility

EmailTester is written following standards like PSR-2, MEQP2, ECG and ExtDN. This extension does not make any overrides, but uses core events like controller_action_predispatch to intercept order attempts.

Compatible with other extensions

Our extension has been tested with the following extensions:

Roadmap

We have a major feature on our roadmap, which will allow for easy extension of the SalesBlock forms (based on UiComponents) and rules. This allows for additional modules to add their own matching strategy on top of SalesBlock. With this, we will add useful add-on modules like geo-based blocking and time-based blocking. We'll keep you updated!

Supported Magento versions

  • 2.2 (2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9)
  • 2.3 (2.3.0, 2.3.1, 2.3.2)

Requirement details

  • magento/framework: ^101.0|^102.0
  • magento/module-backend: ^100.0|^101.0
  • magento/module-checkout: ^100.0
  • magento/module-cms: ^100.0|^101.0|^102.0|^103.0
  • magento/module-store: ^100.1|^101.0
  • magento/module-quote: ^100.1|^101.0|^102.0
  • psr/log: ^1.0
  • ext-json: *
  • ext-pcre: *
  • php: ^7.2

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[2.0.2] - 15 July 2019

Added
  • config.xml with default settings
  • Handy methods in rule repository
  • Strict typing in rule repository and interface
  • Integration test for rule repository
  • Integration test for rule helper with simulation of IP and email matching

[2.0.1] - 4 July 2019

Added
  • Add KeepAChangeLog support
  • Move configuration to separate Yireo section

[2.0.0] - November 2018

Added
  • Magento 2.3 compatibility
  • Major rewrite to decouple rules from main module

[1.0.1] - August 2018

Added
  • Create separate Configuration class instead of using Helper
  • Add message in grid when module is disabled through setting

[1.0.0] - August 2018

Added
  • Public release
  • Composer support

[0.0.3] - June 2019

Added
  • Beta testing on limited sites
  • Improved exception handling

[0.0.2] - November 2017

Added
  • Main migration of functionality
  • Setup UiComponents
  • Basic Integration Tests

[0.0.1] - September 2017

Added
  • First draft
ExtDN

We are a proud member of ExtDN

ExtDN forms a network of Magento extension developers, that strive for a better extension quality - both on a technical level and from an end-users point of view. With industry leaders like Fooman and aHeadworks, ExtDN lifts up the Magento extension space to a new level. And Yireo is proud to be part of this.

Proud member of

  Latest blog

Extensions

Legal information

Other Yireo sites

Get Social

About Yireo