Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [column]

The tag has no usage guidance.

0
votes
0answers
15 views

Custom attribute value not displayed in 'Order Total Report' magento 2 admin grid

I want to add new columns 'ID' & 'Affiliate ID' to 'Order Total Report' admin grid (REPORTS > Customers > Order Total). I am able to add these 2 columns, but only customers Id's are getting ...
0
votes
0answers
32 views

How magento 2 render checkbox column in admin product grid

I need to disable some checkboxes in a grid based on certain criteria but not able to figure out from where the checkbox column is rendered. I reached the following two files after some search, but ...
2
votes
1answer
49 views

product displayed in one column only instead of 2 column on phone in magento 2.3

when you view a category on desktop shows 3 column but on mobile phone it shows product only one column instead of two column of the page. whats wrong with magento 2.3.0 check the link on mobile ...
1
vote
0answers
12 views

magento 2.3 . how to have 2 columns when viewing the products page

www.magshahindia.com in this website on desktop its shows 3 column but on mobile phone it shows product only on one column instead of it used to show products on 2 column of the page. Please advise
0
votes
2answers
55 views

How to remove/hide columns from sales grid by default

How can I remove or hide some of the columns from sales_order_grid. For example I want to hide next columns: Purchase point Ship to Name Signifyd Guarantee Decision I tried with overriding ...
0
votes
0answers
20 views

Magento 2.2.3 set fixed size for column grid

Using a ui component listing|grid how to set a fixed size to one of the columns. This does not work https://devdocs.magento.com/guides/v2.0/ui-components/ui-secondary-resize.html
1
vote
2answers
114 views

How to hide the column entries in admin grid?

I have a column called goods. I can enter the number inside that column and save. After save I don't want to show the entry in the grid. It should be empty. I want to show only the column name as ...
0
votes
0answers
44 views

Move tool bar in category page to the top in magento2

I need to move toolbar section to the column.top, I have used below code in my catalog_category_view.xml file. <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/...
0
votes
2answers
48 views

Remove item column from Order PDF print

I'd like to completely remove the Tax column from items list, in order pdf. I've managed to remove the item tax value, but I can't find how to remove the "Tax" column header. Any ideas?
0
votes
2answers
160 views

Magento 2: How to change page layout from to 1column

What's up guys, i know this is some kind of basic question, but here's the thing, i can't change page layout from catalog_product_view.xml to 1column. I've try using new custom theme, and EVERY ...
2
votes
3answers
148 views

Magento2 remove columns from admin sales order view page items grid

Can anyone let me know how to remove existing columns from Admin->Sales->Order->View->Items Grid? Moreover, I also need to add a new column in the same grid, please find attached screenshot for your ...
1
vote
1answer
37 views

How to set whole website as 2 column left in magento 2?

I have installed magento2 and created the categories. I need to show all categories on left hand side vertically and all the content on right hand side? Is that can be done? I am able to remove all ...
7
votes
1answer
209 views

Remove column from Order grid based on condition

I want to remove status column from Magento admin panel order grid. I use below code to remove the status column in my sales_order_grid.xml file. Reference <listing xmlns:xsi="http://www.w3.org/...
1
vote
0answers
14 views

Add right column menu items in Admin - Magento 2

I have successfully been able to add multiple submenus items with submenu headers in a custom main menu panel within the admin menu panel as per below; <!-- Add Main Menu/NEw panel Menu --> ...
5
votes
1answer
158 views

Magento2 how to set default columns in admin grid

You guys would be knowing that magento provides columns control in admin grid made using ui component. In that you can add all columns but only few can be displayed by default when grid load initially....
0
votes
1answer
27 views

Warning when upgrade scripts?

