PHPackages                             viraxpress/restrict-checkout - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. viraxpress/restrict-checkout

ActiveMagento2-module[Authentication &amp; Authorization](/categories/authentication)

viraxpress/restrict-checkout
============================

Restrict Checkout for ViraXpress

1.0.0(1mo ago)01Apache-2.0PHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

Since Jun 11Pushed 1mo agoCompare

[ Source](https://github.com/viraxpress/RestrictCheckout)[ Packagist](https://packagist.org/packages/viraxpress/restrict-checkout)[ RSS](/packages/viraxpress-restrict-checkout/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ViraXpress Restrict Checkout
============================

[](#viraxpress-restrict-checkout)

A Magento 2 module that restricts checkout access based on customer group minimum order value rules.

Description
-----------

[](#description)

This extension allows store administrators to define checkout restrictions for specific customer groups. Rules can be configured with minimum order amounts and whether the restriction applies to cart subtotal or grand total. When a checkout attempt does not meet the configured criteria, the customer is redirected back to the cart with a custom error message.

Features
--------

[](#features)

- Restrict checkout per customer group
- Apply minimum order restrictions based on subtotal or grand total
- Define custom error messages with placeholders
- Redirect invalid checkout attempts back to the cart
- Admin dynamic rule grid for multiple customer-group restrictions
- Overrides checkout link behavior to help prevent checkout when the minimum is not met

Compatibility
-------------

[](#compatibility)

\-- **Magento**: 2.4.x

Installation
------------

[](#installation)

1. Install the extension via Composer:

    ```
    composer require viraxpress/restrict-checkout
    ```
2. Run the following commands from your Magento root directory:

    ```
    php bin/magento module:enable ViraXpress_RestrictCheckout
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
    ```

Configuration
-------------

[](#configuration)

1. In Magento Admin, go to `Stores > Settings > Configuration`.
2. Open the `ViraXpress` tab and select `Minimum Order Value Restriction`.
3. Enable the module and add one or more rules using the dynamic rule grid.
4. For each rule, select:
    - Customer group
    - Restriction type: `Subtotal` or `Grand Total`
    - Minimum order amount
    - Custom error message

Custom Error Message Placeholders
---------------------------------

[](#custom-error-message-placeholders)

- `{{minimum_amount}}` — Configured minimum amount
- `{{order_subtotal}}` — Current cart subtotal
- `{{order_total}}` — Current cart grand total

Support
-------

[](#support)

For support, please contact ViraXpress at  or refer to the license agreement.

License
-------

[](#license)

This extension is licensed under the ViraXpress license agreement. See  for details.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfa4cf8adc10a78f5b538cdf399be5d1059c4cfecf5ca5e38e44351bcaf84367?d=identicon)[viraxpress](/maintainers/viraxpress)

---

Top Contributors

[![mohan10121998](https://avatars.githubusercontent.com/u/179821904?v=4)](https://github.com/mohan10121998 "mohan10121998 (1 commits)")[![viraxpress](https://avatars.githubusercontent.com/u/179798477?v=4)](https://github.com/viraxpress "viraxpress (1 commits)")

### Embed Badge

![Health badge](/badges/viraxpress-restrict-checkout/health.svg)

```
[![Health](https://phpackages.com/badges/viraxpress-restrict-checkout/health.svg)](https://phpackages.com/packages/viraxpress-restrict-checkout)
```

###  Alternatives

[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[firemultimedia/mautic-multi-captcha-bundle

This plugin brings Google's reCAPTCHA, hCaptcha, and Cloudflare Turnstile integration to mautic.

141.3k](/packages/firemultimedia-mautic-multi-captcha-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
