Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Extra field for database during checkout process


ronobi

Recommended Posts

Posted

Hello,

 

How I can I insert a value (from a payment module) into a specific field of the order_table during checkout_process? I have added tha field in the database as well as class file of order.

 

I tried to send the value from function process_button() (in payment method module) but it did not work. I also tried with function after_process() using $HTTP_GET_VARS as global but neither it worked.

 

Any suggestion or help will be highly appreciated.

 

-Ronobi

Posted

Forgot to mention that in my checkout_process.php, I also added that field in $sql_data_array for tep_db_perform.

  • 1 month later...
Posted
Anyone? Any sugestions?

 

Hi. Are you reying to add extra fields in the add to cart process?

That is what i am trying to do, did you manage it and get it to work, or if this is what you are trying to acheive, maybe we could put heads together?

B)

Posted

I detailed my method of doing this here:

 

http://www.oscommerce.com/forums/index.php?showtopic=90081

 

Scroll down to the 8th or 9th post and you'll see what I did.

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Posted

Thanx for the quick reply :D

I've had a quick look and all looks great, I'll have a bash at it tonight!

once again thanks for replying.

c.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...