Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

a form within a form (or at least within the product info)


Trusten

Recommended Posts

I was trying to make a site to sell web space with oscommerce, so far, so good.

 

however, of course the need for an area where a person can enter their domain name is very necessary.

 

i realized that the product info is a large form, great. I thought, hot d#mn, just put in a new field into the form and rock and roll.

 

so cool, i put this field in,

Domain Name:<br>www.

 <input type="text" name="id[00]" size="20" value="yourdomain.com">

 

um, it recognizes that a new field is there, but it refuses to document the new value.

 

at the 'in shopping cart' area, it simply will not show the domain name that was entered. what format can i use to make sure that the form recognizes my properties?

Link to comment
Share on other sites

Well, you'll also need to put whatever the person types into the input box, into the database. Then you'll need to draw out that info in the Admin side.

 

There is a option_text contribution that can handle your needs, but it is very difficult to get working.

 

As an aside, we also use Osc to sell Hosting/Domains/extras, and we use the "comments" field in the sign-up process to get the Domain Name(s) from the customer...

 

HTH

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...