oasisfleeting Posted April 24, 2009 Posted April 24, 2009 (edited) I'm interested in building an add on to oscommerce, but my knowledge in the actual shopping cart is limited. I'm interested in some code snippets regarding purchases being made. For instance, is the database transactional or do I need to insert rows into the orders and orders_products tables manually? Specifically I'm looking to create a script that essentially acts as a purchase being made. This is for a barcode scanner software I'm integrating into oscommerce. The barcode client application will POST variables to a .php file which will in turn simulate a purchase made. Thanks in advance for any help. Edited April 24, 2009 by oasisfleeting Quote
♥kymation Posted April 25, 2009 Posted April 25, 2009 You need to insert rows and modify some others. Take a look at checkout_process.php -- that's where the database is updated with the order details. Regards Jim Quote See my profile for a list of my addons and ways to get support.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.