Magento 2 Add new column tracking/mobile number to sales gridMagento2 Need to build Grid with multiple table collection using UI ComponentsSales Order grid new column order comment show recent comment onlyAdd Column to Admin > Sales > Orders Gridmagento Add Coupon code at sales order gridMagento 2. Sales -> Invoices - add column to gridHow can i get Tracking Number on Sales order gridAdd custom dynamic column in sales order grid Magento 2add button inside custom column in sales order grid pageMagento 2 sales order grid custom column export csv issueAdd Phone Number column in sales order gridHOW TO ADD COLUMN TO 'Order Total Report' GRID and display custom customer data to new column in magento 2?

Are astronomers waiting to see something in an image from a gravitational lens that they've already seen in an adjacent image?

Was any UN Security Council vote triple-vetoed?

Why can't we play rap on piano?

How to determine what difficulty is right for the game?

Add text to same line using sed

Modeling an IP Address

What does the "remote control" for a QF-4 look like?

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

How can I make my BBEG immortal short of making them a Lich or Vampire?

Alternative to sending password over mail?

Is it unprofessional to ask if a job posting on GlassDoor is real?

Has there ever been an airliner design involving reducing generator load by installing solar panels?

How old can references or sources in a thesis be?

RSA: Danger of using p to create q

Theorems that impeded progress

How do I gain back my faith in my PhD degree?

How can bays and straits be determined in a procedurally generated map?

Could an aircraft fly or hover using only jets of compressed air?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Convert two switches to a dual stack, and add outlet - possible here?

LWC SFDX source push error TypeError: LWC1009: decl.moveTo is not a function

Meaning of に in 本当に

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Paid for article while in US on F-1 visa?



Magento 2 Add new column tracking/mobile number to sales grid


Magento2 Need to build Grid with multiple table collection using UI ComponentsSales Order grid new column order comment show recent comment onlyAdd Column to Admin > Sales > Orders Gridmagento Add Coupon code at sales order gridMagento 2. Sales -> Invoices - add column to gridHow can i get Tracking Number on Sales order gridAdd custom dynamic column in sales order grid Magento 2add button inside custom column in sales order grid pageMagento 2 sales order grid custom column export csv issueAdd Phone Number column in sales order gridHOW TO ADD COLUMN TO 'Order Total Report' GRID and display custom customer data to new column in magento 2?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Hello guys I need your help to know how to add new column "tracking/mobile number" to sales grid.










share|improve this question
















bumped to the homepage by Community 19 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Try with this i haven't checked this but please try.

    – Naveenbos
    May 9 '17 at 6:37

















0















Hello guys I need your help to know how to add new column "tracking/mobile number" to sales grid.










share|improve this question
















bumped to the homepage by Community 19 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Try with this i haven't checked this but please try.

    – Naveenbos
    May 9 '17 at 6:37













0












0








0








Hello guys I need your help to know how to add new column "tracking/mobile number" to sales grid.










share|improve this question
















Hello guys I need your help to know how to add new column "tracking/mobile number" to sales grid.







magento2 order-grid






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 9 '17 at 5:47









Sejal Shah

1,086621




1,086621










asked May 9 '17 at 5:21









MagEGYMagEGY

104113




104113





bumped to the homepage by Community 19 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 19 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Try with this i haven't checked this but please try.

    – Naveenbos
    May 9 '17 at 6:37

















  • Try with this i haven't checked this but please try.

    – Naveenbos
    May 9 '17 at 6:37
















Try with this i haven't checked this but please try.

– Naveenbos
May 9 '17 at 6:37





Try with this i haven't checked this but please try.

– Naveenbos
May 9 '17 at 6:37










1 Answer
1






active

oldest

votes


















0














if this mobile column is already available in sales_order_grid table then just copy this file into you custom module MagentoSalesviewadminhtmlui_componentsales_order_grid.xml to VendorModuleviewadminhtmlui_componentsales_order_grid.xml



Now inside VendorModuleviewadminhtmlui_componentsales_order_grid.xml file add the below line.



<column name="mobile" >
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
<item name="filter" xsi:type="string">text</item>
<item name="label" xsi:type="string" translate="true">Mobile</item>
</item>
</argument>
</column>


the above code will come under-



<columns name="sales_order_columns">
....
.....
</columns>


mobile is column name in you database






