Title: CoCart CORS Support
Author: CoCart Headless
Published: <strong>2021-04-05</strong>
Last modified: 2024-07-26

---

Search plugins

![](https://ps.w.org/cocart-cors/assets/banner-772x250.jpg?rev=2701469)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/cocart-cors/assets/icon-256x256.png?rev=2701469)

# CoCart CORS Support

 By [CoCart Headless](https://profiles.wordpress.org/cocartforwc/)

[Download](https://downloads.wordpress.org/plugin/cocart-cors.1.0.7.zip)

 * [Details](https://tt.wordpress.org/plugins/cocart-cors/#description)
 * [Reviews](https://tt.wordpress.org/plugins/cocart-cors/#reviews)
 *  [Installation](https://tt.wordpress.org/plugins/cocart-cors/#installation)
 * [Development](https://tt.wordpress.org/plugins/cocart-cors/#developers)

 [Support](https://wordpress.org/support/plugin/cocart-cors/)

## Description

This free add-on for [CoCart](https://wordpress.org/plugins/cart-rest-api-for-woocommerce/)
enables support for CORS to allow CoCart to work across multiple domains.

Simply install and activate. **No configuration required!**

★★★★★

> An excellent plugin, which makes building a headless WooCommerce experience a 
> breeze. Easy to use, nearly zero setup time. [Harald Schneider](https://wordpress.org/support/topic/excellent-plugin-8062/)

### 🧰 Developer Tools

 * **[CoCart Beta Tester](https://github.com/cocart-headless/cocart-beta-tester)**
   allows you to easily update to pre-release versions of CoCart Lite for testing
   and development purposes.
 * **[CoCart VSCode](https://github.com/cocart-headless/cocart-vscode)** extension
   for Visual Studio Code adds snippets and autocompletion of functions, classes
   and hooks.
 * **[CoCart Product Support Boilerplate](https://github.com/cocart-headless/cocart-product-support-boilerplate)**
   provides a basic boilerplate for supporting a different product types to add 
   to the cart with validation including adding your own parameters.
 * **[CoCart Cart Callback Example](https://github.com/cocart-headless/cocart-cart-callback-example)**
   provides you an example of registering a callback that can be triggered when 
   updating the cart.

★★★★★

> Amazing Plugin. I’m using it to create a react-native app with WooCommerce as 
> back-end. This plugin is a life-saver! [Daniel Loureiro](https://wordpress.org/support/topic/amazing-plugin-1562/)

#### 👍 Add-ons to further enhance CoCart

We also have other add-ons that extend CoCart to enhance your development and your
customers shopping experience.

 * **[CoCart – Cart Enhanced](https://wordpress.org/plugins/cocart-get-cart-enhanced/)**
   enhances the data returned for the cart and the items added to it.
 * **[CoCart – JWT Authentication](https://wordpress.org/plugins/cocart-jwt-authentication/)**
   allows you to authenticate via a simple JWT Token.
 * **[CoCart – Rate Limiting](https://wordpress.org/plugins/cocart-rate-limiting/)**
   enables the rate limiting feature.
 * 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

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

[Join our community](https://cocartapi.com/community/?utm_medium=wp.org&utm_source=wordpressorg&utm_campaign=readme&utm_content=cocart)

### 🐞 Bug reports

Bug reports for CoCart CORS Support are welcomed in the [CoCart CORS repository on GitHub](https://github.com/cocart-headless/cocart-cors/issues).
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](https://cocartapi.com/?utm_medium=website&utm_source=wpplugindirectory&utm_campaign=readme&utm_content=readmelink)
   website.
 * [CoCart for Developers](https://cocart.dev/?utm_medium=website&utm_source=wpplugindirectory&utm_campaign=readme&utm_content=readmelink),
   an official hub for resources you need to be productive with CoCart and keep 
   track of everything that is happening with the API.
 * The CoCart [Documentation](https://docs.cocart.xyz/)
 * [Subscribe to updates](http://eepurl.com/dKIYXE)
 * Like, Follow and Star on [Facebook](https://www.facebook.com/cocartforwc/), [Twitter](https://twitter.com/cocartapi),
   [Instagram](https://www.instagram.com/cocartheadless/) and [GitHub](https://github.com/co-cart/co-cart)

#### 💯 Credits

This plugin is developed and maintained by [Sébastien Dumont](https://twitter.com/sebd86).

Founder of [CoCart Headless, LLC](https://twitter.com/cocartheadless).

## Installation

#### Minimum Requirements

 * WordPress v5.6
 * WooCommerce v6.3
 * PHP v7.4
 * CoCart v2.9.1 or higher.

#### Recommended Requirements

 * WordPress v6.0 or higher.
 * WooCommerce v7.0 or higher.
 * PHP v8.0 or higher.

#### Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers
itself and you don’t need to leave your web browser. To do an automatic install 
of CoCart CORS Support, log in to your WordPress dashboard, navigate to the Plugins
menu and click Add New.

In the search field type “CoCart CORS” and click Search Plugins. Once you’ve found
the plugin you can view details about it such as the point release, rating and description.
Most importantly of course, you can install it by simply clicking “Install Now”.

#### Manual installation

The manual installation method involves downloading the plugin and uploading it 
to your webserver via your favourite FTP application. The WordPress codex contains
[instructions on how to do this here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

#### Updating

Automatic updates should work like a charm; as always though, ensure you backup 
your site just in case.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CoCart CORS Support” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ CoCart Headless ](https://profiles.wordpress.org/cocartforwc/)
 *   [ Sébastien Dumont ](https://profiles.wordpress.org/sebd86/)

[Translate “CoCart CORS Support” into your language.](https://translate.wordpress.org/projects/wp-plugins/cocart-cors)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cocart-cors/), check
out the [SVN repository](https://plugins.svn.wordpress.org/cocart-cors/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/cocart-cors/) by
[RSS](https://plugins.trac.wordpress.org/log/cocart-cors/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

[View the full changelog here](https://github.com/cocart-headless/cocart-cors/blob/master/CHANGELOG.md).

## Meta

 *  Version **1.0.7**
 *  Last updated **2 ел ago**
 *  Active installations **400+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.6.5**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/cocart-cors/)
 * Tags
 * [cors](https://tt.wordpress.org/plugins/tags/cors/)[decoupled](https://tt.wordpress.org/plugins/tags/decoupled/)
   [headless](https://tt.wordpress.org/plugins/tags/headless/)[rest-api](https://tt.wordpress.org/plugins/tags/rest-api/)
   [woocommerce](https://tt.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://tt.wordpress.org/plugins/cocart-cors/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cocart-cors/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cocart-cors/reviews/)

## Contributors

 *   [ CoCart Headless ](https://profiles.wordpress.org/cocartforwc/)
 *   [ Sébastien Dumont ](https://profiles.wordpress.org/sebd86/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cocart-cors/)