Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [grid-layout]

Questions about the product grid view (as opposed to list view) in the frontend catalog

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

How to show image in custom grid in magento 2 backend using layout only?

I am trying to display image on custom grid in back-end using layout but not idea how to show it. I know image show using ui_component & block but i need to show using layout only. Please help me.
0
votes
0answers
15 views

Use same ui component for different data source

I am creating a different grid view for sales_order table based on payment method. So for each payment type, I want to have a different grid view/URL. Is there a way to utilize the same UI component ...
0
votes
0answers
37 views

Uncaught TypeError: Cannot read property 'undefined' of undefined in Magento 2

I am getting this js error when I opening my custom admin grid in the admin panel. What is wrong? Kindly help me. Here is the admin grid screenshot. This js error making the action column edit ...
0
votes
1answer
68 views

Edit Action column is not showing in admin grid in magento 2

Why the edit option is not displaying in the action column. Kindly help me. My Action.php code: <?php namespace AdminGrid\Grid\Ui\Component\Listing\Grid\Column; use Magento\Framework\View\...
0
votes
0answers
5 views

Magento 2 get the admin grid first tab value into the next tab(before save)

I am working with Magento2, as per my requirement i have to get the first tab field values into my second tab. Is there have any way to get the values before save into Database? thanks in advance for ...
0
votes
1answer
23 views

Hide order export button for all admin users except admin role

I want to hide or remove Export button from custom admin grid for all admin user except admin role. I have added below code to add export button on the grid in my ui component file. <exportButton ...
0
votes
0answers
21 views

Grid_layout add to cart on same line

How can I show all the [add to cart] buttons on the same line?
0
votes
1answer
29 views

Magento 2 - Render cost price in low stock report - Many can use this

We have a shop, where we want a low stock report with cost prices, so we can see how much we need to pay for these products before buying them. What I want is to add an extra column with the cost ...
2
votes
1answer
39 views

Add Manufacturer in Related product grid in magento 2

I want to add the manufacturer column in the Product edit form section in the backend in the Related Products, Up-Sells, and Cross-Sells tab. I have to also add a filter for the manufacturer in the ...
0
votes
1answer
98 views

How can I add a column to Category -> Category -> Products in Category grid in magento 2

I would like to add an extra column based on a product attribute <my_attribute_code> in the product grid that appears when editing a category in the section "Products In Category" ideally ...
2
votes
3answers
193 views

Create custom grid in admin using ui component in magento 2

I have done all necessary changes to create a grid in admin but I can not see the grid in my menu. I can see only title of a page in the menu but after that its showing blank. Module — Demo/Offers/ ...
1
vote
1answer
30 views

Add column to gridview in custom extension

I have a custom extension where the admin user needs to select a customer from the drop down. The extension saves the customer ID to the database. Currently, on the grid view, in my UI component I ...
1
vote
1answer
21 views

magento 1 query generated back tics are wrongly placed

I have an issue in Magento 1, where the SQL query that is getting generated has the back tics wrongly placed. This is a piece of the code that helps to provide the collection to the grid layout. ...
1
vote
0answers
22 views

Magento 2 category grid not wrapping correctly

I have a fresh install of Magento 2, and have extended the luma theme, we havent started to edit the category pages as yet, but have noticed the grid doesnt wrap correctly. As you can see from the ...
1
vote
1answer
51 views

How to add custom information on product Grid/List view page?

I want to add a description on product Grid/List view page as the picture shows (The "Order Online" and "Delivery Available" part). Is there any way I can achieve this? Or any extension can help me ...
1
vote
0answers
77 views

Unable to create admin form using layout

This Is Edit.php file Magneto\BookFreeLayout\Block\Adminhtml\Demo\Edit.php <?php namespace Magneto\BookFreeLayout\Block\Adminhtml\Demo; class Edit extends \Magento\Backend\Block\...
2
votes
0answers
197 views

