[Resolved] Shopping Cart Product Options Error
I just upgraded my plugins and I can no longer add products to my shopping cart. I get a red box with the error message:
Invalid Product Options
We could not add the product “product name” to the cart because the product options are invalid.
I have tried disabling all active plugins one by one but that has not helped. I have also tried to change all the product options I could find and nothing helps. Updating the plugin was very easy, is there an easy way to roll back the update?
Update: I discovered that the recent update removed a vulnerability by comparing all product variations (color or size) from items being added to the shopping cart to the product variations saved on the server. The idea was to make sure that you could not select the same variation several times for one item on an order. This is especially important if the variation also effects the price of the item (X-Large cost $1 more or Blue coste $2 less). I had the color variations for my items in option box 2 as indicated in the text examples under the option box. I had nothing in option box 1. What probably happened was that the update compared my options to option box 1 on the server first and when it did not see anything, the software assumed there was no data and did not check option box 2 for input (we all know what we make when we assume right?) Then the update blocked the item from being added to the shopping cart. Not good especially when this applies to nearly every item on my website!
My Personal Fix: I had to spend a couple hours going item by item in the products list moving all of my color options from option box 2 to option box 1.
For Cart 66: The way to correct this weakness is to patch the update with code to check option box 2 even if nothing shows in option box 1 on the server.
- The topic ‘[Resolved] Shopping Cart Product Options Error’ is closed to new replies.