Magento 2 - How to add admin username in order comments on admin actionMagento add Custom order statusHow to create invioce for cancel order?How to get last order status history comment and order status Magento 2Order : To add comments programmatically for an order in admin panel in magento 2how to cancel processed order?Magento 2 order information: How to add links dynamically?How to add custom block in admin order create form in magento 2.2.5Send Email to customers automaticallyadd username to order comment historyOrder Status Processing after Shipment and Generate Invoice also Invoice status showing pending in Magento2

What makes "quality" analog AV cables better than cheap cables?

Can I say that master can only initiate communication in SPI vs. in I2C slave can also initiate the communication?

What are the implications of the new alleged key recovery attack preprint on SIMON?

How can a layman easily get the consensus view of what academia *thinks* about a subject?

How much Replacement does this axiom provide?

If current results hold, Man City would win PL title

Entering the UK as a British citizen who is a Canadian permanent resident

Automatically anti-predictably assemble an alliterative aria

Program which behaves differently in/out of a debugger

When a land becomes a creature, is it untapped?

How exactly does artificial gravity work?

Anatomically Correct Carnivorous Tree

What's the difference between "за ... от" and "в ... от"?

Unexpected Netflix account registered to my Gmail address - any way it could be a hack attempt?

As programers say: Strive to be lazy

Why was Endgame Thanos so different than Infinity War Thanos?

Magento 2: How to get type columns of table in sql?

Is there anything special about -1 (0xFFFFFFFF) regarding ADC?

Find hamming distance between two Strings of equal length in Java

Determine the slope and write the Cartesian equation of the line.

Is this a security concern for ubuntu users?

What kind of SATA connector is this?

Does SQL Server allow (make visible) DDL inside a transaction to the transaction prior to commit?

In books, how many dragons are there in present time?



Magento 2 - How to add admin username in order comments on admin action


Magento add Custom order statusHow to create invioce for cancel order?How to get last order status history comment and order status Magento 2Order : To add comments programmatically for an order in admin panel in magento 2how to cancel processed order?Magento 2 order information: How to add links dynamically?How to add custom block in admin order create form in magento 2.2.5Send Email to customers automaticallyadd username to order comment historyOrder Status Processing after Shipment and Generate Invoice also Invoice status showing pending in Magento2






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








3















I need to add admin username in order comment history whenever I create



  • invoice

  • shipment

  • and On Cancel order.