share|improve this answer























  • Hi Mohammad, i tried this its show mobile field but empty. Do you have any idea how to call it? Thank you

    – MagEGY
    May 9 '17 at 13:43











  • did you check if mobile field is available in sales_order_grid table.

    – Mohammad Mujassam
    May 9 '17 at 15:15











  • No its not available in sales_order_grid table i found it inside sales_order_address table under telephone name So the question now how to tell xml file call data from sales_order_address

    – MagEGY
    May 9 '17 at 21:07











  • Joining two tables just for one field is not good idea instead add new column in sales_order_grid and insert the data in that column after order is placed. still if you want to join you can refer this question. magento.stackexchange.com/questions/123198/…

    – Mohammad Mujassam
    May 10 '17 at 4:42












  • I dont prefers this way also but i cant do it without joining. do you have any idea how to insert column from sales_order_address and sales_shipment_track to sales_order_grid to be able to call it inside order grid ?

    – MagEGY
    May 10 '17 at 21:39











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f173541%2fmagento-2-add-new-column-tracking-mobile-number-to-sales-grid%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














if this mobile column is already available in sales_order_grid table then just copy this file into you custom module MagentoSalesviewadminhtmlui_componentsales_order_grid.xml to VendorModuleviewadminhtmlui_componentsales_order_grid.xml



Now inside VendorModuleviewadminhtmlui_componentsales_order_grid.xml file add the below line.



<column name="mobile" >
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
<item name="filter" xsi:type="string">text</item>
<item name="label" xsi:type="string" translate="true">Mobile</item>
</item>
</argument>
</column>


the above code will come under-



<columns name="sales_order_columns">
....
.....
</columns>


mobile is column name in you database






share|improve this answer























  • Hi Mohammad, i tried this its show mobile field but empty. Do you have any idea how to call it? Thank you

    – MagEGY
    May 9 '17 at 13:43











  • did you check if mobile field is available in sales_order_grid table.

    – Mohammad Mujassam
    May 9 '17 at 15:15











  • No its not available in sales_order_grid table i found it inside sales_order_address table under telephone name So the question now how to tell xml file call data from sales_order_address

    – MagEGY
    May 9 '17 at 21:07











  • Joining two tables just for one field is not good idea instead add new column in sales_order_grid and insert the data in that column after order is placed. still if you want to join you can refer this question. magento.stackexchange.com/questions/123198/…

    – Mohammad Mujassam
    May 10 '17 at 4:42












  • I dont prefers this way also but i cant do it without joining. do you have any idea how to insert column from sales_order_address and sales_shipment_track to sales_order_grid to be able to call it inside order grid ?

    – MagEGY
    May 10 '17 at 21:39















0














if this mobile column is already available in sales_order_grid table then just copy this file into you custom module MagentoSalesviewadminhtmlui_componentsales_order_grid.xml to VendorModuleviewadminhtmlui_componentsales_order_grid.xml



Now inside VendorModuleviewadminhtmlui_componentsales_order_grid.xml file add the below line.



<column name="mobile" >
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
<item name="filter" xsi:type="string">text</item>
<item name="label" xsi:type="string" translate="true">Mobile</item>
</item>
</argument>
</column>


the above code will come under-



<columns name="sales_order_columns">
....
.....
</columns>


mobile is column name in you database






share|improve this answer























  • Hi Mohammad, i tried this its show mobile field but empty. Do you have any idea how to call it? Thank you

    – MagEGY
    May 9 '17 at 13:43











  • did you check if mobile field is available in sales_order_grid table.

    – Mohammad Mujassam
    May 9 '17 at 15:15











  • No its not available in sales_order_grid table i found it inside sales_order_address table under telephone name So the question now how to tell xml file call data from sales_order_address

    – MagEGY
    May 9 '17 at 21:07











  • Joining two tables just for one field is not good idea instead add new column in sales_order_grid and insert the data in that column after order is placed. still if you want to join you can refer this question. magento.stackexchange.com/questions/123198/…

    – Mohammad Mujassam
    May 10 '17 at 4:42












  • I dont prefers this way also but i cant do it without joining. do you have any idea how to insert column from sales_order_address and sales_shipment_track to sales_order_grid to be able to call it inside order grid ?

    – MagEGY
    May 10 '17 at 21:39













0












0








0







if this mobile column is already available in sales_order_grid table then just copy this file into you custom module MagentoSalesviewadminhtmlui_componentsales_order_grid.xml to VendorModuleviewadminhtmlui_componentsales_order_grid.xml



Now inside VendorModuleviewadminhtmlui_componentsales_order_grid.xml file add the below line.



<column name="mobile" >
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
<item name="filter" xsi:type="string">text</item>
<item name="label" xsi:type="string" translate="true">Mobile</item>
</item>
</argument>
</column>


the above code will come under-



<columns name="sales_order_columns">
....
.....
</columns>


mobile is column name in you database






share|improve this answer













