CoCart Developer Resources

How to get help

For development help, start with the CoCart Community Forum, to see if someone else has already asked the same question. You can also pose your question in the #support channel of the Discord Community. If you’re not sure where to ask your question, you can always contact me and I will be glad to point you in the right direction.

How to use these resources

The resources below are divided into different categories based on what you might use them for when developing with CoCart. Some resources are tools and libraries that streamline the development process. Others are written guides, examples, and documentation. Use the menu below to jump to a specific section.


Use these resources to help take some of the heavy lifting off of fetching and transforming data.

API Clients


This is a utility to make WordPress REST API requests. It’s a wrapper around window.fetch that includes support for nonces, middleware, and custom fetch handlers.


Use these recommended plugins to help setup your WooCommerce store for CoCart.


This plugin extends the WordPress REST API with new routes for WordPress registered menus.

CoCart – CORS

Enables support for CORS to allow CoCart to work across multiple domains. Simply install and activate. No configuration required!

Replace Internal Link URLs

Replaces internal link URL domains with that of the decoupled site or app.

REST API Toolbox

Allows tweaking of several REST API settings.

CoCart – Cart Enhanced

Enhances the cart response returned with additional product details and more.


VSCode Extension – Snippets & Autocomplete

This extension for Visual Studio Code adds CoCart snippets and auto-completion of functions, classes and hooks.


Log all REST API requests and responses. Great for debugging.

Query Monitor

A developer tools panel for WordPress. It enables debugging of database queries, PHP errors, hooks and actions, block editor blocks, enqueued scripts and stylesheets, HTTP API calls, and more.

CoCart Beta Tester

Run bleeding edge versions of CoCart Lite from the GitHub repository. This will replace your installed version of CoCart Lite with the latest tagged pre-release on GitHub – use with caution, and not on production sites. You have been warned.

Disable REST API

The most comprehensive plugin for controlling access to the WordPress REST API. Useful to disable routes you are not using.

Transients Manager

A developer’s tool that provides a UI to manage your site’s transients. You can view, search, edit, and delete transients at will. Perfect for helping with testing and debugging.


We’ve been there and solved that. These resources are a great starting point for resolving common challenges.

Snippets Archive

This is an archive of code samples that may help you solve any problems when developing with CoCart.

Cart Callback Example

An example of registering a callback that can be triggered when updating the cart with CoCart.

Community Resources

Use these links to connect with other developers and discover external resources within the CoCart ecosystem.

GitHub Repositories

CoCart on GitHub

This is the official CoCart organization on GitHub. Here you’ll find the majority of development work that happens on open source projects that I maintain.

Bug Reporting for CoCart Pro

This is the official place for reporting bugs in CoCart Pro.

Ecosystem Resources

WordPress Developer Resources

All the resources you need for developing with WordPress. If you’re not familiar with the WordPress development ecosystem, this is a great place to start.

CoCart on Discord

A Discord community for developers, WooCommerce agencies and shop owners building the fastest and best headless stores.

WordPress Community Forum

Use this forum to ask questions about CoCart.

CoCart on Reddit

Use the Reddit community here to ask questions about CoCart.

Translate CoCart

Translate CoCart as a community in other languages.

Was this helpful to you?