Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2009
    Posts
    234
    Plugin Contributions
    0

    Default Can I assign more than one TEXT field to a product?

    Hi, we have some products that require multiple text fields.

    We sell stamps and for example; a four line stamp will show 4 text fields to fill in your details.

    When i create and assign text fields in the attribute controller for zen cart, it only displays one field.

    Am i doing something wrong , or is this a limitation in zc?

    If zc is somehow limiting the textfield count to 1, could someone point me in the right direction as to where id change the code?

    Many thanks,

    Scott.
    Donation made. Enjoy those donuts! :-)

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can I assign more than one TEXT field to a product?

    Are you creating multiple text attributes?

    As in
    Option Name
    Text1
    Text2
    text3t
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2009
    Posts
    234
    Plugin Contributions
    0

    Default Re: Can I assign more than one TEXT field to a product?

    Hi Kobra, yes I did. It was pretty late when i did the test so ill try again.

    But Im sure i had;

    textfield1
    textfield2
    textfield3

    and only;

    textfield1

    showed up on the product page. Will check and come back shortly.
    Donation made. Enjoy those donuts! :-)

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Can I assign more than one TEXT field to a product?

    Text Attributes work slightly differently... One Option NAME cannot have more than ONE text Option VALUE.

    If you want several text fields, these must be set up as multiple Option NAMES.

    Each Option NAME is assigned TEXT as the Option TYPE

    When applying these Option Names to the product, simply select the relevant Option NAMES and in the second set of selections (values), click TEXT.
    20 years a Zencart User

  5. #5
    Join Date
    Dec 2009
    Posts
    234
    Plugin Contributions
    0

    Default Re: Can I assign more than one TEXT field to a product?

    Thanks for the reply. Something must be screwy with my atrributes controller or something.. the other day i could add text fields, now if i create a text field i get this;

    [scr]http://www.scolina.com/images/Capture.GIF[/scr]

    I cant select the option name and assign it to anything.

    This only happens when trying to a create a text field, dropdowns and other option types seem to work fine.

    I did do a custom import of all my products, but i wouldnt think that would affect things?
    Donation made. Enjoy those donuts! :-)

  6. #6
    Join Date
    Dec 2009
    Posts
    234
    Plugin Contributions
    0

    Default Re: Can I assign more than one TEXT field to a product?

    Thanks for the help guys, I fixed it by applying the sql in this thread;

    http://www.zen-cart.com/forum/showthread.php?t=144356
    Donation made. Enjoy those donuts! :-)

  7. #7
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Can I assign more than one TEXT field to a product?

    Quote Originally Posted by Scott_C View Post
    Thanks for the help guys, I fixed it by applying the sql in this thread;

    http://www.zen-cart.com/forum/showthread.php?t=144356
    That suggests you've damaged some files by deleting records you shouldn't have. There may be more cleanup required than just that one entry. Best to compare with a clean install to see what else you need to fix.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Dec 2009
    Posts
    234
    Plugin Contributions
    0

    Default Re: Can I assign more than one TEXT field to a product?

    Thank Dr, will do.
    Donation made. Enjoy those donuts! :-)

 

 

Similar Threads

  1. Replies: 5
    Last Post: 19 Sep 2012, 03:49 AM
  2. Can a product have more than one name?
    By labradors in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 5 Feb 2010, 12:09 AM
  3. how can i upolad more than one pics for one product?
    By blueonline in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 24 Jun 2008, 01:14 AM
  4. Replies: 13
    Last Post: 28 Mar 2008, 11:30 PM
  5. How can I add more than one image per product
    By Dralion in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Jun 2007, 07:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg