Extending Order Management
Although orders have access to the same customisation as Pages there are some additional methods available and an additional class to allow order lines to be customised.
To register your extension:
LunarPanel::extensions([
\Lunar\Admin\Filament\Resources\OrderResource\Pages\ManageOrder::class => MyManageOrderExtension::class,
]);You then have access to these methods in your class to override area's of the order view screen.
extendInfolistSchema(): arrayextendInfolistAsideSchema(): arrayextendCustomerEntry(): Infolists\Components\ComponentextendTagsSection(): Infolists\Components\ComponentextendAdditionalInfoSection(): Infolists\Components\ComponentextendShippingAddressInfolist(): Infolists\Components\ComponentextendBillingAddressInfolist(): Infolists\Components\ComponentextendAddressEditSchema(): array
exendOrderSummaryInfolist(): Infolists\Components\SectionextendOrderSummarySchema(): arrayextendOrderSummaryNewCustomerEntry(): Infolists\Components\EntryextendOrderSummaryStatusEntry(): Infolists\Components\EntryextendOrderSummaryReferenceEntry(): Infolists\Components\EntryextendOrderSummaryCustomerReferenceEntry(): Infolists\Components\EntryextendOrderSummaryChannelEntry(): Infolists\Components\EntryextendOrderSummaryCreatedAtEntry(): Infolists\Components\EntryextendOrderSummaryPlacedAtEntry(): Infolists\Components\Entry
extendTimelineInfolist(): Infolists\Components\ComponentextendOrderTotalsAsideSchema(): arrayextendDeliveryInstructionsEntry(): Infolists\Components\TextEntryextendOrderNotesEntry(): Infolists\Components\TextEntry
extendOrderTotalsInfolist(): Infolists\Components\SectionextendOrderTotalsSchema(): arrayextendSubTotalEntry(): Infolists\Components\TextEntryextendDiscountTotalEntry(): Infolists\Components\TextEntryextendShippingBreakdownGroup(): Infolists\Components\GroupextendTaxBreakdownGroup(): Infolists\Components\GroupextendTotalEntry(): Infolists\Components\TextEntryextendPaidEntry(): Infolists\Components\TextEntryextendRefundEntry(): Infolists\Components\TextEntry
extendShippingInfolist(): Infolists\Components\SectionextendTransactionsInfolist(): Infolists\Components\ComponentextendTransactionsRepeatableEntry(): Infolists\Components\RepeatableEntry
Extending OrderItemsTable
\Lunar\Facades\LunarPanel::extensions([
\Lunar\Admin\Filament\Resources\OrderResource\Pages\Components\OrderItemsTable::class => OrderItemsTableExtension::class
]);Available Methods
extendOrderLinesTableColumns(): arrayextendTable(): Table