Tuesday 15 April 2014

php - "Submitted form is invalid" when adding a product to cart : Sylius Cart Bundle -


If I think this is a very naive question then I'm sorry .. but I have learned symphony 2 and work

The submission form is invalid

When I add a product to the car, it always returns the error:

The submission form is invalid

I have searched for this solution, but nothing seems to have happened (or have I missed it ??)

I also verified Commented on the section but still the same error, please help and thanks in advance.

There was something I had to do with options on the products and I had a single error and through the profiler on Doctrine information , There was an error for 2 out of the items in the database. Specifically, it could not map Cylse \ Bundle \ AssortmentBundle \ Entity \ CustomizableProduct or Sylius \ Bundle \ AssortmentBundle \ Entity \ Variant \ Variant.

To fix this, I had to generate the variant of that product in the admin area in the Product Details page. Without variants to add to the car, it can not choose a specific type of product to add to the car.

I think a better error should arise, especially when the app is running in the mode.

No comments:

Post a Comment