Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Adding WooCommerce Stats command#175

Merged
cagrimmett merged 18 commits intotrunkfrom
feature/woo-stats
Jun 7, 2023
Merged

Adding WooCommerce Stats command#175
cagrimmett merged 18 commits intotrunkfrom
feature/woo-stats

Conversation

@cagrimmett
Copy link
Copy Markdown
Contributor

  1. Fetches a8cteam51 sites
  2. Filters out non-production sites
  3. Checks for WooCommerce
  4. If WooCommerce is active, check the API for stats for the given time period
  5. Sort, format, and output

@cagrimmett
Copy link
Copy Markdown
Contributor Author

Changed to check Jetpack profiles by default, with the option to check production sites if needed. Cuts runtime down from 6 minutes to under 2 minutes.

Comment thread src/commands/get-woocommerce-stats.php Outdated
Comment thread src/commands/get-woocommerce-stats.php Outdated
Comment thread src/commands/get-woocommerce-stats.php Outdated
Comment thread src/commands/get-woocommerce-stats.php Outdated
Comment thread src/commands/get-woocommerce-stats.php Outdated
Comment thread src/commands/get-woocommerce-stats.php Outdated
Comment thread src/commands/get-woocommerce-stats.php Outdated
Comment thread src/commands/get-woocommerce-stats.php
Comment thread src/commands/get-woocommerce-stats.php Outdated
Comment thread src/commands/get-woocommerce-stats.php Outdated
Comment thread src/commands/stats-woocommerce-orders.php
Comment thread src/commands/stats-woocommerce-orders.php Outdated
Comment thread src/commands/stats-woocommerce-orders.php
@cagrimmett cagrimmett requested a review from spencermorin March 1, 2023 20:20
@cagrimmett cagrimmett merged commit 41d8efc into trunk Jun 7, 2023
@cagrimmett cagrimmett deleted the feature/woo-stats branch June 7, 2023 18:17
ahegyes pushed a commit that referenced this pull request Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants