From looking at the database I've been able to determine values for various codes, but I have not been able to understand how they are assigned in the code. For example, the following Order Status codes can be seen in the Order table.
It's just an enum with set integer values. Have a look at \Libraries\Nop.Core\Domain\Orders\OrderStatus.cs file. And Order entity has two properties: 1. int OrderStatusId (persisted in database) 2. OrderStatus OrderStatus (not persisted in database, but actually refers to the first property - OrderStatusId)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.