Hi Jefry,
The from section, is the shipping cost rp1.500 before you convert from cart to purchase order?
Got any custom calculators implemented?
Hi Surjit,
We implemented some workflows to calculate the shipping cost. Here we calculating shipping cost as freight charge.
So the Rp 1.500 is after the purchase order. The value is in the admin portal order details.
Any idea?
Thanks.
Your workflows are not being called Order Management and are calling the default out of the box calculators. Can you post how you are registering the workflows in code?
Hi Surjit,
Workflows are simple c# methods. These methods are calling when we add product cart and purchase. But we are not calling these workflows from admin portal. I don't know how the value of shipping cost will be overriding to zero when we click on order in "Purchase Order".
Thanks.
So...when you convert from cart to a purchase order...whether that be from in code or from order management...IShipmentProcessor is executed against them. Make sure when you do convert to a PurchaseOrder, that your custom workflows are being executed. Set a breakpoint against your simple c# methods to test.
Your simple c# methods should really be inside a custom implementation of IShipmentProcessor...and then you register that in depdency injection. So regardless of where you convert from cart to purchaseorder...your custom code will kick in.
I have seen in the code , we have not implemented "IShipmentProcessor" any where.
If you're manipulating the shipping cost calculation then your logic should be in here: https://world.optimizely.com/documentation/developer-guides/commerce/orders/calculating-orders-intro/calculating-orders-shipping-calculator/
A little more information about where your custom code is running in relation to the checkout / cart / purchase order journeywould give some better insight.
Hello World,
I'm having an issue in admin portal that the shipping cost will be zero when the order detail is opened in the admin portal order management.
From:
To:
My queries are;
First, can somebody help me to explain what is that item subtotal? And why is that using the same value with shipping cost?
Second, why is the shipping cost gone when I opened the order detail in the admin portal order management? Can it be fixed?
When the shipping turning into zero, it will give zero value as well in the order email. So it will be an issue for the receiver.
Thanks.