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;
Hello guys I need your help to know how to add new column "tracking/mobile number" to sales grid.
magento2 order-grid
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.
add a comment |
Hello guys I need your help to know how to add new column "tracking/mobile number" to sales grid.
magento2 order-grid
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
add a comment |
Hello guys I need your help to know how to add new column "tracking/mobile number" to sales grid.
magento2 order-grid
Hello guys I need your help to know how to add new column "tracking/mobile number" to sales grid.
magento2 order-grid
magento2 order-grid
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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
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
|
show 1 more comment
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
|
show 1 more comment
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
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
|
show 1 more comment
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
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
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
|
show 1 more comment
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
|
show 1 more comment
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Try with this i haven't checked this but please try.
– Naveenbos
May 9 '17 at 6:37