if (version_compare($context->getVersion(), '1.1.10', '<=')) { $installer = $setup; $installer->startSetup(); // Get tutorial_simplenews table ...
1
vote
1answer
23 views

Magento2: Duplicate 2 tables in an overwritten method

I'm overwriting a method to change the configuration of the table, the problem is that this column doubles it, magento adds the column of the overwritten file and the original file, if I delete the ...
0
votes
1answer
37 views

magento 2 - Actions column link to external URL such as google.co.uk?

I have the below code for a Action column option: $item[$name]['view'] = [ 'href' => 'www.google.co.uk', 'target' => '_blank' ), 'label' => __('View') ]; What I'm trying to ...
0
votes
0answers
20 views

Magento vs manually added column into eav table

Is it possible if column was added to the eav_xxx table manually Magento will not recognize it's existence? or if column was added via installation script? getting this error but i'm 100000% sure this ...
0
votes
1answer
163 views

Company Column on Sales Order/Invoice/CreditMemo/Shipment Grid

I have built a module to show the Billing and Shipping Company Name in the Admin Grids for Order, Invoice, CreditMemo, and Shipment. I still can't believe this is not built into Magento2. At first I ...
3
votes
1answer
2k views

Magento 2 Grid custom column value in Ui Listing

I followed this link How to display Yes/No values in admin grid (Magento2)? to get the dynamic custom column value where the column field in grid was app/code/Vendor/Theme/view/adminhtml/...
0
votes
2answers
51 views

Retrieve Admin product grid columns from an helper

