Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

huvomivap's avatar

Avored e commerce

I am building an E commerce using an avored and as it mentions in avored docs i am building a module for my website. but I am stuck at how to add a menu on my front end part.

anyone here has use avored as their e commerce solution and knows how to do it?

0 likes
5 replies
huvomivap's avatar

I found the solution. Thanks @bobbybouwmann it helps to solve the bug. they don't have docs for this but i figure it out with the code over here.

https://github.com/avored/laravel-ecommerce/blob/master/app/Providers/AppServiceProvider.php

If someone want the code:

use AvoRed\Framework\Menu\Facade as MenuFacade;

MenuFacade::make('contact_us', function (Menu $contactUsMenu) {
        $contactUsMenu->label('Contact Us')
            ->route('contact-us.index');
    });

Please or to participate in this conversation.