
Headless WooCommerce Made Easy with CoCart
Hospedagem WordPress com plugin CoCart – Decoupling WooCommerce Made Easy
Onde devo hospedar o plugin CoCart – Decoupling WooCommerce Made Easy?
Este plugin pode ser hospedado em qualquer provedor que possua WordPress configurado. Recomendamos escolher um provedor de hospedagem de confiança, com servidores otimizados para WordPress, como o serviço de hospedagem WordPress da MCO2.
Hospedando o plugin CoCart – Decoupling WooCommerce Made Easy em um provedor confiável
A MCO2, além de configurar e instalar o WordPress na versão mais nova para seus clientes, oferece o WP SafePress, um sistema exclusivo que salvaguarda e aumenta a performance do seu site ao mesmo tempo.
Por que a Hospedagem WordPress funciona melhor na MCO2?
A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens e fotos, proteção da página de login, bloqueio de atividades suspeitas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São recursos que potencializam seu WordPress para a máxima segurança e o máximo desempenho.
CoCart provides developers with a flexible REST API, designed to save hours of development so you can spend time building modern and scalable stores away from WordPress. Unlock your WooCommerce store, TODAY.
Using CoCart makes building headless stores in modern frameworks like Astro, React, Vue, or Next.js easy and makes complex customizations a breeze.
Why WooCommerce?
CoCart chose to support WooCommerce because it provides a flexible and efficient way to build cutting-edge stores with WordPress at its core. However, it was missing a key component to decouple WooCommerce via the REST API efficiently. That’s where CoCart comes in.
Finally, a REST API that’s Easy and Powerful
Struggling with performance? Finding it hard to decouple WooCommerce from WordPress without hitting roadblocks? CoCart is here to eliminate the hassle of creating your own REST API endpoints for WooCommerce and provides all the essential features for a powerful, headless eCommerce experience making it easy to decouple WooCommerce from WordPress.
- Source of Truth – CoCart utilizes WooCommerce’s Data Stores API and mirrors most WooCommerce hooks, ensuring broad compatibility with numerous extensions right from the start.
- No Cookie Required – Our session handler generates a unique key for each user session in the WordPress database, storing session-related metadata on the client side without imposing a heavy load.
- Easy Authentication – No Admin API Keys required. Customers can log in with their account either with Email+Password, Username+Password, or Phone Number+Password.
- Domain Dominance – Addressing CORS issues in decoupled setups, CoCart grants you control over the origin.
- Efficient Product Search – Search products by name, ID, or SKU; filter and retrieve necessary product data without authentication, ensuring no private data is exposed.
- Real-Time Cart Validation – Our system minimizes the need for multiple requests to verify item and coupon validity in your cart. It efficiently checks stock, calculates totals and fees, ensuring real-time accuracy so your responses are consistently up-to-date.
- No Headless Checkout? – Easily load any cart session into the native WooCommerce checkout if you prefer.
- Customizable Callbacks – Register your own cart callbacks without creating new endpoints. CoCart handles the rest, returning responses once complete.
- Customer Tracking – Monitor all cart sessions, including those nearing expiration or already expired.
- Name Your Price Built In – Empower your customers to set their price, encouraging support with flexible payment options that broaden your paying audience.
- Bulk Requests – Batch multiple cart requests at once for efficiency and faster responses.
And this is just the start. With CoCart, your WooCommerce store can be faster, more flexible, and ready to take on any custom solution you dream up.
★★★★★
An excellent plugin, which makes building a headless WooCommerce experience a breeze. Easy to use, nearly zero setup time. Harald Schneider
🛒 Built for developers, by developers
CoCart was born out of frustration with no easy solution on the market. As beautiful as it functions, the API is just as flexible with you, the developer, in mind. We spend an unfathomable amount of time making the API a joy to work with.
Our goal is to create the API for you so you can focus on building a headless store. Integrate with CoCart in days, not months.
★★★★★
Amazing Plugin. I’m using it to create a react-native app with WooCommerce as the back-end. This plugin is a life-saver! Daniel Loureiro
📦 Serious about going headless?
Unlock your store’s true potential. Upgrade to access premium features and extend CoCart’s capabilities to take your headless WooCommerce store even further.
See what else we have in store.
★★★★★
This plugin saved me tons of work and it is working amazingly! The plugin author provides fast and high-quality support. Well done! @codenroll
💜 Need Support?
We aim to provide regular support for the CoCart plugin via our Discord community server. Please understand that we do prioritize support for our paying customers.
🧰 Developer Tools
- CoCart Beta Tester allows you to easily update to pre-release versions of CoCart for testing and development purposes.
- CoCart VSCode extension for Visual Studio Code adds snippets and autocompletion of functions, classes, and hooks.
- CoCart Product Support Boilerplate provides a basic boilerplate for supporting different product types to add to the cart with validation including adding your own parameters.
- CoCart Cart Callback Example provides you an example of registering a callback that can be triggered when updating the cart.
📢 Testimonials – Developers just love it
★★★★★
Thanks for doing such great work with this! Works exactly as expected and CoCart seems to have a nice community around it. The founder seems really devoted and that’s one of the key things for a plugin like this to live on and get the right updates in the future. We just got ourselves the lifetime subscription. Mighty Group Agency
★★★★★
This plugin works great out of the box for adding products to the cart via API. The code is solid and functionality is as expected, thanks Sebastien! Scott Bolinger, Creator of Holler Box
More testimonials
☀️ Upgrading
It is recommended that anytime you want to update CoCart that you get familiar with what’s changed in the release.
CoCart publishes release notes via the changelog.
CoCart uses Semver practices. The summary of Semver versioning is as follows:
- MAJOR version when you make incompatible API changes.
- MINOR version when you add functionality in a backwards compatible manner.
- PATCH version when you make backwards compatible bug fixes.
You can read more about the details of Semver at semver.org
👍 Add-ons to further enhance CoCart
We also have add-ons that extend CoCart to enhance your development and your customers shopping experience.
- CoCart – CORS enables support for CORS to allow CoCart to work across multiple domains.
- CoCart – JWT Authentication allows you to authenticate via a simple JWT Token.
- CoCart – Cart Enhanced enhances the data returned for the cart and the items added to it.
- and more add-ons in development.
They work with the core of CoCart already, and these add-ons of course come with support too.
⌨️ Join our growing community
On Discord, we have a community of developers, WordPress agencies, and shop owners building the fastest and best headless WooCommerce stores with CoCart.
Come and join our community
Built with developers in mind
If you’re interested to jump in the project, there are opportunities for developers at all levels to get involved. Contribute to CoCart on the GitHub repository and join the party. 🎉
🐞 Bug reports
Bug reports for CoCart are welcomed in the CoCart repository on GitHub. Please note that GitHub is not a support forum, and that issues that aren’t properly qualified as bugs will be closed.
More information
- The official CoCart API plugin website.
- CoCart for Developers, an official hub for resources you need to be productive with CoCart and keep track of everything that is happening with the API.
- CoCart API Reference
- Subscribe to updates
- Like, Follow and Star on Facebook, Twitter, Instagram and GitHub
💯 Credits
This plugin is developed and maintained by Sébastien Dumont.
Founder of CoCart Headless, LLC.
Contributors & Developers
You can help translate “CoCart” into your language.
INTERESTED IN DEVELOPMENT?
Browse the code on GitHub, or follow the CoCart development blog for the latest development updates. You can also follow @cocartapi on Twitter to stay up to date about everything happening with CoCart.
Please share your experience
We’d love to hear what you have to say. Share your experience and help others discover CoCart. It helps to keep the plugin going strong, and is greatly appreciated.
Capturas de tela

Get Products (API v2)

Get Individual Product (API v2)

Add Item to Cart (API v2)