Questions tagged [grid]

The admin grid widget is a powerful tool to manage entities in the admin panel. For questions about the catalog grid view from Mage_Catalog, use the tag "grid-layout" instead.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

In Model Edit, display filtered grid of another Model

Consider two models, Foo and Bar. The Bar model has a non-nullable field foo_id which is associated with a Foo object. <?xml version="1.0" ?> <schema xmlns:xsi="..." xsi:...
user avatar
0 votes
0 answers
19 views

Add custom creditmemo attribute to sales_creditmemo_grid table

I have added a custom attribute custom_status to the sales_creditmemo and the sales_creditmemo_grid tables via a InstallData script in a custom module, and added the custom field to the creditmemo ...
user avatar
0 votes
2 answers
63 views

Magento 2: Open Popup Modal on Button Click in Admin Grid

UPDATED I'm using Magento 2.4, I want to open a popup modal to display some info, currently, when I hit the button I am redirected to phtml file but I want to open a popup on the same page. I have a ...
user avatar
1 vote
2 answers
120 views

Magento 2 : Create a JOIN

I am trying to display a report which GROUP BY : SKU and Subsidiary. So instead of displaying each RMA in different rows, I am trying to display Filtered Report, Group by SKU and 2nd group by ...
user avatar
  • 58
0 votes
0 answers
14 views

Magento 2 : import product into grid

Here is import button, When i click import button, add this sku product (test-sku) into item ordered grid Drop your answer or suggestion.
user avatar
1 vote
0 answers
18 views

Filter Creditmemmos with Date is throwing error in admin

While In admin and filter the creditmemos with specific dates it throwing exception. UI component could not be rendered because of system exception , errorcode: "23000" Tried clearing cache,...
user avatar
0 votes
1 answer
21 views

Magento 2: Admin grid Search by keyword bar missing

The 'Search by keyword' bar is missing from all the admin grids(order, invoice, products etc). Any help would be appreciated. Console errors:
user avatar
0 votes
0 answers
49 views

Product Collection With Duplicates (On Purpose) For Admin Grid How?

I need to load a product collection that has repeated products in it. I get this error when trying to load a product collection with repeated products: Item (Magento\Catalog\Model\Product\Interceptor) ...
user avatar
0 votes
0 answers
9 views

Custom Grid With Payment Pending Orders and with Status Change Action Option

Hey There i want to create a module which can create a Admin Grid page with all the payment Pending Orders and i can manually update there status with the help of actions. I have been trying many ...
user avatar
0 votes
0 answers
47 views

Magento 2 - Fulltext search Product SKU / Product Name in Sales Order Grid

I'm a newbie, new to magento 2. Please guide me here: I want to search fulltext product sku and product id in grid order. I have now added the product sku and product id to the grid, the filter is ...
user avatar
0 votes
1 answer
31 views

Magento 2 How to get Admin Customer Edit Page edited Tab details

Please check the screenshot highlighted part, How can I get which tab is edited when save the customer
user avatar
0 votes
0 answers
13 views

Error in Adding ExportButton in Product page

I added <exportButton name="export_button"> in product_listing.xml , when I am clicking on export button i am getting A joined field with this alias is already declared.","1&...
user avatar
0 votes
2 answers
36 views

Catalog Price Rule Grid Is Missing Columns

According to the official docs of Magento 2.4* https://docs.magento.com/user-guide/marketing/price-rules-catalog.html Catalog Price Rule should have the option to filter by 'Status', 'start' and so on....
user avatar
  • 13
0 votes
0 answers
16 views

In Magneto 2 admin, on catalog product grid showing only 20 products

In admin, the product grid page shows only 20 initial product limits for a specific account. If we increase the limit to 200 there will be 200 products but there is no pagination for the next page. ...
user avatar
0 votes
0 answers
15 views

How to give dynamic values in to Ui component instead of the static item value

Following is the code i used to apply a default filter in Ui component grid filter. <filters name="listing_filters"> <argument name="data" xsi:type="array&...
user avatar
  • 11
0 votes
1 answer
45 views

How to add Custom class or ID on Magenot 2 Product Admin Grid Columns

How to add the custom class or ID on Magento 2 Product Admin Grid Columns basically I want to add a class or id on ( qty, price, name, SKU ) on these fields. Any help is appreciated.
user avatar
  • 526
