CoCart Lite v3.0.17 Release Candidate 1

In version v3.0.16 I pushed a change that made validating items restrictive to only certain key names making the release unusable.

For that I apologies for any disruptions on your stores.

The release was taken down from to prevent further sites updating to it and an announcement was posted via Twitter to rollback to the last stable release which is currently v3.0.15

A new patch that not only reverts the error but improves the validation of an item is now available for testing.

To those who reported other issues, I want to say a big thank you. You will be given credit for your contributions.

You can either download it directly from GitHub or install the CoCart Beta Tester plugin.

I look forward to your feedback so that we can push this release asap. Thanks again for being a great community. 🙏


If you discover any bugs during the testing process, please let me know by logging a report on the GitHub repository. There I can manage it better and get on the issue asap.


Bug Fixes


  • Getting a single item with cart/item route now includes the cart route parameters so you can use all available.
  • Validation of item key used to remove, update or restore an item.
  • Weight does not forcefully round up as an integer value. Shows the correct weight based on the quantity of item in cart. The weight is normalised unifying to “kg” then converted to the wanted unit set by the store settings. Reported by Miguel Peixe Aldeias.


  • Moved backorders and cart_item_data into the get_item() function instead so it returns data when return_item is set to true. Data was missing as it was outside this function. Reduced duplicate code in the process. 👍 Bug reported by fatheaddrummer [Issue 288]
  • The cart/item route now extends the cart route for better code management.
  • Filter cocart_cart_item_key_required_message now passes the correct status for the second parameter.

For Developers

  • Introduced new filter cocart_quantity_minimum_requirement to specify minimum quantity requirement if not 1.