-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding to cart removes custom field data in current cart #347
Comments
Any thoughts on this? I have a few custom fields in use on an order and every time you add to cart it just clears all that data. Even to the point that if there is a custom field that is a radio button type it removed the default value. |
@nfourtythree sounds like a bug. Attempting to reproduce. |
@lukeholder were you able to replicate this? Happy to screenshare if required or provide more data. This has unfortunately halted the project as the custom fields are needed through the checkout process. Let me know if you need anything more or if there is anything I could take a look at. Thanks! |
Confirmed it is a bug (compared to functionality in commerce 1). But sounds like we need to figure it out in craft core. Will give you an update soon. |
FYI Was a bug in commerce. |
Description
I have a custom field on the order/cart called
quoteReference
using the update cart form I can update and this persists as expected.However, if you then add to cart (using a different update cart form) it wipes out the custom field data.
I have created a test twig template to demonstrate what is happening
I can't imagine that you would need to have all the custom field data in every update cart form?
Have detailed below how to reproduct the error with the demo template above.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: