• Resolved neshymama

    (@neshymama)


    Hi, i seem to have issues to getting the analytics showing the correct net sales. I have discounted rates for some of my products which have been added via PHP snippets based on how many items they have bought, using the WC()->cart->add_fee method on the checkout.

    In this example, the total item price is $99 but a discount or $9 was given. So the net sales should be $90. (I apologize for not having images uploaded because it didn’t allow me to copy and paste screenshots)

    On the order page, it looks like this:

    Discount : – $9

    Items Subtotal:<bdi>$99.00</bdi>

    Order Total:<bdi>$90.00</bdi>

    Paid: <bdi>$90.00</bdi>

    On the admin analytics page to show all orders for a product (path for URL is page=wc-admin&filter=advanced&product_includes=<product-id>&path=%2Fanalytics%2Forders), it displays $90 as net sales which is correct

    However on the overview or the product overview page ( URL path : page=wc-admin&path=%2Fanalytics%2Fproducts&filter=single_product&products=6437&orderby=net_revenue&order=desc),

    it shows the sale price before the item was discounted, which is $99

    Is it a bug or do i have to change some settings to get it to display the correct net price?

    Pls let me know what i need to do. thank you!

    • This topic was modified 7 months, 3 weeks ago by neshymama.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.