Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is there a way to add a text field to shopping cart?


kburch1030

Recommended Posts

Posted

We sell cookie gift baskets and I need a field in the shopping cart where people can type in a message to put on the cookie. I know there is a message field for the gift card, but I need a second field where they can input what goes on the cookie. I haven't been able to find anything that would make this easy to implement but it seems to me it should be since there's already one text field in there. Please, though, make any responses as if you're talking to a 10-yr. old because PHP is not my field, I learned in HTML and PHP scares me! It seems like if you make one little mistake, the whole site becomes dysfunctional and I'm really afraid to experiment with things in the PHP section.

 

Thanks in advance ... also, I'm still hoping someone will know how to add that mandatory phone number field for recipient.

 

Kathy

Posted

I don't believe so. So I really don't know

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

I am working on a very similar problem,

 

mtechama is right, its not simple at least i think but it definately is doable...

 

Once i am done, if i can work it out i will let you know

 

Ilan

Posted

I think the "easiest" way to do that would be to add a column to the orders table like cookie_name. You could add a place in the orders page to insert there information. On the checkout success page you could have a note reminding them they need to do this.

 

I don't think there is an easy way to do this without getting into the php and mysql.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Posted

even if there would be a component for that, you would still have to implement that in the php code.

if not it is not that hard to write.

 

one solution is to change the comments field to write instead of comments something like:

"what should we write on your cookie?"

for that solution you will just have to change your language files.

 

but still even there you can make your site go blank (in this case just the checkout process).

Posted
even if there would be a component for that, you would still have to implement that in the php code.

if not it is not that hard to write.

 

one solution is to change the comments field to write instead of comments something like:

"what should we write on your cookie?"

for that solution you will just have to change your language files.

 

but still even there you can make your site go blank (in this case just the checkout process).

 

 

sorry ... wrong post

Archived

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

×
×
  • Create New...