PieterM last edited by
On my product page the customer can add a personalised text that can be printed on the product.
Now I have added this inputfield on the overridden view with a custom name.
The problem I have is that this data is send in the request but it isn't saved on the cart-items tableobject. The table is already updated with this new field. I sah in code that I need to override the packages/Webkul/Checkout/src/Cart.php class because here the array with data is given to the createItem method.
My question is how can I override this class?
If there is a better method to achieve this please inform me.
rahul last edited by
Please read below one -