-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
If you've setup some widgets with Simple Commerce, there's no migration path for them in Cargo.
Not sure if this is simply a documentation exercise or whether a new command is needed that fixes the widgets.
How to reproduce
- Create a Statamic 5 site with Simple Commerce installed
- Setup Simple Commerce widgets in
config/statamic/cp.phpas follows:
'widgets' => [
[
'type' => 'orders_chart',
'width' => 100,
],
[
'type' => 'recent_orders',
'width' => 50,
'limit' => 5,
],
[
'type' => 'top_customers',
'width' => 50,
'limit' => 5,
],
],- Upgrade to Statamic 6
- Install Cargo and run the migration steps
- Login to the CP to find that it now errors due to the widgets no longer functioning
Logs
Environment
Environment
Application Name: ~snip: client confidentiality~
Laravel Version: 12.30.1
PHP Version: 8.4.12
Composer Version: 2.8.12
Environment: local
Debug Mode: ENABLED
URL: ~snip: client confidentiality~
Maintenance Mode: OFF
Timezone: UTC
Locale: en
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file
Storage
public/storage: LINKED
Statamic
Addons: 3
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.0.0-alpha.8 PRO
Statamic Addons
duncanmcclean/statamic-cargo: 1.0.0-alpha.6
statamic/seo-pro: dev-statamic-v6-support
visuellverstehen/statamic-classify: dev-statamic-6-support
Cargo
Carts: file
Orders: file
Payment Gateways: DummyAdditional details
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working