PHPackages                             thelia/available-default-product-module - 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. thelia/available-default-product-module

ActiveThelia-module

thelia/available-default-product-module
=======================================

2.0.0(2y ago)02481LGPL-3.0+PHP

Since Sep 30Pushed 2y ago5 watchersCompare

[ Source](https://github.com/thelia-modules/AvailableDefaultProduct)[ Packagist](https://packagist.org/packages/thelia/available-default-product-module)[ RSS](/packages/thelia-available-default-product-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

Available Default Product
=========================

[](#available-default-product)

Change default product sale elements when it run out of stock.

When an order is put in status 'Paid' (it must have a status code of 'paid' which is the one by default) the module checks the product sales elements stock, if he is no longer in stock it checks for other variations of the product and sets the first one in stock as the default one.

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

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is AvailableDefaultProduct.
- Activate it in your thelia administration panel

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/available-default-product-module:~2.0.0

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 55.6% 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 ~1394 days

Total

2

Last Release

1028d ago

Major Versions

1.0.0 → 2.0.02023-07-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (5 commits)")[![Lurivar](https://avatars.githubusercontent.com/u/33634597?v=4)](https://github.com/Lurivar "Lurivar (3 commits)")[![thomas-dsm](https://avatars.githubusercontent.com/u/84772220?v=4)](https://github.com/thomas-dsm "thomas-dsm (1 commits)")

### Embed Badge

![Health badge](/badges/thelia-available-default-product-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-available-default-product-module/health.svg)](https://phpackages.com/packages/thelia-available-default-product-module)
```

PHPackages © 2026

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