Highlights
- Press Cmd+K or Ctrl+K to jump to any page, run an action or switch a preference.
- Search products, orders and customers without leaving the keyboard.
- Sidebar pages and settings show up on their own, with the same icons and permissions.
- Add your own commands: open a page, open a panel or run code on the server.
- Swap the built-in search for Scout, Typesense or another engine.
Description
Shopper Command Palette adds a keyboard-first palette to the Shopper admin panel. Press ⌘K (or Ctrl K) on any page to jump to a screen, run an action, switch a preference or find a record.
What you get
- One input that filters actions, pages, settings and preferences as you type.
- Prefixes to narrow the search:
>for actions,#for products,$for orders,@for customers,?for the list of shortcuts. - Tab enters a scope or a record, Backspace goes back one level.
- Pages and settings are read from the admin sidebar and the settings menu. Anything you add there shows up in the palette with the same icon and the same permissions.
- A search button in the admin header for mouse users.
Built to be extended
- Register your own commands through the
CommandPalettefacade: visit a URL, open a Shopper slide-over, dispatch a Livewire or browser event, copy a value, or run a closure on the server. - Hide a command by permission or by condition. A hidden command is never sent to the browser.
- Add your own groups, and replace or hide any built-in command.
- Add a search scope for any Eloquent model, with its own prefix, its result row and the commands offered on each record.
- Replace the built-in products, orders and customers scopes with your own.
- Bind your own searcher to use Scout, Typesense or another engine on a large catalog.
Configuration
The shortcut key, the search debounce and the number of results are set in one config file. Every label is translatable.
Requirements
- Shopper 3.0
- PHP 8.3 or higher
- Laravel 12 or 13
Installation
After purchase, your Pakua account shows your license key and the Composer commands with the key filled in. Require shopper/command-palette, register the add-on in your AppServiceProvider and publish the assets.
