How to save data in custom table and then send that data in order email in magento 2?Magento 2 : Notice Error...

Why doesn't using two cd commands in bash script execute the second command?

Is it true that real estate prices mainly go up?

Does this property of comaximal ideals always holds?

Dot in front of file

2D counterpart of std::array in C++17

Can anyone tell me why this program fails?

Importance of differentiation

Rules about breaking the rules. How do I do it well?

Why are the outputs of printf and std::cout different

Why did it take so long to abandon sail after steamships were demonstrated?

Is having access to past exams cheating and, if yes, could it be proven just by a good grade?

Provisioning profile doesn't include the application-identifier and keychain-access-groups entitlements

Is it possible to upcast ritual spells?

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

How to generate globally unique ids for different tables of the same database?

An Accountant Seeks the Help of a Mathematician

Informing my boss about remarks from a nasty colleague

Employee lack of ownership

Who is our nearest planetary neighbor, on average?

Theorems like the Lovász Local Lemma?

Will a pinhole camera work with instant film?

It's a yearly task, alright

Latest web browser compatible with Windows 98

Replacing Windows 7 security updates with anti-virus?



How to save data in custom table and then send that data in order email in magento 2?


Magento 2 : Notice Error - Array to String conversionFrequently Bought Together Products tab issueHow to get data from custom table and display it in page in Admin Panel?Show and save Telephone field on registration page Magento 2The type definition 'string', specified by xsi:type, is blocked or not validly derived from the type definition of the element declaration in magento2How to merge name : value pairs in JavascriptHow can we get stock data in product listing via afterGetList plugin in Magento 2.2.3Magento 2.2.3 Backend Admin Save.php Where Gird/Form Is a join tabledisplay all customers using console command magento2.2.3No such entity for customer grid magento2













0















Anyone can please help me how to save data in a custom table after successful order and send saved data in order email.



Thanks.









share









New contributor




Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    Anyone can please help me how to save data in a custom table after successful order and send saved data in order email.



    Thanks.









    share









    New contributor




    Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Anyone can please help me how to save data in a custom table after successful order and send saved data in order email.



      Thanks.









      share









      New contributor




      Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Anyone can please help me how to save data in a custom table after successful order and send saved data in order email.



      Thanks.







      magento2 magento2.2.3





      share









      New contributor




      Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share









      New contributor




      Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share








      edited 3 mins ago







      Prince













      New contributor




      Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 8 mins ago









      PrincePrince

      1




      1




      New contributor




      Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Prince is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          you can use the event checkout_onepage_controller_success_action at Namespacemoduleetcfrontendevents.xml :



          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
          <event name="checkout_onepage_controller_success_action">
          <observer name="mymodule_controller_success_action" instance="NamespaceModuleObserverMyObserver" />
          </event>




          share























            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
            });


            }
            });






            Prince is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266032%2fhow-to-save-data-in-custom-table-and-then-send-that-data-in-order-email-in-magen%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














            you can use the event checkout_onepage_controller_success_action at Namespacemoduleetcfrontendevents.xml :



            <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
            <event name="checkout_onepage_controller_success_action">
            <observer name="mymodule_controller_success_action" instance="NamespaceModuleObserverMyObserver" />
            </event>




            share




























              0














              you can use the event checkout_onepage_controller_success_action at Namespacemoduleetcfrontendevents.xml :



              <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
              <event name="checkout_onepage_controller_success_action">
              <observer name="mymodule_controller_success_action" instance="NamespaceModuleObserverMyObserver" />
              </event>




              share


























                0












                0








                0







                you can use the event checkout_onepage_controller_success_action at Namespacemoduleetcfrontendevents.xml :



                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
                <event name="checkout_onepage_controller_success_action">
                <observer name="mymodule_controller_success_action" instance="NamespaceModuleObserverMyObserver" />
                </event>




                share













                you can use the event checkout_onepage_controller_success_action at Namespacemoduleetcfrontendevents.xml :



                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
                <event name="checkout_onepage_controller_success_action">
                <observer name="mymodule_controller_success_action" instance="NamespaceModuleObserverMyObserver" />
                </event>





                share











                share


                share










                answered 54 secs ago









                Ronak RathodRonak Rathod

                40010




                40010






















                    Prince is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    Prince is a new contributor. Be nice, and check out our Code of Conduct.













                    Prince is a new contributor. Be nice, and check out our Code of Conduct.












                    Prince is a new contributor. Be nice, and check out our Code of Conduct.
















                    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%2f266032%2fhow-to-save-data-in-custom-table-and-then-send-that-data-in-order-email-in-magen%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

                    “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                    How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                    變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...