Support » Plugin: Booster for WooCommerce » Links for reports

  • Resolved bipolab

    (@bipolab)


    Hello,
    is it possible to have “Export Orders” link without the current date for certain, prefixed ranges like “today”, “yesterday”, “week”, “month”?

    I’ve added to WP Admin menu a new custom item “Reports” which cointains fields chosen by the shop ownwer. This menu item has the simple following link: /wp-admin/admin.php?page=wcj-tools&tab=export_orders and it works but I would like to add some subitems too (like the already named: “Today”, “yesterday”; “week”, “month” and so on…)

    Links are generated with dynamic parameters added to the urls EG:
    https://www.mysite.com/wp-admin/admin.php?page=wcj-tools&tab=export_orders&start_date=2019-10-21&end_date=2019-10-21&range=today

    But there’s no way to add a dydamic date like this in the plugin I’ve used to add the menu item (“ADMIN MENU EDITOR”, https://w-shadow.com/blog/2008/12/20/admin-menu-editor-for-wordpress/)

    If needed and if it would work, I could try to manage it -with some hints- with a filter instead of a plugin

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.