Replies: 3 comments 3 replies
-
In the same vein, I think Orders are an even more important part of merchants' day-to-day?
My worry would be that there's some potential for things to become too cluttered. IMHO explicit opt-in by type could be the cleaner option. |
Beta Was this translation helpful? Give feedback.
-
I maintain a private plugin that essentially does that, but I don't think WooCommerce in its current form can support searching for products and orders from a palette simply because of how slow it can be. The plugin I have syncs up the inventory and orders with Algolia and searches it directly. I think other commands are possible like creating products and orders. |
Beta Was this translation helpful? Give feedback.
-
Here's my proposal:
*- we could also include [order_id], but I wonder how many merchants know all the ids. Eventually, it would make more sense to show orders that have a specific product, when the users search for that product, but this is too complex for the i1 and it needs more validation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
WordPress 6.3 introduced the Command Palette API and WordPress 6.4 updated it with several improvements. The Command Palette allows users to access certain actions directly from the post and site editors using commands.
Currently, WooCommerce doesn't include any specific commerce-related commands. This discussion is about deciding which commands might be good to add and, eventually, adding them.
Heads-up that there is already an open PR which adds one example command in #39268. So what's left is deciding which commands we want to include. There has also been some previous discussion about this topic here: woocommerce/woocommerce-blocks#11521.
Proposal
These are the proposed commands:
Iteration 1
Static commands
Sidenote: should we consider making a contribution upstream in Gutenberg, so any Custom Post Types appear automatically in the command line?Dynamic commands
Iteration 2
Dynamic commands
Keep in mind that I intentionally didn't include commands related to the new Product Editor for now.
Questions
Beta Was this translation helpful? Give feedback.
All reactions