For each product i've got a seperate 'product_remarks' field which can be filled before adding the buyable product to the cart. This field can contain 'custom information' about the product and it should be possible to edit this field.
The first time i add a product to the cart this attribute is saved properly. However the second time it is ignored. This can be traced to the if in: src\Models\Cart.php > addItem()
To be clear, i'm not using this attribute to copy existing buyable model attributes, but to add a custom attribute. Is it possible to implement something like this?
For each product i've got a seperate 'product_remarks' field which can be filled before adding the buyable product to the cart. This field can contain 'custom information' about the product and it should be possible to edit this field.
The first time i add a product to the cart this attribute is saved properly. However the second time it is ignored. This can be traced to the if in:
src\Models\Cart.php > addItem()
To be clear, i'm not using this attribute to copy existing buyable model attributes, but to add a custom attribute. Is it possible to implement something like this?