0 votes
0 answers
20 views

Tile view not show product status

I want to modify the tile view on the category page. Inside the category page, products in this category in Gird view, we can see the product status. However, in Tile view, the status is not showing. ...
user avatar
  • 518
0 votes
4 answers
78 views

How to add Button in Magenot 2 Sales order Grid with out a link?

I want to add a button without a link at the sales grid top in Magento 2.4 SS: Anyone has any idea how to add only a button with a custom ( ID or class ). Any help is appreciated.
user avatar
  • 526
0 votes
0 answers
12 views

Magento 2 Custom Admin tab grid content based on the selected form values

In my requirement, I need to load the tab grid content based on the first tab form selected values. It's third party module i am going to override, in that the first tab form loaded based on $fieldset ...
user avatar
  • 1,598
0 votes
1 answer
29 views

How to open a invoice pdf in a new tab in Magento backend?

How to open an invoice pdf in a new tab in the Magento backend? How to see the preview of the invoice print in a new tab(target _blank) via the Magento invoice grid I have added the new column "...
user avatar
  • 2,398
0 votes
0 answers
17 views

Product picture in grid issue

We have some issues where our product picture in grid view has different sizes. Does anyone know how to fix this? Magento 2.4.3 Theme: Porto theme we did not have this issue in Magento 2.3.x Please ...
user avatar
0 votes
0 answers
29 views

magento 2 admin grid export to xml file (my custom template)

i already write cistom module who display custom grid with data from sql query (select 3 tables) in Venige/InvoiceGrid/Model/ResourceModel/InvGrid/Collection.php I have custom button in ui_component &...
user avatar
0 votes
1 answer
144 views

How to search by like query in sales order grid?

I'm using Order's increment ID in the search by keyword field to get the search results. However, it only works with 00000XXXX and not by XXXX. Search by keyword is using Fulltext searching but how to ...
user avatar
0 votes
2 answers
259 views

how to add sku column in order sales grid in magento 2

i need to add sku column with filter in order sales grid in magento 2. how can i add this can any one have refrence
user avatar
0 votes
0 answers
35 views

How can we resolve the sales order filter with sku gaves "Something went wrong with processing....." in Mageto 2

The Sales Order Grid Not Working And It's Gives this kind of error when search by sku "Something went wrong with processing the default view and we have restored the filter to its original state....
user avatar
1 vote
1 answer
30 views

Search term grid: add date column with date-time picker

In Magento 2.4, we want to display date column in grid as a filterable option with date-time picker. Can anybody please suggest a solution? Thank you
user avatar
0 votes
0 answers
26 views

Magento 2.4 adding select option with custom div in to sales_order_grid

How to add select option with custom div in to sales_order_grid I need to add that HTML in left of per page value. Can anyone please suggest any post or any suggested link to add these value. Any ...
user avatar
  • 526
0 votes
0 answers
22 views

Display custom PopUp on clicking upload button in custom grid

I created the image type field in the grid edit form. Now my requirement is to display the custom Popup when the admin will click on the upload button. It always goes to the local directory for Image ...
user avatar
0 votes
0 answers
20 views

How to hide and show option from massaction dropdown for specific filter in Magento2?

I want to show options from massaction dropdown when I apply a UI component filter? Is there any way to achieve this functionality?
user avatar
  • 3,111
0 votes
1 answer
27 views

How do i add the "coloumns" button in my admin grid?

I've been trying to add the "Columns" button in my new custom grid UI component so that I can customize my view. Can someone tell me how it's done? I'm assuming it's a very generic function ...
user avatar
  • 71
0 votes
2 answers
49 views

Magento 2.4 FilterSearch Custom admin grid

I'm trying to modify the admin grid's "filterSearch" field from default query if I type a whole word eg "Iphone", I'm trying to change the type search criteria in SQL to LIKE %ipho%...
user avatar
0 votes
1 answer
36 views

add salable quantity column in product in categories section

I want to add salable quantity in the product in categories section in adminside. In below image I want to add salable quantity column instead of QTY and get corresponding values.
user avatar
  • 15
0 votes
3 answers
229 views

Magento 2 : how to get category name in my custom product grid

