Recent Topics

New routes for customer doesn`t works

  • Hi, I have the following route and the following function, but when I use it in the url it gives me a redirect to the page index

     Route::post('profile/showPriceWithoutFidelityGroup/{id}', 'Webkul\Customer\Http\Controllers\[email protected]')->defaults('_config', [
                        'redirect' => 'customer.profile.index'


    public function showPriceWithoutFidelityGroup(Request $request, $id)
            $this->customerRepository->showPriceWithoutFidelityGroup($request, $id);
            return redirect()->route('customer.session.index');

  • Hi @LilD,

    Run php artisan config:cache or php artisan optimize.

Log in to reply