cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Customization required for extending OOTB cart and order itemType

former_member1573
Participant
0 Likes
771

I have more than 20 custom attributes to be added for cart.so which one is the best approach and best practices to achieve this customization.

Approach1:Expand AbstractOrder add all common attributes in to it.

Approach2:Extend AbstractOrder as AbstractCustomOrder and add attributes to it.

Appraoch3:Extend Cart and Order Model to add attributes.

Let me know suggestion and development efforts for customization to work all OOTB modules.

Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

pandeysuresh06
Participant
0 Likes

CartModel and OrderModel extends AbstractOrder. it would be better to add all the attributes to AbstractOrder because in this way when you convert the cart mode to Order Model all the attributes would get copied.