My prepare collection code : protected function _prepareCollection() { $store = $this->_getStore(); $collection = $this->productFactory->create()->getCollection()->...
user avatar
0 votes
0 answers
40 views

Disable row click for Products in Category

How can I disable row click for Catalog > Categories > Products in Category? I have added an extra column as in the code below and each type I click the button, the checkbox is checked/unchecked ...
user avatar
  • 33
0 votes
0 answers
87 views

magento 2 custom admin grid filters not working for custom attributes

magento 2 custom admin grid filters not working for custom attributes. I loaded the table into a grid. based on id I get the customer email into the grid, but customer email is not filtering in my ...
user avatar
0 votes
1 answer
145 views

How to get the customer email by customer id in magento2 admin grid

How to get the customer email by customer id in magento2 admin grid. in my table I have customer id based on customer id get the email id in the admin custom grid. namespace Vendor\Module\Model\...
user avatar
1 vote
0 answers
103 views

Add a modal popup when the mass action button in ui component admin grid

I have a admin grid, where I want to add a popup which will have a input field posting a data on confirmation. Take the above screenshot as an example. When the hold button is clicked, I want to ...
user avatar
  • 148
0 votes
1 answer
21 views

Magento 2 Product grid collection filtering on programmatic Qty column values

I am programatically updating the qty column values for configurable products. Sadly, the grid filter for this column doesn't work with new values. The underlying catalog product collection joins with ...
user avatar
0 votes
2 answers
29 views

How to filter admin grid column using a different table colum from database?

in my form_list.xml i have something like this <column name="testcolumn" class="Vendor\Module\Model\Block\Source\Testcolumn"> <argument name="data" ...
user avatar
0 votes
1 answer
48 views

Why is my my custom edit page for my custom admin panel not working?

fellow Magento developers. Ive been working on this new exercise including a whole admin panel and all that. i was working on the edit and ran into an issue that produces these 2 errors in my log ...
user avatar
  • 71
1 vote
0 answers
85 views

How to add a input field in admin grid and post it using mass action- Admin Panel

The question is how to get the input data in mass action. I have currently added a input field in the admin grid. Like this: I have added the input field using the block. I want to post that values ...
user avatar
  • 148
0 votes
1 answer
174 views

Magneto 2: How to Add custom text after product image in product list & grid view page via custom module?

How to Add custom text after product image in product list & grid view page via a custom module? In this picture custom text, I want to add before the product name
user avatar
0 votes
1 answer
132 views

Magento 2: How to get column total in custom admin grid

This is my custom admin grid. The last column shows the total which is a multiplication of cost and qty fields. I want to show total of the column(total) in the last row and last column. The row ...
user avatar
0 votes
1 answer
47 views

getting store view at admin gird

How can I get the store_view into the admin grid? I have a second table to store the key and the store_id. how can I retrieve the data from that table to the grid? I have below, but it is showing ...
user avatar
  • 518
1 vote
0 answers
14 views

want to add amount field in Transactions grid (capture and refund amount show in column as per Transactions)

i want to add amount field in sales Transactions grid which show capture and refund amount as per Transactions ids
user avatar
0 votes
0 answers
29 views

Get all available columns in an admin grid like Customer or Order

I need to retrieve all possible columns in admin grid, for instance, Customer Grid. I notice that there is a component in Magento 2 called ColumnControls. I think it somehow can read all data about ...
user avatar
0 votes
0 answers
22 views

How to set default value in catalog category add products to categories in position column

I have attached screenshot, I want to add default values in position, for example when I add product in category position should show 100. Thanks in advance
user avatar
  • 120
0 votes
0 answers
21 views

How to show popup while clicking button?

I want to show a confirmation message after clicking the "Delete older Files" or "Add New Customer" button.
user avatar
0 votes
0 answers
86 views

Magento 2 custom admin grid get all categories

I want to create admin grid in custom module to to show category id,name and a custom attribute from catalog_category_entity table, how to do this ? I created a ui component but table is empty. any ...
user avatar
0 votes
0 answers
32 views

Invalid security or form key. Please refresh the page, Grid Implementation

I had created a custom admin grid and when I enter the newly made grid in the admin catalog site, gives an error as in the title appears. Here is my index.php namespace Warsaw\Weather\Grid\Controller\...
user avatar

1
2 3 4 5
28