
Enables the rate limiting feature for CoCart.
Author: | CoCart Headless, LLC (profile at wordpress.org) |
WordPress version required: | 5.6 |
WordPress version tested: | 6.6.1 |
Plugin version: | 1.0.4 |
Added to WordPress repository: | 04-03-2023 |
Last updated: | 26-07-2024 |
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://cocartapi.com |
Total downloads: | 1 440 |
Active installs: | 10+ |
![]() Click to start download |
Enables the rate limiting feature for CoCart that is available in CoCart Plus and up.
Simply install and activate. No configuration required!
But if you want, you can change any of the options via your wp-config.php
file.
★★★★★
An excellent plugin, which makes building a headless WooCommerce experience a breeze. Easy to use, nearly zero setup time. Harald Schneider
Constants
These are the constants to use in your wp-config.php
which will override the default values.
define( 'COCART_RATE_LIMITING_ENABLED', true );
define( 'COCART_RATE_LIMITING_PROXY_SUPPORT', false );
define( 'COCART_RATE_LIMITING_LIMIT', 25 );
define( 'COCART_RATE_LIMITING_SECONDS', 10 );
[See guide on Rate Limiting] for more advanced setup.
???? Developer Tools
- CoCart Beta Tester allows you to easily update to pre-release versions of CoCart Lite 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 a 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.
★★★★★
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
???? 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 – CORS enables support for CORS to allow CoCart to work across multiple domains.
- CoCart – Cart Enhanced enhances the data returned for the cart and the items added to it.
- CoCart – JWT Authentication allows you to authenticate via a simple JWT Token.
- 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.
???? Bug reports
Bug reports for CoCart – Rate Limiting Support are welcomed in the CoCart – Rate Limiting 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.
- The CoCart Documentation
- 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.
ChangeLog