Question

I am copying single valued attributes from product to quote item and converting to order item. But is it possible to do that with an array? If yes - what's the process and what type should the table in the database be?

Was it helpful?

Solution

There's no such an attribute type as array in Magento. I suggest just serialising your array and then saving it to quote/order. You can alternatively use JSON format.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top