I would like to get all the columns infos of the product grid columns from my own helper. I tried (among others) with the following code : Mage::getDesign()->setArea(Mage_Core_Model_App_Area::...
3
votes
1answer
336 views

Magento 2 bar disappeared in Sales Order Grid after adding column

My custom module adds a column to the Sales Order grid. The problem is that the bar above the Grid disappeared. This is shown in the screenshots. With my module: Without my module: In order to add ...
-1
votes
1answer
125 views

Magento2: 3columns Layout renders 2columns-right

I am using magento ver 2.2.2 and installed ultimo theme.I want to create home page in 3 column layout.But when I enable 3 column layout i can not see 3 columns in frontend.Please check attached ...
3
votes
0answers
51 views

How to make 4 column layout file in magento

I want to make custom layout like 4 column to show on front end. it gives default 1 column ,2 columns with right bar,2 columns with right bar and 3 columns. which types of changes in xml file??
2
votes
1answer
43 views

Are status tables needed in Magento 2?

So I'm creating an admin grid and one of the fields is a dropdown select: <?php namespace Vendor\Module\Ui\Component\Listing\Columns; class Status implements \Magento\Framework\Option\...
2
votes
1answer
896 views

How to set custom value to identity column of a table in Magento 2

I have a custom table with identity column id and text column otherColumn and I'm trying to add a row into the table with my custom value. $model->setOtherColumn($otherColumnValue)->save(); ...
2
votes
1answer
664 views

Grid column not showing in admin grid on Magento 2

I have created a custom module for backend with 3 columns like this: PostAction.php located in vendor\namespace\Ui\Component\Listing\Column class PostActions extends \Magento\Ui\Component\Listing\...
1
vote
0answers
21 views

Magento database hidden column

I'm having a problem with the catalog_eav_attribute table of magento database. Some columns are hidden but if i click on each rows i can see them. I've tried a lot of solution proposed in other posts ...
1
vote
2answers
3k views

Magento 2 - How to add a custom column in customer grid like (is approved)

i want to add a custom column in customer grid like "is_approved" customer section. please suggest.
1
vote
1answer
1k views

How to add filter on a renderer column in Magento 2?

I have created a custom module with grid. See below image: Column product sku is render using product_id <column name="product_id" class="Lime\SN\Ui\Component\Listing\Column\ProductSku"> ...
8
votes
1answer
4k views

Magento 2 Filter not working while Custom column added on Sales Grid Using Ui Component

I have added Custom column track_number into sales>>Order grid at Backend. <vendor_name>/Sales/view/adminhtml/ui_component/sales_order_grid.xml <?xml version="1.0" encoding="UTF-8"?> ...
0
votes
2answers
860 views

How to add searchable column “shipping methods” into Sales/Orders admin grid?

To make my admin Sales/Orders grid better I added column to the grid: and as on the picture above it shows order delivery method but ... how to create "delivery method" dropdown list to make it ...
4
votes
2answers
134 views

Is the column `Action` very important?

Is the column Action very important to being displayed in admin grids? It is actually doing exactly the same thing as "click on selected row" a'm I right ? So if I hide it will it affect anything ? ...
3
votes
2answers
889 views

How to add Email address in sales orders admin grid?

Trying to add email address into the grid in sales but once added can't search by order number. Throwing error: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'increment_id' in where ...
0
votes
1answer
147 views

Adding QTY+Location to order view page, Demac Magento-Multi-Location-Inventory Extension

DemacMedia Magento-Multi-Location-Inventory extension installed to 1.9.2.4 store. Working good and mass stock upload is also working Added picture to show module and explaining what I want to do. ...
0
votes
1answer
118 views

What `null` size means in Framework/DB/Ddl/Table.php?

I refer to this file, function addColumn I need to confirm whether I have understood correctly or not the null value of field size. When I set size null , does this mean that the index's size will be ...
0
votes
1answer
478 views

Magento 2: How to override product grid link behavior?

I've added extra columns for my module in the product grid. Within the columns, I'm inserting some of my own icons that contain anchor tag links. When I click on the icons, I'm taken to the product ...
8
votes
1answer
3k views

Magento : How to Check if Mysql Column Exists?

I want to prevent error that column in database table exits. How can I add column to table only if column does not exist?
2
votes
2answers
1k views

Make column unique in install schema script

I want my column to be unique. It is not an EAV attribute. I have seen some tutorials, where indexes are unique, but I am not sure it is not the same, as making column unique (or am I wrong?). Is ...
0
votes
1answer
269 views

How to add more actions to a column in Magento grid?

In Magento 1.9 I add a column to Sales Grid using an observer. I want to show more actions instead only one action. With my code, in my column I see a select box, with the two actions. Instead I want ...
0
votes
0answers
967 views

Magento 2 : Update Custom Column Value in Sales Order Grid Table

I have added custom column in sales_order_grid table and values are showing in backend but how to update that column's value if customer has edited it from frontend order view? Anyone please help! ...
2
votes
1answer
892 views

Magento 2 adminhtml custom column sorting ascending and descending

I made a custom column in sales_order_invoice_grid to display some additional data. This works fine but when clicking on the given column it does not react on any sorting mechanism like descending and ...
1
vote
0answers
238 views

Add button in Orders grid in Magento 1.9

I want add a button or a action in a column in the Orders grid. When I press the button I want to call a method from a controller (or a helper). My first problem: I want to remain in the page of the ...
1
vote
1answer
4k views

Magento 2: Add custom column to filter option in order grid?

I have created custom column in sales_order table in Magento 2. At the time placing order values is saved in that column. Now I want to this column to be available for filter option.
2
votes
1answer
2k views

Magento : Filtering Date Issue on Custom Grid

This is my column code: $this->addColumn( Mage::getModel('catalog/product')->formatUrlKey($key), array( 'header' => Mage::helper('core')->__($label), 'index' =>...
1
vote
1answer
94 views

How to save value of the new column in the “sales_flat_quote_item” for order decline remarks?

I created a new column in sales_flat_quote_item named itemcomment. i want to to insert textbox value this column. my form .....comment.phtml <form id="orderapproval-item-form" class="...
6
votes
2answers
3k views

Magento 2 : Change Admin grid column width

I have added an admin grid using UI component in my custom module. Now I want to change the column width of admin grid. This is the code that I am using for adding column in admin grid : <...
0
votes
1answer
51 views

How to add customized column in Admin i.e Sales?

I have added customized column in sales_flat_quote_address table. Now I want to display the same in admin i.e Sales. I have one another module, app\code\local\Devsters\Pay\Adminhtml\Block\Sales\...
0
votes
1answer
46 views

Different images for left bar?

I have four categories and each category has individual CMS page, and each individual page has left bar with image. Where in another Category CMS page of another image. So this continuous till four ...