on ‎2020 Jan 03 3:58 PM - last edited on ‎2024 Feb 04 9:21 AM by postmig_api_4
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
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.