Magento 2: How to add a tab in admin form using layout blocks where form is created by uiComponent

I am using uiComponent to create admin form, I am facing a situation where I have to add a tab using layout blocks, so I have updated my layout with following code. <referenceContainer name="...
2
votes
2answers
155 views

Magento 2: How to only apply css in catalog product page in grid view but not the list view

If i change the css in the grid view, but and the css will also apply to the list view, which is i don't want it. How can i solve that? Thank you.
4
votes
1answer
354 views

Support Multiselect Attribute in Admin Grid Column without UI

I'm extending a Magento 2 module which doesn't use UI. I've added a new column for a custom attribute to the module's Admin grid. However, I'm trying to change the attribute to a multiselect, and I ...
0
votes
1answer
49 views

Magento 2 admin menu extension

What is the proper way to e.g: get Sitemap generation grid to load on custom route? Currently on custom route the grid layout won't be rendered, all I see is "Popular Site Map" title which comes from ...
1
vote
0answers
173 views

In Magento2, how to get checked checkboxes values in uicomponent grid in frontend?

I have added grid using uicomponent in Magento 2 frontend, to list related products. grid is showing fine but now i want to get checked checkboxes values (in any hidden input if possible) to send that ...
0
votes
0answers
646 views

Magento 2 - Admin UI Component drag and drop rows example XML

I have a table that displays and fetches data from the database working fine. I have been searching for examples of how to layout the XML file to add drag and drop to the rows but just can't work it ...
2
votes
1answer
622 views

Multi select filter in magento2 grid

I have a custom module with a grid. Now I need to add a multi-select filter in this grid, I am using XML code not UI code, how can I do this with XML code can anyone help this
0
votes
3answers
2k views

Magento 2 - How to create custom grid menu in admin?

I want to create a grid menu in the admin panel. I'm stuck at creating layout using components. I have some records in a table. Now how can I display it in the admin grid? The following is the code ...
0
votes
1answer
341 views

How to replace/make tables to be mobile responsive

I have been putting a blog/content page together using tables (old fashion I know) but problem being it squashes the content rather than collapsing underneath. I have used a free html cleaner to ...
0
votes
1answer
583 views

Custom Admin Grid page showing blank page in Magento1.9.2.4

Tying to create a custom grid with the custom module but getting a blank page on grid page like below image. Here is my module name : Ds_Questions app/code/local/Ds/Questions/etc/config.xml <?...
1
vote
0answers
29 views

Custom template in sales (Magento2)?

I want to create a template file in sales->order->create new order for showing custom comment.so i create a template file set in sales_order_create_index layout.But It not displaying in admin order ...
2
votes
0answers
17 views

Layout of magento admin module changes

i'm creating a module for magento admin and it has so many fields, but as seen in image attached, i want field of price 2 to be on next right to price 1 field. can you anyone please suggest the ...
1
vote
0answers
680 views

magento 2 adding tab in custom module edit section

I want to create a tab custom module admin section I have set the layout and also created the tab page but the layout is not coming as expected it to be.The tab comes on the left side under the tab ...
0
votes
1answer
281 views

How can I generate an Admin grid programmatically in Magento 2

I can add a form to an Admin page using the code below in a Block: $form = $this->formFactory->create(); $this->setForm($form); $item = $this->registry->registry('current_item')...
0
votes
0answers
194 views

Magento2- How to Filter Multiple Values in Column

There is multiselect customer group field in form of my custom module and those values are displayed in grid with comma seperated Ex. Customer group General, Wholesaler retailer ...
0
votes
2answers
278 views

Unable to select a single check box in the admin grid

I'm working on magento 2.1. For deleting two or more rows from the admin grid, I'm unable to select the corresponding rows using the checkbox. If I clicked on a single check box, then all check boxes ...
0
votes
1answer
1k views

Pager not working in Magento 2

