PHPackages                             thelia/product-upsell-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/product-upsell-module

ActiveThelia-module

thelia/product-upsell-module
============================

0.9.2(5y ago)013LGPL-3.0+PHP

Since May 17Pushed 5y ago5 watchersCompare

[ Source](https://github.com/thelia-modules/ProductUpsell)[ Packagist](https://packagist.org/packages/thelia/product-upsell-module)[ RSS](/packages/thelia-product-upsell-module/feed)WikiDiscussions master Synced today

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

Product Upsell
==============

[](#product-upsell)

Sale more by offering upsell products to your customers if the cart total is greater than a defined amount.

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

[](#installation)

### Manually

[](#manually)

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

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/product-upsell-module:~0.9

```

Usage
-----

[](#usage)

Go to module configuration and select the category in which you'll store your upsell products. It's better to put this category offline to hide it from your customers.

Create one or more products in this category and in the product edition page, enter the cart amount which allows to offer this product

Loop
----

[](#loop)

### productupsell Loop

[](#productupsell-loop)

The loop return upsell products.

### Input arguments

[](#input-arguments)

ArgumentDescription**id**filter by upsell product id**product\_id**filter by product id**cart\_amount**filter by upsell product with minimum cart amount less or equal to this value**limit**limit the number of results### Output arguments

[](#output-arguments)

VariableDescriptionPRODUCT\_UPSELL\_IDupsell product idPRODUCT\_IDproduct idMINIMUM\_CART\_AMOUNTupsell product minimum cart amount### Exemple

[](#exemple)

```
{loop type="productupsell" name="productupsell_loop" cart_amount="30" limit=4}
    {loop type="product" name="product_loop"  limit=1 id=$product_page order=$product_order}
        {include file="includes/single-product.html" hovered="true"}
    {/loop}
{/loop}

```

### productupsell.category Loop

[](#productupsellcategory-loop)

The loop return the upsell category ID if the given category ID is equal to the upsell category ID, or nothing.

### Input arguments

[](#input-arguments-1)

ArgumentDescription**category\_id**a category id### Output arguments

[](#output-arguments-1)

VariableDescriptionUPSELL\_CATEGORY\_IDupsell category id

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Total

3

Last Release

2184d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a46ed88ee1c801d1002d3e49bbddf2f7ad82265e8f3de6f2894793190163fd6?d=identicon)[cqfdev](/maintainers/cqfdev)

### Embed Badge

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

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

PHPackages © 2026

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