@bagisto-mogul thanks for replay.
Actually there is no products yet in the DB, but it should display the table and the pagination UI though!
In my case it's not displaying anything! Not sure if this is because the new package release!
yaser-az
@yaser-az
Posts made by yaser-az
-
RE: Cannot display Products table in dashboard
-
RE: Cannot display Products table in dashboard
@bagisto-mogul said in Cannot display Products table in dashboard:
@yaser-az You can over ride the ui.css file being compiled from the UI package in order to change the design of datagrid. By creating your own and not using ours.
Hi @bagisto-mogul , as you can see in this image that the content of the table is empty which means that the orderGrid is not returning anything from the DB.
I believe it's not a styling problem at all!
-
RE: Not receiving any notification email from the forum
Thank you @admin , appreciate that!
-
Not receiving any notification email from the forum
Hi,
I wonder if there is anyone else having this problem here.
For this forum, every time someone posted a reply - for example - into one of my threads, I receive no notification on my email address.This is how my settings looks like :
Sorry if I'm bothering, but it really confused me because I need to check the forum every couple hours to check for any replies.
Thanks. -
RE: Composer dependencies is not Installed
I think you should do what been mentioned in the message .
Did you runcomposer install
inside your project root folder ?
-
RE: Cannot display Products table in dashboard
@rahul About the active class for menu items, I cannot see where this
$menu
variable comming from ?
How can I set my own menu items using this$menu
variable ? -
RE: Cannot display Products table in dashboard
Hello @bagisto-mogul, thanks for replying ,
Actually this is the code insideWebkul/Admin/src/Resources/views/catalog/products/index.blade.php
<div class="page-content"> @inject('products', 'Webkul\Admin\DataGrids\ProductDataGrid') {!! $products->render() !!} </div>
The same for orders view inside
Webkul/Admin/src/Resources/views/sales/orders/index.blade.php
<div class="page-content"> @inject('orderGrid', 'Webkul\Admin\DataGrids\OrderDataGrid') {!! $orderGrid->render() !!} </div>
As you see the code of injection and rendering already inside the view files.
Any suggestion ? -
RE: Cannot display Products table in dashboard
@rahul This is the orders views file
Admin/src/Resources/views/sales/orders/index.blade.php
@extends('admin::layouts.content') @section('page_title') {{ __('admin::app.sales.orders.title') }} @stop @section('content') <div class="content"> <div class="page-header"> <div class="page-title"> <h1>{{ __('admin::app.sales.orders.title') }}</h1> </div> <div class="page-action"> <div class="export-import" @click="showModal('downloadDataGrid')"> <i class="export-icon"></i> <span> {{ __('admin::app.export.export') }} </span> </div> </div> </div> <div class="page-content"> @inject('orderGrid', 'Webkul\Admin\DataGrids\OrderDataGrid') {!! $orderGrid->render() !!} </div> </div> <modal id="downloadDataGrid" :is-open="modalIds.downloadDataGrid"> <h3 slot="header">{{ __('admin::app.export.download') }}</h3> <div slot="body"> <export-form></export-form> </div> </modal> @stop @push('scripts') @include('admin::export.export', ['gridName' => $orderGrid]) @endpush
-
RE: Cannot display Products table in dashboard
@rahul Actually it's the same default view file of the package, I didn't change it if that what you mean!
-
RE: Cannot display Products table in dashboard
@rahul Hi Raul ,
I'm afraid that I cannot understand your request about the code.
However what I'm doing here is simply calling this route:route('admin.sales.orders.index')
and from the debugger panel, we have these views rendered which is the default views templates comes with the package.