marello icon indicating copy to clipboard operation
marello copied to clipboard

Order item custom options

Open clicktrend opened this issue 9 years ago • 5 comments

There is no field for custom options of a an ordered item. I think it's a required field to handle orders in Marello. Please add a field to show custom options. This field can be a "data" field where custom options can be stored serialized.

clicktrend avatar Jan 23 '17 09:01 clicktrend

Hi @clicktrend,

The custom options are not required nor are they actually implemented. You could use the data field to store such options for now. We'll have a look at the custom options case, in order to see how we should process them.

Thank you for your input!

Kind Regards,

Jaimy

24198 avatar Jan 23 '17 13:01 24198

I need a "data" field on table "marello_order_order_item". Unfortunally it doesn't exists.

I don't know your plans but I will extend that table with my custom bundle.

Thanks

clicktrend avatar Jan 23 '17 13:01 clicktrend

Hi @clicktrend,

Sorry I misunderstood the intent and the place of where you would actually wanted the data field. At this very moment we don't have any plans to act on the custom options, since we don't have a use case for this yet. Adding the extra data field on order should give you the functionality you're looking for.

Kind Regards,

Jaimy Casteleijn

24198 avatar Mar 08 '17 13:03 24198

Hi @24198

I decided to extend your order bundle to save custom options. To make it happen you have to call the parent constructor of the mapped superclass. Please add "parent::__construct();" to OrderItem.php

clicktrend avatar Nov 10 '17 11:11 clicktrend

Hi @clicktrend,

We've applied calling the parent constructor in the OrderItem in the next release. This will be scheduled by the end of the month. I will also apply the fix in our previous versions and release them too.

Thank you for your support and questions

Kinds Regards,

Jaimy Casteleijn

24198 avatar Nov 23 '17 08:11 24198