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.1.0(4mo ago)34.8k2GPL-2.0-or-laterPHP

Since Jul 29Pushed 4mo 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 1w ago

READMEChangelog (3)Dependencies (4)Versions (6)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

46

—

FairBetter than 92% of packages

Maintenance75

Regular maintenance activity

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 52.9% 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 ~518 days

Total

5

Last Release

137d 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

[![80Quattro](https://avatars.githubusercontent.com/u/24212368?v=4)](https://github.com/80Quattro "80Quattro (9 commits)")[![georgringer](https://avatars.githubusercontent.com/u/1905663?v=4)](https://github.com/georgringer "georgringer (6 commits)")[![morange](https://avatars.githubusercontent.com/u/8067083?v=4)](https://github.com/morange "morange (2 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

[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40543.5k](/packages/wazum-sluggi)[clickstorm/cs-seo

\[clickstorm\] SEO - Extension for TYPO3. Enables important onpage features for search engine optimization (SEO). Expands the page settings and any desired records for example with a preview for Google search results (SERP) Structured Data (JSON-LD) and a Focus Keyword. Restrictive hreflang and canonical tags. Modules for metadata of records and alternative texts of images. Further features are shown in the extension manual.

37542.0k1](/packages/clickstorm-cs-seo)[friendsoftypo3/interest

REST and CLI API for adding, updating, and deleting records in TYPO3. Tracks relations so records can be inserted in any order. Uses remote ID mapping so you don't have to keep track of what UID a record has gotten after import. Data is inserted using backend APIs as if a real human did it, so you can can inspect the record history and undo actions.

122.6k1](/packages/friendsoftypo3-interest)

PHPackages © 2026

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