PHPackages                             studiomitte/cart-count - 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. [API Development](/categories/api)
4. /
5. studiomitte/cart-count

ActiveTypo3-cms-extension[API Development](/categories/api)

studiomitte/cart-count
======================

Endpoint for EXT:cart cart information which can be retrieved by an AJAX request

1.0.0(2y ago)34.7k2[1 PRs](https://github.com/studiomitte/cart_count/pulls)GPL-2.0-or-laterPHP

Since Jul 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/studiomitte/cart_count)[ Packagist](https://packagist.org/packages/studiomitte/cart-count)[ Docs](https://studiomitte.com)[ RSS](/packages/studiomitte-cart-count/feed)WikiDiscussions main Synced 1mo ago

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

TYPO3 Extension `cart_count`
============================

[](#typo3-extension-cart_count)

This extensions provides a basic endpoint to fetch information from current cart session when using the TYPO3 extension [cart](https://github.com/extcode/cart). The main benefit is to have pages still cacheable and show e.g. the count of articles in the cart.studiomitte

[![Example](./Resources/Public/Images/Example.png)](./Resources/Public/Images/Example.png)

```
{
    "net":551,
    "gross":551,
    "count":1,
    "products": [
        {
            "title":"A title",
            "sku":"1234",
            "net":551,
            "gross":551,
            "quantity":1
        }
    ]
}
```

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

[](#installation)

Install this extension by using `composer require studiomitte/cart-count`.

Usage
-----

[](#usage)

By calling the URL `/?cartId=123` you can retrieve the cart information. `123` is the page configured in the cart plugins where the order is saved.

This extension **does not** any JS to fetch the data but one example can be

```
$.get("/?cartId=195", function (data) {
    if (data.count > 0) {
        $(".cart__icon__wrapper").append("" + data.count + "");
    }
});
```

Credits
-------

[](#credits)

This extension was created by Georg Ringer for [Studio Mitte, Linz](https://studiomitte.com) with ♥.

[Find more TYPO3 extensions we have developed](https://www.studiomitte.com/loesungen/typo3) that provide additional features for TYPO3 sites.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% 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 ~383 days

Total

4

Last Release

970d ago

Major Versions

0.1.3 → 1.0.02023-09-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d08c176686c8914d32c70d4af388887d738930fdfdf07c7ca9c841ad10ed683?d=identicon)[georgringer](/maintainers/georgringer)

---

Top Contributors

[![georgringer](https://avatars.githubusercontent.com/u/1905663?v=4)](https://github.com/georgringer "georgringer (6 commits)")[![80Quattro](https://avatars.githubusercontent.com/u/24212368?v=4)](https://github.com/80Quattro "80Quattro (5 commits)")

---

Tags

typo3typo3-cms-extensiontypo3-extensionextensioncarttypo3count

### Embed Badge

![Health badge](/badges/studiomitte-cart-count/health.svg)

```
[![Health](https://phpackages.com/badges/studiomitte-cart-count/health.svg)](https://phpackages.com/packages/studiomitte-cart-count)
```

###  Alternatives

[leuchtfeuer/locate

Locate - The users country, preferred language and other facts will be detected. Depending on configurable rules the user can be redirected to other languages or pages. Locate also provides geo blocking for configurable pages in configurable countries.

1182.8k](/packages/leuchtfeuer-locate)[netresearch/contexts

Multi-channel content visibility for TYPO3 - by Netresearch

1117.4k1](/packages/netresearch-contexts)

PHPackages © 2026

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