if this mobile column is already available in sales_order_grid table then just copy this file into you custom module MagentoSalesviewadminhtmlui_componentsales_order_grid.xml to VendorModuleviewadminhtmlui_componentsales_order_grid.xml



Now inside VendorModuleviewadminhtmlui_componentsales_order_grid.xml file add the below line.



<column name="mobile" >
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
<item name="filter" xsi:type="string">text</item>
<item name="label" xsi:type="string" translate="true">Mobile</item>
</item>
</argument>
</column>


the above code will come under-



<columns name="sales_order_columns">
....
.....
</columns>


mobile is column name in you database







share|improve this answer












share|improve this answer



share|improve this answer










answered May 9 '17 at 7:10









Mohammad MujassamMohammad Mujassam

1,2121327




1,2121327












  • Hi Mohammad, i tried this its show mobile field but empty. Do you have any idea how to call it? Thank you

    – MagEGY
    May 9 '17 at 13:43











  • did you check if mobile field is available in sales_order_grid table.

    – Mohammad Mujassam
    May 9 '17 at 15:15











  • No its not available in sales_order_grid table i found it inside sales_order_address table under telephone name So the question now how to tell xml file call data from sales_order_address

    – MagEGY
    May 9 '17 at 21:07











  • Joining two tables just for one field is not good idea instead add new column in sales_order_grid and insert the data in that column after order is placed. still if you want to join you can refer this question. magento.stackexchange.com/questions/123198/…

    – Mohammad Mujassam
    May 10 '17 at 4:42












  • I dont prefers this way also but i cant do it without joining. do you have any idea how to insert column from sales_order_address and sales_shipment_track to sales_order_grid to be able to call it inside order grid ?

    – MagEGY
    May 10 '17 at 21:39

















  • Hi Mohammad, i tried this its show mobile field but empty. Do you have any idea how to call it? Thank you

    – MagEGY
    May 9 '17 at 13:43











  • did you check if mobile field is available in sales_order_grid table.

    – Mohammad Mujassam
    May 9 '17 at 15:15











  • No its not available in sales_order_grid table i found it inside sales_order_address table under telephone name So the question now how to tell xml file call data from sales_order_address

    – MagEGY
    May 9 '17 at 21:07











  • Joining two tables just for one field is not good idea instead add new column in sales_order_grid and insert the data in that column after order is placed. still if you want to join you can refer this question. magento.stackexchange.com/questions/123198/…

    – Mohammad Mujassam
    May 10 '17 at 4:42












  • I dont prefers this way also but i cant do it without joining. do you have any idea how to insert column from sales_order_address and sales_shipment_track to sales_order_grid to be able to call it inside order grid ?

    – MagEGY
    May 10 '17 at 21:39
















Hi Mohammad, i tried this its show mobile field but empty. Do you have any idea how to call it? Thank you

– MagEGY
May 9 '17 at 13:43





Hi Mohammad, i tried this its show mobile field but empty. Do you have any idea how to call it? Thank you

– MagEGY
May 9 '17 at 13:43













did you check if mobile field is available in sales_order_grid table.

– Mohammad Mujassam
May 9 '17 at 15:15





did you check if mobile field is available in sales_order_grid table.

– Mohammad Mujassam
May 9 '17 at 15:15













No its not available in sales_order_grid table i found it inside sales_order_address table under telephone name So the question now how to tell xml file call data from sales_order_address

– MagEGY
May 9 '17 at 21:07





No its not available in sales_order_grid table i found it inside sales_order_address table under telephone name So the question now how to tell xml file call data from sales_order_address

– MagEGY
May 9 '17 at 21:07













Joining two tables just for one field is not good idea instead add new column in sales_order_grid and insert the data in that column after order is placed. still if you want to join you can refer this question. magento.stackexchange.com/questions/123198/…

– Mohammad Mujassam
May 10 '17 at 4:42






Joining two tables just for one field is not good idea instead add new column in sales_order_grid and insert the data in that column after order is placed. still if you want to join you can refer this question. magento.stackexchange.com/questions/123198/…

– Mohammad Mujassam
May 10 '17 at 4:42














I dont prefers this way also but i cant do it without joining. do you have any idea how to insert column from sales_order_address and sales_shipment_track to sales_order_grid to be able to call it inside order grid ?

– MagEGY
May 10 '17 at 21:39





I dont prefers this way also but i cant do it without joining. do you have any idea how to insert column from sales_order_address and sales_shipment_track to sales_order_grid to be able to call it inside order grid ?

– MagEGY
May 10 '17 at 21:39

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f173541%2fmagento-2-add-new-column-tracking-mobile-number-to-sales-grid%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2