Magento 2 Add new column tracking/mobile number to sales grid The 2019 Stack Overflow Developer Survey Results Are InMagento2 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?

Access elements in std::string where positon of string is greater than its size

CiviEvent: Public link for events of a specific type

Limit the amount of RAM Mathematica may access?

What is this 4-propeller plane?

It's possible to achieve negative score?

Why don't Unix/Linux systems traverse through directories until they find the required version of a linked library?

I see my dog run

Does light intensity oscillate really fast since it is a wave?

What effect does the “loading” weapon property have in practical terms?

Should I use my personal or workplace e-mail when registering to external websites for work purpose?

Is this food a bread or a loaf?

What does "sndry explns" mean in one of the Hitchhiker's guide books?

aging parents with no investments

Why could you hear an Amstrad CPC working?

In microwave frequencies, do you use a circulator when you need a (near) perfect diode?

What do the Banks children have against barley water?

Extreme, unacceptable situation and I can't attend work tomorrow morning

How to create dashed lines/arrows in Illustrator

Falsification in Math vs Science

How was Skylab's orbit inclination chosen?

Are USB sockets on wall outlets live all the time, even when the switch is off?

Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints

Inversion Puzzle

What are my rights when I have a Sparpreis ticket but can't board an overcrowded train?



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



The 2019 Stack Overflow Developer Survey Results Are InMagento2 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
























  • 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
























  • 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












  • 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

Sum ergo cogito? 1 nng

三茅街道4182Guuntc Dn precexpngmageondP