share|improve this question






























    3















    I need to add admin username in order comment history whenever I create



    • invoice

    • shipment

    • and On Cancel order.









    share|improve this question


























      3












      3








      3








      I need to add admin username in order comment history whenever I create



      • invoice

      • shipment

      • and On Cancel order.









      share|improve this question
















      I need to add admin username in order comment history whenever I create



      • invoice

      • shipment

      • and On Cancel order.






      magento2 magento2.2 sales-order magento2.3 admin-panel






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 9 at 4:45









      Muhammad Hasham

      3,80231647




      3,80231647










      asked Feb 13 at 12:02







      user76063



























          1 Answer
          1






          active

          oldest

          votes


















          3














          I recently did this work through observers



          You have to add these event in your module event file VendorYourmodulenameetcevents.xml



          For Invoice



          <event name="sales_order_invoice_register">
          <observer name="vendor_yourmodulename_observer_addcommentonaction" instance="VendorYourmodulenameObserverAddcommentonaction" />
          </event>


          For Cancel



          <event name="order_cancel_after">
          <observer name="vendor_yourmodulename_observer_addcommentoncancelaction" instance="VendorYourmodulenameObserverAddcommentoncancelaction" />
          </event>


          For Shipment



          <event name="sales_order_shipment_save_after">
          <observer name="vendor_yourmodulename_observer_addcommentonshipmentaction" instance="VendorYourmodulenameObserverAddcommentonshipmentaction" />
          </event>



          Observer files




          For Invoice Add file in your module VendorYourmodulenameObserverAddcommentonaction.php



          <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentonaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $order= $observer->getData('order');
          //$order->doSomething();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Invoice generated"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;




          For Cancel Add file in your module VendorYourmodulenameObserverAddcommentoncancelaction.php



           <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentoncancelaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $order= $observer->getData('order');
          //$order->doSomething();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Order canceled"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;




          For Shipment Add file in your module VendorYourmodulenameObserverAddcommentonshipmentaction.php



           <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentonshipmentaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $shipment = $observer->getEvent()->getShipment();
          $order = $shipment->getOrder();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Shipment generated"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;







          share|improve this answer























          • Hi, I need to display the admins name also in here -> prnt.sc/n891za Please help me @Muhammad Hasham

            – Ask Bytes
            Apr 6 at 8:27











          • Hi, i achieved the above by extending the SalesModelOrder addStatusHistoryComment() function.

            – Ask Bytes
            Apr 6 at 9:46











          • @AskBytes check here ansarhusain.in/2019/04/… i have made what you have required

            – Ansar Husain
            May 2 at 8:56











          • @AnsarHusain That's great. However i found the solution already. thanks for sharing. :)

            – Ask Bytes
            May 2 at 15:23












          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%2f261607%2fmagento-2-how-to-add-admin-username-in-order-comments-on-admin-action%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









          3














          I recently did this work through observers



          You have to add these event in your module event file VendorYourmodulenameetcevents.xml



          For Invoice



          <event name="sales_order_invoice_register">
          <observer name="vendor_yourmodulename_observer_addcommentonaction" instance="VendorYourmodulenameObserverAddcommentonaction" />
          </event>


          For Cancel



          <event name="order_cancel_after">
          <observer name="vendor_yourmodulename_observer_addcommentoncancelaction" instance="VendorYourmodulenameObserverAddcommentoncancelaction" />
          </event>


          For Shipment



          <event name="sales_order_shipment_save_after">
          <observer name="vendor_yourmodulename_observer_addcommentonshipmentaction" instance="VendorYourmodulenameObserverAddcommentonshipmentaction" />
          </event>



          Observer files




          For Invoice Add file in your module VendorYourmodulenameObserverAddcommentonaction.php



          <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentonaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $order= $observer->getData('order');
          //$order->doSomething();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Invoice generated"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;




          For Cancel Add file in your module VendorYourmodulenameObserverAddcommentoncancelaction.php



           <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentoncancelaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $order= $observer->getData('order');
          //$order->doSomething();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Order canceled"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;




          For Shipment Add file in your module VendorYourmodulenameObserverAddcommentonshipmentaction.php



           <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentonshipmentaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $shipment = $observer->getEvent()->getShipment();
          $order = $shipment->getOrder();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Shipment generated"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;







          share|improve this answer























          • Hi, I need to display the admins name also in here -> prnt.sc/n891za Please help me @Muhammad Hasham

            – Ask Bytes
            Apr 6 at 8:27











          • Hi, i achieved the above by extending the SalesModelOrder addStatusHistoryComment() function.

            – Ask Bytes
            Apr 6 at 9:46











          • @AskBytes check here ansarhusain.in/2019/04/… i have made what you have required

            – Ansar Husain
            May 2 at 8:56











          • @AnsarHusain That's great. However i found the solution already. thanks for sharing. :)

            – Ask Bytes
            May 2 at 15:23
















          3














          I recently did this work through observers



          You have to add these event in your module event file VendorYourmodulenameetcevents.xml



          For Invoice



          <event name="sales_order_invoice_register">
          <observer name="vendor_yourmodulename_observer_addcommentonaction" instance="VendorYourmodulenameObserverAddcommentonaction" />
          </event>


          For Cancel



          <event name="order_cancel_after">
          <observer name="vendor_yourmodulename_observer_addcommentoncancelaction" instance="VendorYourmodulenameObserverAddcommentoncancelaction" />
          </event>


          For Shipment



          <event name="sales_order_shipment_save_after">
          <observer name="vendor_yourmodulename_observer_addcommentonshipmentaction" instance="VendorYourmodulenameObserverAddcommentonshipmentaction" />
          </event>



          Observer files




          For Invoice Add file in your module VendorYourmodulenameObserverAddcommentonaction.php



          <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentonaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $order= $observer->getData('order');
          //$order->doSomething();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Invoice generated"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;




          For Cancel Add file in your module VendorYourmodulenameObserverAddcommentoncancelaction.php



           <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentoncancelaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $order= $observer->getData('order');
          //$order->doSomething();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Order canceled"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;




          For Shipment Add file in your module VendorYourmodulenameObserverAddcommentonshipmentaction.php



           <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentonshipmentaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $shipment = $observer->getEvent()->getShipment();
          $order = $shipment->getOrder();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Shipment generated"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;







          share|improve this answer























          • Hi, I need to display the admins name also in here -> prnt.sc/n891za Please help me @Muhammad Hasham

            – Ask Bytes
            Apr 6 at 8:27











          • Hi, i achieved the above by extending the SalesModelOrder addStatusHistoryComment() function.

            – Ask Bytes
            Apr 6 at 9:46











          • @AskBytes check here ansarhusain.in/2019/04/… i have made what you have required

            – Ansar Husain
            May 2 at 8:56











          • @AnsarHusain That's great. However i found the solution already. thanks for sharing. :)

            – Ask Bytes
            May 2 at 15:23














          3












          3








          3







          I recently did this work through observers



          You have to add these event in your module event file VendorYourmodulenameetcevents.xml



          For Invoice



          <event name="sales_order_invoice_register">
          <observer name="vendor_yourmodulename_observer_addcommentonaction" instance="VendorYourmodulenameObserverAddcommentonaction" />
          </event>


          For Cancel



          <event name="order_cancel_after">
          <observer name="vendor_yourmodulename_observer_addcommentoncancelaction" instance="VendorYourmodulenameObserverAddcommentoncancelaction" />
          </event>


          For Shipment



          <event name="sales_order_shipment_save_after">
          <observer name="vendor_yourmodulename_observer_addcommentonshipmentaction" instance="VendorYourmodulenameObserverAddcommentonshipmentaction" />
          </event>



          Observer files




          For Invoice Add file in your module VendorYourmodulenameObserverAddcommentonaction.php



          <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentonaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $order= $observer->getData('order');
          //$order->doSomething();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Invoice generated"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;




          For Cancel Add file in your module VendorYourmodulenameObserverAddcommentoncancelaction.php



           <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentoncancelaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $order= $observer->getData('order');
          //$order->doSomething();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Order canceled"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;




          For Shipment Add file in your module VendorYourmodulenameObserverAddcommentonshipmentaction.php



           <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentonshipmentaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $shipment = $observer->getEvent()->getShipment();
          $order = $shipment->getOrder();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Shipment generated"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;







          share|improve this answer













          I recently did this work through observers



          You have to add these event in your module event file VendorYourmodulenameetcevents.xml



          For Invoice



          <event name="sales_order_invoice_register">
          <observer name="vendor_yourmodulename_observer_addcommentonaction" instance="VendorYourmodulenameObserverAddcommentonaction" />
          </event>


          For Cancel



          <event name="order_cancel_after">
          <observer name="vendor_yourmodulename_observer_addcommentoncancelaction" instance="VendorYourmodulenameObserverAddcommentoncancelaction" />
          </event>


          For Shipment



          <event name="sales_order_shipment_save_after">
          <observer name="vendor_yourmodulename_observer_addcommentonshipmentaction" instance="VendorYourmodulenameObserverAddcommentonshipmentaction" />
          </event>



          Observer files




          For Invoice Add file in your module VendorYourmodulenameObserverAddcommentonaction.php



          <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentonaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $order= $observer->getData('order');
          //$order->doSomething();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Invoice generated"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;




          For Cancel Add file in your module VendorYourmodulenameObserverAddcommentoncancelaction.php



           <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentoncancelaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $order= $observer->getData('order');
          //$order->doSomething();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Order canceled"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;




          For Shipment Add file in your module VendorYourmodulenameObserverAddcommentonshipmentaction.php



           <?php
          namespace VendorYourmodulenameObserver;

          class Addcommentonshipmentaction implements MagentoFrameworkEventObserverInterface

          public function execute(MagentoFrameworkEventObserver $observer)


          $shipment = $observer->getEvent()->getShipment();
          $order = $shipment->getOrder();
          $authsession = MagentoFrameworkAppObjectManager::getInstance()->create(MagentoBackendModelAuthSession::class);
          $username = $authsession->getUser()->getUsername();


          $notify = false;
          $visible = false;
          $history = $order->addStatusHistoryComment("Shipment generated"." (".$username.")", $order->getStatus());
          $history->setIsVisibleOnFront($visible);
          $history->setIsCustomerNotified($notify);
          $history->save();

          return $this;








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 13 at 12:20









          Muhammad HashamMuhammad Hasham

          3,80231647




          3,80231647












          • Hi, I need to display the admins name also in here -> prnt.sc/n891za Please help me @Muhammad Hasham

            – Ask Bytes
            Apr 6 at 8:27











          • Hi, i achieved the above by extending the SalesModelOrder addStatusHistoryComment() function.

            – Ask Bytes
            Apr 6 at 9:46











          • @AskBytes check here ansarhusain.in/2019/04/… i have made what you have required

            – Ansar Husain
            May 2 at 8:56











          • @AnsarHusain That's great. However i found the solution already. thanks for sharing. :)

            – Ask Bytes
            May 2 at 15:23


















          • Hi, I need to display the admins name also in here -> prnt.sc/n891za Please help me @Muhammad Hasham

            – Ask Bytes
            Apr 6 at 8:27











          • Hi, i achieved the above by extending the SalesModelOrder addStatusHistoryComment() function.

            – Ask Bytes
            Apr 6 at 9:46











          • @AskBytes check here ansarhusain.in/2019/04/… i have made what you have required

            – Ansar Husain
            May 2 at 8:56











          • @AnsarHusain That's great. However i found the solution already. thanks for sharing. :)

            – Ask Bytes
            May 2 at 15:23

















          Hi, I need to display the admins name also in here -> prnt.sc/n891za Please help me @Muhammad Hasham

          – Ask Bytes
          Apr 6 at 8:27





          Hi, I need to display the admins name also in here -> prnt.sc/n891za Please help me @Muhammad Hasham

          – Ask Bytes
          Apr 6 at 8:27













          Hi, i achieved the above by extending the SalesModelOrder addStatusHistoryComment() function.

          – Ask Bytes
          Apr 6 at 9:46





          Hi, i achieved the above by extending the SalesModelOrder addStatusHistoryComment() function.

          – Ask Bytes
          Apr 6 at 9:46













          @AskBytes check here ansarhusain.in/2019/04/… i have made what you have required

          – Ansar Husain
          May 2 at 8:56





          @AskBytes check here ansarhusain.in/2019/04/… i have made what you have required

          – Ansar Husain
          May 2 at 8:56













          @AnsarHusain That's great. However i found the solution already. thanks for sharing. :)

          – Ask Bytes
          May 2 at 15:23






          @AnsarHusain That's great. However i found the solution already. thanks for sharing. :)

          – Ask Bytes
          May 2 at 15:23


















          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%2f261607%2fmagento-2-how-to-add-admin-username-in-order-comments-on-admin-action%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

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?