? This is a HOTFIX!
Two fields were overlooked when applying the new validation in the latest update v2.7 and that is the
cart_item_data fields when adding a product. Due to seeing the data returned as an array when it comes to validating those fields internally, I thought the fields should be checked as an array but all this time it’s been an object that is passed via those fields so my bad. ?♂️
I have also updated to the properties table for adding a product in the documentation too. The examples provided in the docs are still correct so you should not make any changes to your code. Just make sure you have this update installed.
You can download the latest release of CoCart Lite here or visit Dashboard → Updates to update the plugin from your WordPress admin screen.
As usual, if you spot any other issues in the CoCart Lite, please log them in detail on GitHub.