PHPackages                             thelia/delivery-delay-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/delivery-delay-module

ActiveThelia-module

thelia/delivery-delay-module
============================

2.0.0(3y ago)12393LGPL-3.0+PHP

Since Oct 14Pushed 3y ago4 watchersCompare

[ Source](https://github.com/thelia-modules/DeliveryDelay)[ Packagist](https://packagist.org/packages/thelia/delivery-delay-module)[ RSS](/packages/thelia-delivery-delay-module/feed)WikiDiscussions main Synced 1mo ago

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

Delivery Delay
==============

[](#delivery-delay)

This module allows to inform customers of the date of delivery planned for a product.

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

[](#installation)

### Manually

[](#manually)

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

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/delivery-delay-module:~1.0

```

Usage
-----

[](#usage)

This module have two different configuration :

1. Global and default configuration

---

In module configuration you can set the minimum and the maximum delay by default it would be applied for each product without specific delay. You have 2 different, delivery and restock. Delivery is displayed when product have stock, and restock when product doesn't have stock.

In this page you can also choose if the weekend is not deliverable in this case saturdays and sundays will be excluded fot count of delivery date. You can do the same thing for the easter who is calculated dynamically in function of the year.

And last things, you can exculde specific date like 1st January, 25 December or other dates.

2. Product configuration

---

For each product you can specify different delay for delivery and restock, these delay will override default delay. Two others option are available for products, first you can set a pre order date with that the delay will be computed from this date and you can show a different message, when the pre order date is passed the delivery date will be computed normally. And you can also said the product is only available on order and in this case don't display a delivery date just show a message with some explication.

3. Usage

---

You have different way to show delivery delay. The module will automatically show delivery delay on the `product.details-bottom` hook. But you can deactivate it in back office and use the specific hook `product.delivery-delay` to put him where you want. Or you can use the loop describe below.

Hook
----

[](#hook)

### backoffice :

[](#backoffice-)

- product.tab-content
- product.edit-js

### frontoffice :

[](#frontoffice-)

- product.details-bottom
- product.delivery-delay

Loop
----

[](#loop)

\[delivery\_delay\_product\]
----------------------------

[](#delivery_delay_product)

### Input arguments

[](#input-arguments)

ArgumentDescription**product\_id**The id of the product### Output arguments

[](#output-arguments)

VariableDescription$DELIVERY\_TYPEThe type of delivery (normal, pre-order, on order, ...)$DELIVERY\_START\_DATEThe date from when the product delivery delay calcul start$DATE\_MINThe minimum date of delivery$DATE\_MAXThe maximum date of delivery### Exemple

[](#exemple)

```
    {loop type="delivery_delay_product" name="delivery_delay_product" product_id={$product_id}}
        {if $PRE_ORDER }
            {intl l="This product is on pre-order and will be only available from : "}{format_date date={$PRE_ORDER} output="date"}
        {elseif $ON_ORDER === 1}
            {intl l="This product is only available on order, contact us for more informations"}
        {else}
            {intl l="Delivery planned between %min and %max" min={format_date date={$DATE_MIN} output="date"} max={format_date date={$DATE_MAX} output="date"}}
        {/if}
    {/loop}
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~1285 days

Total

3

Last Release

1299d ago

Major Versions

1.1 → 2.0.02022-10-27

### Community

Maintainers

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

---

Top Contributors

[![csibaud](https://avatars.githubusercontent.com/u/7094111?v=4)](https://github.com/csibaud "csibaud (3 commits)")[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (2 commits)")[![bibich](https://avatars.githubusercontent.com/u/1215555?v=4)](https://github.com/bibich "bibich (1 commits)")[![gillesbourgeat](https://avatars.githubusercontent.com/u/7335734?v=4)](https://github.com/gillesbourgeat "gillesbourgeat (1 commits)")[![roadster31](https://avatars.githubusercontent.com/u/2197734?v=4)](https://github.com/roadster31 "roadster31 (1 commits)")

### Embed Badge

![Health badge](/badges/thelia-delivery-delay-module/health.svg)

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

PHPackages © 2026

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