Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7621171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:07:50+00:00 2026-05-31T04:07:50+00:00

In Magento, once Customer places Order, that data automatically goes to Sales_flat_order table or

  • 0

In Magento, once Customer places Order, that data automatically goes to Sales_flat_order table or for item related information goes to sales_flat_order_item table etc.
Likewise I have selected some columns in Magento database & created 1 custom table in Magento database.
Now My requirement is, once customer places Order that data also must get copied to custom table along with Magento\’s default table.

So for that I created one mysql query through joins that will fetch all my needed data from Magento tables & insert it in my Custom table….
Now I am planning to create php file that includes my above query.

My doubt is how & where should I change My Magento code so that once customer places order, I will call to this file so that I can copy data in custom table through that query.
I get some reference as When customer places order, it will use saveOrder function in Onepage model which is at Checkout/Model/Type/Onepage.php

So can anybody tell me what exactly I need to do in this scenario….Anyone having such scenario or sample code for the same…
Or having any other idea…

Plz guide me…

Thanks..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:07:51+00:00Added an answer on May 31, 2026 at 4:07 am

    You can follow my tip on this answer but observing the checkout_type_onepage_save_order_after event.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write a Magento (CE 1.4) extension to export order data once
once you've placed an order with magento you taking to a final page that
once you've placed an order with magento you taking to a final page that
Greetings, in Magento I want to trigger an event, once an order has been
Is there a way to programmatically reopen an order in Magento that has already
Magento 1.6.1 I am trying to get form data on my observer. I tried
magento How do I? manual order (backend) free shipping, actually pickup Hi we want
Magento checkout broken in IE9 and IE8 for that matter When testing our checkout
In Magento 1.4, I am successfully using this code to mark an order as
I'm working on an extension for Magento (1.4 CE) that needs to be triggered

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.