Announcement

Collapse
No announcement yet.

Input box for a component

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Input box for a component

    I have set up a component for an option of personalising a gift from our site. I would like to add an input box at the side of the component to allow the customer to enter the required name for personalising. Any one know how to do this.

    Thanks in anticipation.

    #2
    Hi Tony

    You could try using an "Other Info" box for asking the customer to enter their customer name.
    The way to create this, is to go to the actual product itself
    Go into Advance and Prompt. You should see an option for "Other Info".
    Nadeem Rasool
    SellerDeck Development

    Comment


      #3
      This is fine, but can lead to the other problem of the other info box being mandatory whilst the component may be optional.

      The way around this is to locate the format for the other info text box (prompt ID 2161 in 'Design | Text') and change it to read:

      %s<INPUT TYPE=text NAME="%s" SIZE="%d" MAXLENGTH="%d" VALUE="-">

      This puts a default value of '-' in the field and thus satisfies the online scripts.

      I should add that the above code is only for the other info field as it appears on the product page.

      Comment

      Working...
      X