Skip to content

Adding custom functionality in HUB on order detail #1563

Closed Answered by SebastianBotez
SebastianBotez asked this question in Q&A
Discussion options

You must be logged in to vote

Alright, for anyone who needs this information, I found out how to handle it.
Lunar offers a very nice method to extend the HUB.
In this case we will use extending slots. Since the team developing this awesome project is focusing on development, probably is less time investing in a complete documentation, but I suppose that's why we have the community here.

You can find the documentation for slots in Lunar 8 admin hub here: https://docs.lunarphp.io/admin-hub/extending.html#slots

Steps to create a custom slot (in my case a courier slot):

Create a class in Livewire folder (very important). At this time of writing, the documentation states to create the class here: App\Hub\Components\Slots. …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@SebastianBotez
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by alecritson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants