Missing shipping line item
-
First, thanks for this plugin. Good work.
I have a minor issue with the Pro Version:
When we create new orders the shipping cost is displayed and calculated correctly. We then “Go to checkout” in order to finish the payment according to the customers needs. Until here everything seems to be correct: the shipping cost is calculated correctly based on the billing address.Now, when we take a look at the order in WooCommerce there is a difference to regular orders: the shipping line item is missing (usually displayed below the line items with a truck icon). So in effect it’s also missing from the totals listed in all order emails, and furthermore not listed on the PDF.
That said, it would be nice to have this fixed in the plugin itself.
We are using WooCommerce 3.6.2, WP 5.2, Germanized Pro and Flatsome Theme.
I more or less fixed this today by hooking a function into WooCommerce hooks, checking if there is such a shipping line item present or not, and if necessary appending it for all physical goods carts. I noticed that the method for getting the shipping cost did give me the correct amount, still the line item wasn’t there.Weirdly, when simply saving the new order instead of going to the checkout I see a shop_order with status draft that does have the shipping cost line item.
Thanks
- The topic ‘Missing shipping line item’ is closed to new replies.