PHPackages                             thelia/inter-exclude-category-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. thelia/inter-exclude-category-module

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

thelia/inter-exclude-category-module
====================================

1.0.1(8y ago)011LGPL-3.0-or-laterPHP

Since Jan 18Pushed 8y ago3 watchersCompare

[ Source](https://github.com/thelia-modules/InterExcludeCategory)[ Packagist](https://packagist.org/packages/thelia/inter-exclude-category-module)[ RSS](/packages/thelia-inter-exclude-category-module/feed)WikiDiscussions master Synced yesterday

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

Inter Exclude Category
======================

[](#inter-exclude-category)

Define categories from which products cannot be put in cart together.

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

[](#installation)

### Manually

[](#manually)

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

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/inter-exclude-category-module:~1.0

```

Usage
-----

[](#usage)

In the plugin's configuration page, select 2 categories from which products must not be put together in the cart.

You can add as many exclusions as you want, but it's not possible to exclude a category and one of its parents.

When trying to add a product to the cart if there is already a product from an excluding category, user will be prompted not to add this product or to remove products of the excluding category from his cart.

Integration
-----------

[](#integration)

In the bottom script of your FO template layout, change the `var addCartMessageUrl = "{url path='ajax/addCartMessage'}";` declaration by `var addCartMessageUrl = "{url path='InterExcludeCategory/check-cart'}";` in order to have the popup displayed when trying to add a product in the cart while a product from a excluding category is already in.

Think about customizing the `includes/removeFromCart.html` file in your template.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

2

Last Release

3085d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/thelia-inter-exclude-category-module/health.svg)

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

PHPackages © 2026

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