I am trying to create a gird with pager in my custom module, but it is showing all products in to one page. For this I have tried below way. Block/InventoryStatus.php <?php namespace Training\...
1
vote
1answer
245 views

Product attributes on category page

We have a lot of different products with different attributes we want to show below the product in the grid view. What is the best approach in order to show the specs below when you have a lot of ...
2
votes
2answers
2k views

Custom module grid container will not show

I know this question has been asked for so many times here on SO but nothing helped me to solve my issue. I am trying to display a grid on my modules index page but it is not showing, I tried to ...
0
votes
3answers
126 views

How to prevent list view in catalog

I use grid view in my store, and have already removed the option to switch to list view. However, Google has indexed a large amount of list view pages and keep on sending users to this view. Is it ...
0
votes
1answer
350 views

Show a field for filter in grid.php from other custom table in magento 1.9.2.4?

I need to show a column in grid.php file of my module, and that field having data from custom table that is created separately but that table also contain the entity id of the module so they are ...
1
vote
1answer
215 views

How can i add Country Name or flag Display on Ordered page Panel Grid?

I need to show Country Name or flag on ordered page, How can i add custom field on ordered panel grid?
1
vote
2answers
3k views

Magento 2.1 : How to add Custom button on a custom grid in customer view Adminhtml

I have created a custom grid on customer view in admin protected function _construct() { parent::_construct(); $this->setDefaultSort('model','desc'); $this->...
0
votes
1answer
362 views

Static block in between products in grid mode

I want to place a static block in between the product list of the category 'shoes' (ID 20). The static block is a simple banner for test: I want it in the second row, after the first two products of ...
0
votes
1answer
35 views

grid layout structure

I installed theme "A" in magento 1.9.3 it looked good but the image size and grid layout was not good or even. I then installed theme "B" that had a good image size and grid layout but the rest wasn't ...
0
votes
2answers
44 views

Categories pages showing different layout

I am trying to figure out 2 catalogs which has different layout, one uses a static block and one nothing (normal). I tried disabling the block but now my category on front end is blank. Shouldn't it ...
1
vote
1answer
90 views

Magento how to add new select box in product view toolbar section without change .phtml file

Hi i have a toolbar like below image. I want to add new "Show" select box like below image. For this i have added select box code directly into the toolbar.phtml file. But I don't like to update ...
2
votes
1answer
3k views

Magento 2 New Products template edit

I am trying to edit the grid.phtml template so my home page New Products widget displays 4 columns instead of 5. There nothing in the file that seems to dictate columns at all. Am I looking in the ...
2
votes
1answer
3k views

How to add collection filter to gridContainer in Magento 2?

I need to add a collection filter to my grid. I do few search on Internet but unfortunately it can't resolve my case. I'm using gridContainer instead of usual way. Here is my files: layout.xml <...
0
votes
0answers
412 views

Magento 2 - How to remove “Save” button in inline of grid customers index admin page?

How to remove "Save" button in inline of grid customers index admin page ? Anyone know anything, can show me, pls!
2
votes
1answer
53 views

How to update a admin layout after creating Grid in custom module?

I have created new Grid in custom module. But when it use it displays following error. Fatal error: Class 'XX_YY_Block_Adminhtml_Display' not found in C:\xampp\htdocs\xx\app\code\core\Mage\Core\...
0
votes
1answer
841 views

How to override or extend Product List Page template to show Icon on Product Images in Magento Extension

Consider the Below Image I want to show an Icon on the Image of each product. I am developing an extension and I want to do this task via that extension, independent of theme. How can I achieve this ...
0
votes
1answer
224 views

responsive layout issue with rating stars

I have uploaded a image to show what the problem is, as you can see from the image the add to cart button is covering the information. This is on all portrait views. Its also wrong in landscape views. ...
2
votes
0answers
296 views

Category page masonry layout question [closed]

I've been trying to work out how this masonry layout has been achieved; I've tried Isotope masonry, but cannot work out how they have created this layout with different image sizes that seem ...