Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (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 by oasisfleeting
Posted

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

See my profile for a list of my addons and ways to get support.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...