PHPackages                             creatuity/magento2-order-status-adjust - 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. creatuity/magento2-order-status-adjust

ActiveMagento2-module

creatuity/magento2-order-status-adjust
======================================

Adjust Order Status to specific one if Criteria are met

1.1.0(2y ago)4172↓100%1PHPPHP &gt;=8.1.0

Since May 15Pushed 2y ago5 watchersCompare

[ Source](https://github.com/creatuity/magento2-order-status-adjust)[ Packagist](https://packagist.org/packages/creatuity/magento2-order-status-adjust)[ RSS](/packages/creatuity-magento2-order-status-adjust/feed)WikiDiscussions main Synced 1mo ago

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

Order Status Adjust module for Magento 2
========================================

[](#order-status-adjust-module-for-magento-2)

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

[](#installation)

Use composer to install. To proceed, run these commands in your terminal:

```
composer require creatuity/magento2-order-status-adjust
php bin/magento module:enable Creatuity_OrderStatusAdjust
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

```

Example Use Cases
-----------------

[](#example-use-cases)

- set status "Hold - Liftgate" if order items total weight is &gt;= 1000 lbs. and order state is "Processing"
- set status "Payment Review" if Check/Money payment method was used, order total was &gt;= $1000.00 and order state is "Pending"
- set status "Pending - VIP" if "Exclusive Payment Method" was used and order state is "Pending"
- set status "Fraud" if Grand Total is &gt;= $1000.00 and order state is "Pending"

Usage
-----

[](#usage)

### Configuration

[](#configuration)

Go to Admin Panel -&gt; Stores -&gt; Settings -&gt; Order Status Adjust Rules.

Click on "Add New Rule" button located in the upper-right corner of the screen to add new rule.

Fill all required and possibly optional fields:

- Enabled - yes/no. Indicates if rule is active. If not - it will not be taken into account during Order updates.
- Rule Name - text. Human-friendly name of the rule, to easily distinguish what is its purpose.
- Sort Order - integer. Allows to sort which rules will have precedence. Rules with lower value will be executed as the first ones. If sort order will be same - rule with lower ID will execute as the first one.
- Date and Time
    - Start - datetime. Allows to select date and time from which rule will be effective. In Store's timezone.
    - End - datetime. Allows to select date and time to which rule will be effective. In Store's timezone.
- Condition - complex. Combination of rules revolving around Orders that can be used to select particular orders and update their status to desired one conditionally.
- Action (Set Order Status) - select. Select desired order status that should be set if rule will be applied.

Save rule

### Troubleshooting

[](#troubleshooting)

- My rules are not applying
    - verify enabled state
    - verify start and end date (ensure that they're in store timezone)
- Multiple rules are being applied
    - verify if your rules are excluding each other
        - example: Rule A sets "On Hold", Rule B sets "Cancelled". Make sure that Rule A is having condition "Status" is not 'On Hold' and Rule B is having condition "Status" is not 'Canceled' in their Conditions
- Module is throwing exceptions
    - Ensure that you're running on PHP 8.2 and Magento 2.4.6+
    - If issue is related to older version of Magento or PHP - feel free to open Issue and ask

### Available Conditions

[](#available-conditions)

ConditionInternal CodeSubtotal (Excl. Tax)base\_subtotal\_with\_discountSubtotal (Incl. Tax)base\_subtotal\_total\_incl\_taxSubtotalbase\_subtotalTax Totalbase\_tax\_amountGrand Totalbase\_grand\_totalDiscount Totalbase\_discount\_amountGift Cards Amountbase\_gift\_cards\_amountTotal Canceledbase\_total\_canceledTotal Invoicedbase\_total\_invoicedTotal Paidbase\_total\_paidTotal Refundedbase\_total\_refundedShipping Amountbase\_shipping\_amountShipping Canceledbase\_shipping\_canceledShipping Invoicedbase\_shipping\_invoicedShipping Refundedbase\_shipping\_refundedTotal Items Quantity Orderedtotal\_qty\_orderedTotal WeightweightPayment Methodpayment\_methodShipping Methodshipping\_methodOrder Currency Codeorder\_currency\_codeOrder Store IDstore\_idCoupon Codecoupon\_codeTotal Item Counttotal\_item\_countCustomer Is Guestcustomer\_is\_guestCustomer Group IDcustomer\_group\_idCustomer Tax Vatcustomer\_taxvatRemote IPremote\_ipStatusstatusStatestateCompatibility
-------------

[](#compatibility)

Module was developed using Adobe Commerce 2.4.5 on PHP 8.1 It should work on any Magento Open Source or Adobe Commerce 2.4.4+ versions though.

Plugin Development
------------------

[](#plugin-development)

You can easily add more Order (or any other) conditions.

1. Extend `\Magento\Rule\Model\Condition\AbstractCondition` in a similar manner to how it is extended by `\Creatuity\OrderStatusAdjust\Model\Condition\Type\Order`
2. Open di.xml and add newly created class into conditionTypes argument here: ```

                INSERT_FULLY_QUALIFIED_CLASS_NAME_WITH_NAMESPACE

    ```
3. Make sure you've enabled your newly created module and regenerated static files.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.2% 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 ~49 days

Total

3

Last Release

992d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0998200db85ed30d30e182230c837875edd8abf02ca4d64389eccd730584e5cc?d=identicon)[creatuitydevelopers](/maintainers/creatuitydevelopers)

---

Top Contributors

[![tszmyt-creatuity](https://avatars.githubusercontent.com/u/51603316?v=4)](https://github.com/tszmyt-creatuity "tszmyt-creatuity (33 commits)")[![dchudycreatuity](https://avatars.githubusercontent.com/u/110817668?v=4)](https://github.com/dchudycreatuity "dchudycreatuity (4 commits)")

### Embed Badge

![Health badge](/badges/creatuity-magento2-order-status-adjust/health.svg)

```
[![Health](https://phpackages.com/badges/creatuity-magento2-order-status-adjust/health.svg)](https://phpackages.com/packages/creatuity-magento2-order-status-adjust)
```

PHPackages © 2026

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