-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add setCustomProperties method to CartItemInterface #146
base: 2.x
Are you sure you want to change the base?
Add setCustomProperties method to CartItemInterface #146
Conversation
…use $params in Cart::addItem
…use $params in Cart::addItem
…chinger/ecommerce-framework-bundle into add-custom-properties-to-cart-item
Co-authored-by: Sebastian Blank <sebastian.bl@gmx.de>
…chinger/ecommerce-framework-bundle into add-custom-properties-to-cart-item
…chinger/ecommerce-framework-bundle into add-custom-properties-to-cart-item
…chinger/ecommerce-framework-bundle into add-custom-properties-to-cart-item
…chinger/ecommerce-framework-bundle into add-custom-properties-to-cart-item
…d $params variable
Hi @fashxp, just wanted to check back regarding #143 (comment). Do you suggest to add a new field Thanks, |
@dblaichinger sorry for not coming back earlier, I missed that comment :( yes, I was thinking of saving this additional data automatically. Not sure, what is necessary for that all though out of my head ... probably depends on the cart implementation, as the db cart will need some additional database table and some strategy to save this data (e.g. as json or something similar). |
Overview
In order to avoid
BC-BREAK
in #143, the extension ofCartItemInterface
was removed there. See: #143 (comment)This pull request will extend the
CartItemInterface
again, as the methodsetCustomProperties
should be defined there.Please add label
BC-BREAK
here and consider it when creating next major release.Thank you!