Fixed issue

This commit is contained in:
jitendra 2022-09-23 19:56:32 +05:30
parent ae6eae401d
commit 59bd974abe
5 changed files with 4 additions and 6 deletions

View File

@ -128,7 +128,7 @@
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.parent_category.after') !!}
@endif
<accordian title="{{ __('admin::app.catalog.categories.filterable_attributes') }}" :active="true">
<accordian title="{{ __('admin::app.catalog.categories.filterable-attributes') }}" :active="true">
<div slot="body">
<?php $selectedaAtributes = old('attributes') ? old('attributes') : ['11'] ?>

View File

@ -155,7 +155,7 @@
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.parent_category.after', ['category' => $category]) !!}
@endif
<accordian title="{{ __('admin::app.catalog.categories.filterable_attributes') }}" :active="true">
<accordian title="{{ __('admin::app.catalog.categories.filterable-attributes') }}" :active="true">
<div slot="body">
<?php $selectedaAtributes = old('attributes') ?? $category->filterableAttributes->pluck('id')->toArray() ?>

View File

@ -96,7 +96,7 @@ Route::group(['middleware' => ['web', 'admin'], 'prefix' => config('app.admin_ur
'redirect' => 'admin.catalog.categories.index',
])->name('admin.catalog.categories.update');
Route::get('categoriesproducts/{id}', [CategoryController::class, 'products'])->name('admin.catalog.categories.products');
Route::get('categories/products/{id}', [CategoryController::class, 'products'])->name('admin.catalog.categories.products');
Route::post('categories/delete/{id}', [CategoryController::class, 'destroy'])->name('admin.catalog.categories.delete');

View File

@ -214,8 +214,6 @@ class CategoryController extends Controller
{
$data = request()->all();
dd($data);
if (! isset($data['mass-action-type']) || ! $data['mass-action-type'] == 'update') {
return redirect()->back();
}

View File

@ -14,7 +14,7 @@
Cookie::has('enable-resend')
&& Cookie::get('enable-resend') == true
)
<a href="{{ route('shop.customer.resend.verification_email', Cookie::get('email-for-resend')) }}">{{ __('shop::app.customer.login-form.resend_verification') }}</a>
<a href="{{ route('shop.customer.resend.verification_email', Cookie::get('email-for-resend')) }}">{{ __('shop::app.customer.login-form.resend-verification') }}</a>
@endif
</div>
</div>