CoCart CLI (COCART-CLI) offers an efficient way to manage carts via the command line.
This tool is an add-on and leverages the capabilities of the CoCart REST API. This means that most tasks achievable through the REST API can also be performed via the command line.
CoCart CLI is an add-on that is part of CoCart Pro tier. You will find it as one of the benefits in your account. Simply download and install the plugin.
Is CoCart CLI different from WP-CLI?
CoCart CLI is a part of WP-CLI specifically designed for CoCart. While WP-CLI deals with general WordPress management, COCART-CLI focuses on CoCart-specific tasks.
This error often occurs if your user role doesn’t have the necessary permissions. Ensure you’re using an account with administrative privileges.
What should I do if a command is not working as expected?
Check for typos and verify the command syntax with –help. If the issue persists, consult the Command Reference or seek support from the CoCart community.