PHPackages                             trellis/module-checkout-validation - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. trellis/module-checkout-validation

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

trellis/module-checkout-validation
==================================

Makes several small modifications to the native Magento checkout experience.

1.0.1(3y ago)33MITPHPPHP ~7.3.0||~7.4.0

Since May 26Pushed 3y ago2 watchersCompare

[ Source](https://github.com/TrellisCommerce/magento-checkout-validation)[ Packagist](https://packagist.org/packages/trellis/module-checkout-validation)[ RSS](/packages/trellis-module-checkout-validation/feed)WikiDiscussions main Synced today

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

Brought to you and maintained by [Trellis Commerce](https://trellis.co/) - A full-service eCommerce agency based in Boston, MA.

Trellis Checkout Validation
===========================

[](#trellis-checkout-validation)

This extension makes several small modifications to the native Magento checkout experience.

- Adds a set of form validation rules to the shipping and billing steps of checkout.
- Respect max/min quantity on configurable products.
- Removes discount code from cart and checkout.

Installation Instructions
-------------------------

[](#installation-instructions)

Follow the instructions to install this extension using Composer.

```
composer require trellis/module-checkout-validation
bin/magento module:enable --clear-static-content Trellis_CheckoutValidation
bin/magento setup:upgrade
bin/magento cache:flush

```

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

[](#configuration)

Configuration settings for this extension are found under Stores &gt; Configuration &gt; Trellis &gt; Checkout Validation

- "Enabled?" - Yes/no configuration setting that determines if the additional shipping and billing address validation rules will apply.
    - See rules below for details.
- "Remove Apply Discount Code" - Yes/no configuration setting that determines if the discount code input form is visible on the cart and during checkout.
- Max/Min quantity settings on configurable products are now respected. (These are cumulative for all child products.)

### Shipping Address Validation Rules

[](#shipping-address-validation-rules)

- Street is required and each street can have max 40 characters each
- First Name is required and can have 20 characters max
- Last Name is required and can have 20 characters max
- Company can have 40 characters max
- City is required can have 40 characters max
- Phone is required

### Billing Address Validation Rules

[](#billing-address-validation-rules)

- Street is required and each street can have max 40 characters each
- First Name is required and can have 20 characters max
- Last Name is required and can have 20 characters max
- Company can have 40 characters max
- City is required can have 40 characters max
- Phone is required
- Postal Code is required

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~13 days

Total

2

Last Release

1431d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/78bae52b07756509d8f1333c7b600302e512cbdc13f557ba68a0c61a6d53a5c9?d=identicon)[trellis](/maintainers/trellis)

---

Top Contributors

[![chuffman](https://avatars.githubusercontent.com/u/93405974?v=4)](https://github.com/chuffman "chuffman (5 commits)")

### Embed Badge

![Health badge](/badges/trellis-module-checkout-validation/health.svg)

```
[![Health](https://phpackages.com/badges/trellis-module-checkout-validation/health.svg)](https://phpackages.com/packages/trellis-module-checkout-validation)
```

###  Alternatives

[wwwision/dcb-eventstore

Implementation of the Dynamic Consistency Boundary pattern described by Sara Pellegrini

2131.5k10](/packages/wwwision-dcb-eventstore)

PHPackages © 2026

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