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 Community Slack. If you’re not sure where to ask your question, you can always contact me via the live chat 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.

Jump to: Libraries  Plugins  Utilities  Community Resources


Libraries

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

API Clients

CoCart – JavaScript

The official JavaScript library for working with CoCart.

api-fetch

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.


Plugins

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

WP-REST-API V2 Menus

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

CoCart CORS

Simply filters the session cookie to allow CoCart to work across multiple domains.

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.


Utilities

VSCode Extension – Snippets & Autocomplete

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

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.


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.

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 Slack

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

WordPress Community Forum

Use this forum to ask questions about CoCart. I’m frequent to this forum to answer questions.

Translate CoCart

Translate CoCart as a community in other languages.