Skip to content
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

Open
wants to merge 11 commits into
base: 2.x
Choose a base branch
from

Conversation

dblaichinger
Copy link
Contributor

Overview

In order to avoid BC-BREAK in #143, the extension of CartItemInterface was removed there. See: #143 (comment)

This pull request will extend the CartItemInterface again, as the method setCustomProperties should be defined there.
Please add label BC-BREAK here and consider it when creating next major release.

Thank you!

dblaichinger and others added 10 commits December 14, 2023 09:27
…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
@dblaichinger
Copy link
Contributor Author

Hi @fashxp,

just wanted to check back regarding #143 (comment).

Do you suggest to add a new field params and add it to \CartManager\CartItem\Dao::$fieldsToSave to be saved automatically?

Thanks,
Daniel

@fashxp
Copy link
Member

fashxp commented Apr 15, 2024

@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).

@mattamon mattamon changed the base branch from 1.x to 2.x October 23, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants