Results 1 to 5 of 5

Hybrid View

  1. #1

    Default Text Option Value in Drop Down Or Radio Option Name

    I am trying to set up embroidery as a product on one of my sites to allow a customer to add custom printing and embroidery options to garments.

    I am asking customers to choose the font of the words they require embroidering and have listed 5 radio style options of familiar fonts.

    I have added a radio attribute for "other" fonts and i am trying to allow a text field to show up when that radio option is selected so that customers can type in their font.

    Is it possible to mkae a radio attribute vlaue when selected open a text box up?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Text Option Value in Drop Down Or Radio Option Name

    Quote Originally Posted by DVDTitan View Post
    Is it possible to mkae a radio attribute vlaue when selected open a text box up?
    Not without writing custom code to intelligently figure out which specific attribute is being displayed, and write appropriate custom javascript code to detect the click and then display the field and force something to be entered in it before the page can be submitted.

    You're basically trying to create javascript-driven dynamic attribute dependencies ... which isn't a built-in feature at the present time.
    .

    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.

  3. #3

    Default Re: Text Option Value in Drop Down Or Radio Option Name

    Quote Originally Posted by DrByte View Post
    Not without writing custom code to intelligently figure out which specific attribute is being displayed, and write appropriate custom javascript code to detect the click and then display the field and force something to be entered in it before the page can be submitted.

    You're basically trying to create javascript-driven dynamic attribute dependencies ... which isn't a built-in feature at the present time.
    Oh well, thanks anyway. Another related question to what i'm trying to achieve while you're here!

    Is there a way of allowing the selection of more than 1 option value under one option name.

    In other words i am setting up an attribute for logo position and some customer's may want a logo in more than one place (e.g. left chest and right sleeve).

    Is this possible?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Text Option Value in Drop Down Or Radio Option Name

    If you make them checkboxes, then multiple choices can be made.
    Radio buttons or dropdowns are single choices.
    .

    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.

  5. #5

    Default Re: Text Option Value in Drop Down Or Radio Option Name

    Quote Originally Posted by DrByte View Post
    If you make them checkboxes, then multiple choices can be made.
    Radio buttons or dropdowns are single choices.
    I should have known that!!!

    Thanks for your help.

 

 

Similar Threads

  1. Attributes: Option Name Has Blank Drop Down List for "Option Type"
    By Dianne in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 14 Nov 2012, 06:53 PM
  2. Need Option value to show an Image in Attribute drop down menu.
    By webflink2 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 20 Jan 2011, 08:30 PM
  3. Is there a Mod to swap the Option Value Color Swatch images in a Drop Down Format.
    By webflink2 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 19 Jan 2011, 05:52 AM
  4. enlarge the option name and option value boxes in Attributes
    By stevenlee in forum Customization from the Admin
    Replies: 10
    Last Post: 16 Aug 2008, 02:16 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