dynamicweb / DynamicWeb

Make feature requests for Dynamicweb in Issues section of this repository
https://doc.dynamicweb.dev/documentation/fundamentals/support/feature-requests.html
GNU General Public License v3.0
1 stars 0 forks source link

Consider Read vs Write operations on Carts vs other objects #177

Open nunoaguiar opened 1 month ago

nunoaguiar commented 1 month ago

Is your feature request related to a problem? Please describe. EcomOrders is currently storing data for multiple types of objects (Carts, Orders, Quotes, Ledgers and Recurring Order templates). And in some custom scenarios we tend to also import into these tables (because the data model is very similar). From the data model point of view this is mostly acceptable (despite some fields and custom fields are only applicable to some). What we're experiencing is that we have a major difference between Carts and all others:

Describe the solution you'd like Just looking from this angle, the solution seems to be to have tables just to handle Carts vs everything else. And maybe even consider which objects should live in separate tables.

Describe alternatives you've considered None for the standard things For custom objects, we discussed whether to keep using EcomOrders (adding custom fields to handle something like a LedgetSubType) versus using custom SQL tables (which then forces us to use Data Lists or Query publisher)

Additional context This topic was discussed with Jeppe at the Summit. We know it's not an immediate solution; it's an observation of real-world use cases.