-
-
Notifications
You must be signed in to change notification settings - Fork 724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DFC Orders] Compute stock of retail variants from wholesale variants #12928
Comments
From @RaggedStaff
There's an assumption here that one retail product is linked to one wholesale product for backordering and the stock is synced. But I see the DFC world with more flexibility. From my perspective, a customer is ordering a retail product and then the platform decides how to fulfill this. There could be one wholesale product in a 1-to-1 relationship or with a transformation. But there could also be multiple sources, for example three suppliers for wheat flour and the platform could backorder whatever is the best deal. So I guess, whatever the backordering logic sees as available, would need to be added up in the local stock level for the retail variant. This is quite different to the simple product import sync we are doing at the moment where we have a 1-to-1 copy process. I think I'm just worried that we'll make this part complicated and then some people will want the simple 1-to-1 copy later. I guess that we are missing some UX to let the user decide what they want to happen. So for now, we can go with mapping the backorderable stock. |
A shop sells a stock-controlled retail variant but backorders are placed for the wholesale variant. The current implementation tracks the stock of the retail variant only and doesn't take into account the stock of the wholesale variant.
Example:
4 * 6 = 24
.Compatibility questions:
4 * 6 + 5 = 29
The backordering logic would need to check stock and choose from several offers to fulfill all orders.
In OFN, they are two different products with their own stock, not shared stock. At the moment, customers could buy the retail variant and the wholesale variant. But because both are mapped to the wholesale variant, it would be oversold.
The text was updated successfully, but these errors were encountered: