Author Topic: adding additional texboxes in addtocart form  (Read 911 times)

dudu321

  • Beginner
  • *
  • Posts: 2
adding additional texboxes in addtocart form
« on: April 06, 2010, 07:06:58 am »
Hi,

I'm trying to add new info along with the usual quantity textbox that is there with the addtocart form.

i want to add a "recepient name" textbox that will be sent to the cart.  i have already added the needed html in addtocart_form.tpl.php

<input type="text" name="gc_name"/>

the textbox is already shown on the flypage. so i guess i did that correctly

the problem is, i do not know what files i need to edit so i can access my newly added gc_name textbox and output it to the checkout pages.

any help will be appreciated. thanks

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
Re: adding additional texboxes in addtocart form
« Reply #1 on: April 06, 2010, 08:45:23 am »
I suggest you take a look at the custom attributes extended hack.