vanilophp/framework

Customers aren't tying into orders

Closed this issue · 2 comments

So I created some orders and set the user id to 3, on user id 3 the customer_id is set to 14, customer 14 is my only customer. Looking at the CRM it says I have 1 customer but that customer has 0 orders.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed within 3 days if no further activity occurs. Thank you for your contributions.

That is not a "lookup" field, but was designed to be updated from events. We typically update them with a listener bound to the OrderCreated event.