PHPackages                             magenteiro/loadcartbyid - 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. magenteiro/loadcartbyid

ActiveMagento2-module[API Development](/categories/api)

magenteiro/loadcartbyid
=======================

Load a Magento cart from its masked cartId (generated in graphQL)

1.0.0(3y ago)07GNU General Public License (GPL)PHP

Since Feb 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/magenteiro/loadcartbyid)[ Packagist](https://packagist.org/packages/magenteiro/loadcartbyid)[ RSS](/packages/magenteiro-loadcartbyid/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Magenteiro\_LoadCartById module
===============================

[](#magenteiro_loadcartbyid-module)

When [creating an empty cart in graphQL](https://developer.adobe.com/commerce/webapi/graphql/schema/cart/mutations/create-empty-cart/) you are given a masked cart id.

With this module, you can load its cart in the current session within your Magento store. Its useful if you don't want to handle the checkout process on third party url.

*Quando [criamos um carrinho vazio no graphQL](https://developer.adobe.com/commerce/webapi/graphql/schema/cart/mutations/create-empty-cart/), ganhamos um id de quote mascarado.*

*Com este módulo é possível carregar este carrinho na seção da loja Magento. Isto é útil caso deseje dar continuidade ao checkout dentro do próprio Magento.*

Installation details (Instalação)
---------------------------------

[](#installation-details-instalação)

`composer require magenteiro/loadcartbyid`

`bin/magento module:enable Magenteiro_LoadCartById`

How to use (Como usar)
----------------------

[](#how-to-use-como-usar)

Access .

For example:

The quote will be loaded in the current session and the user will be redirected to /checkout/cart to complete transaction.

*Visite .*

*Por exemplo: *

*O carrinho será carregado com os produtos da quote especificada e o usuário será levado para o carrinho.*

License (Licença)
-----------------

[](#license-licença)

GPL v3

Author
------

[](#author)

Ricardo Martins

This module is part of part of our [Next.JS Course](https://magenteiro.com/nextjs).

*Este módulo é parte do [Curso de Next.JS](https://magenteiro.com/nextjs) do Magenteiro.com.*

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1223d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc001164ed8af49820c2e2289141ad0168a056ef6fbe019f18d1847b8829417a?d=identicon)[r-martins](/maintainers/r-martins)

---

Top Contributors

[![r-martins](https://avatars.githubusercontent.com/u/191149?v=4)](https://github.com/r-martins "r-martins (3 commits)")

---

Tags

graphqlmagentoquote

### Embed Badge

![Health badge](/badges/magenteiro-loadcartbyid/health.svg)

```
[![Health](https://phpackages.com/badges/magenteiro-loadcartbyid/health.svg)](https://phpackages.com/packages/magenteiro-loadcartbyid)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8064.7M49](/packages/smile-elasticsuite)[elgentos/module-prismicio

Magento 2 - Prismic.io integration

39119.0k4](/packages/elgentos-module-prismicio)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)

PHPackages © 2026

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