Open dblaichinger opened 7 months ago
Hi @fashxp,
just wanted to check back regarding https://github.com/pimcore/ecommerce-framework-bundle/pull/143#issuecomment-1926685356.
Do you suggest to add a new field params
and add it to \CartManager\CartItem\Dao::$fieldsToSave
to be saved automatically?
Thanks, Daniel
@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 https://github.com/pimcore/ecommerce-framework-bundle/pull/143, the extension ofCartItemInterface
was removed there. See: https://github.com/pimcore/ecommerce-framework-bundle/pull/143#issuecomment-1857850653This pull request will extend the
CartItemInterface
again, as the methodsetCustomProperties
should be defined there. Please add labelBC-BREAK
here and consider it when creating next major release.Thank you!