getdokan / dokan

Multivendor marketplace platform
https://wordpress.org/plugins/dokan-lite/
249 stars 191 forks source link

Woocommerce analytics for suborder #2265

Open Aunshon opened 2 months ago

Aunshon commented 2 months ago

All Submissions:

Changes proposed in this Pull Request:

Fix the analytics order for refund orders and orders.

Closes

How to test the changes in this Pull Request:

Changelog entry

**fix:** Missing refund orders for WooCommerce Analytics for dokan sub order

Detailed Description of the pull request. What was previous behaviour and what will be changed in this PR.

Before Changes

Describe the issue before changes with screenshots(s).

After Changes

Describe the issue after changes with screenshot(s).

Feature Video (optional)

Link of detailed video if this PR is for a feature.

PR Self Review Checklist:

FOR PR REVIEWER ONLY:

As a reviewer, your feedback should be focused on the idea, not the person. Seek to understand, be respectful, and focus on constructive dialog.

As a contributor, your responsibility is to learn from suggestions and iterate your pull request should it be needed based on feedback. Seek to collaborate and produce the best possible contribution to the greater whole.

shashwatahalder01 commented 2 days ago

Scenario: Refund data are not showing on woocommerce analytics

Steps to reproduce:

  1. create vendor product
  2. place multiple orders
  3. go to woocommece analytics > revenue

Screenshot: Dokan:

Screenshot at Jul 03 12-42-47 Screenshot at Jul 03 12-44-36

Woocommerce :

Screenshot at Jul 03 12-45-07 Screenshot at Jul 03 12-46-21