I upgraded my project from 9.14 to 10.4
I have adopeted the ICart for my check out page. However I haven't found the Order Number Method for generation of Custom Order Numebr for ICart .
Can someone suggest me the implementation of new order number method delegate.
Venka Phani Kumar R.
For the new APIs you can use IOrderNumberGenerator.GenerateOrderNumber. When you save your cart as a purchase order, just call that method to get a random order number
I want to assign the tracking number as web1234 instead of PO1234.
How to override the the DefaultOrderNumberGenerator with my Custom Ordergenerator.
Venkata Phani Kumar R
I got the solution ...
purchaseOrder.OrderNumber = _orderNumberGenerator.GenerateOrderNumber(Cart); _orderRepository.Save(purchaseOrder);
Its working fine ofr me ;
Venkata Phani kumar R