Wrong Product Prices
-
Hi guys,
There is a bug in the prices in the “Overview” tab in the metabox. When you are getting the order items, you should get the price from the order line item, not the product itself, because currently if someone applies a discount for example, it’s showing the regular price of the product, not the discounted one.
Lines 59 and 60 from the
templates/order-meta-box.phpfile.This will help you solve the issue https://github.com/woocommerce/woocommerce/wiki/Order-and-Order-Line-Item-Data#line-item-product
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Wrong Product Prices’ is closed to new replies.