Skip to main content
The order management page supports the same customization as Pages, along with additional methods specific to the order view screen.

Registration

Register an order management extension in a service provider:
use Lunar\Admin\Support\Facades\LunarPanel;

LunarPanel::extensions([
    \Lunar\Admin\Filament\Resources\OrderResource\Pages\ManageOrder::class => MyManageOrderExtension::class,
]);

Available Methods

The following methods can be overridden in the extension class to customize sections of the order view.

Main Infolist

  • extendInfolistSchema(): array

Aside Panel

  • extendInfolistAsideSchema(): array
    • extendCustomerEntry(): Infolists\Components\Component
    • extendTagsSection(): Infolists\Components\Component
    • extendAdditionalInfoSection(): Infolists\Components\Component
    • extendShippingAddressInfolist(): Infolists\Components\Component
    • extendBillingAddressInfolist(): Infolists\Components\Component
    • extendAddressEditSchema(): array

Order Summary

  • extendOrderSummaryInfolist(): Infolists\Components\Section
  • extendOrderSummarySchema(): array
    • extendOrderSummaryNewCustomerEntry(): Infolists\Components\Entry
    • extendOrderSummaryStatusEntry(): Infolists\Components\Entry
    • extendOrderSummaryReferenceEntry(): Infolists\Components\Entry
    • extendOrderSummaryCustomerReferenceEntry(): Infolists\Components\Entry
    • extendOrderSummaryChannelEntry(): Infolists\Components\Entry
    • extendOrderSummaryCreatedAtEntry(): Infolists\Components\Entry
    • extendOrderSummaryPlacedAtEntry(): Infolists\Components\Entry

Timeline

  • extendTimelineInfolist(): Infolists\Components\Component

Order Totals

  • extendOrderTotalsAsideSchema(): array
    • extendDeliveryInstructionsEntry(): Infolists\Components\TextEntry
    • extendOrderNotesEntry(): Infolists\Components\TextEntry
  • extendOrderTotalsInfolist(): Infolists\Components\Section
  • extendOrderTotalsSchema(): array
    • extendSubTotalEntry(): Infolists\Components\TextEntry
    • extendDiscountTotalEntry(): Infolists\Components\TextEntry
    • extendShippingBreakdownGroup(): Infolists\Components\Group
    • extendTaxBreakdownGroup(): Infolists\Components\Group
    • extendTotalEntry(): Infolists\Components\TextEntry
    • extendPaidEntry(): Infolists\Components\TextEntry
    • extendRefundEntry(): Infolists\Components\TextEntry

Shipping and Transactions

  • extendShippingInfolist(): Infolists\Components\Section
  • extendTransactionsInfolist(): Infolists\Components\Component
  • extendTransactionsRepeatableEntry(): Infolists\Components\RepeatableEntry

Extending the Order Items Table

The order items table can be extended separately by registering an extension for the OrderItemsTable component:
use Lunar\Admin\Support\Facades\LunarPanel;

LunarPanel::extensions([
    \Lunar\Admin\Filament\Resources\OrderResource\Pages\Components\OrderItemsTable::class => OrderItemsTableExtension::class,
]);

Available Methods

MethodDescription
extendOrderLinesTableColumns(): arrayCustomize the columns displayed for order line items.
extendTable(): TableCustomize the full order items table configuration.