Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default hide radio button or checkbox for my attributes?

    Is it possible to hide the radio button or the checkbox field?

    All of my products have a single value attribute and I don't want a checkbox or radio button to show. Instead, I would like a : sign.

    Basically, the attributes would be displayed like this:
    COLOR: red
    SIZE: small

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: hide radio button or checkbox for my attributes?

    I'm a little confused. If the customer can't make a selection from multiple attributes, why use them at all ? You could put that info in the product description.

    That said, if it's a site-wide situation, adding this to the stylesheet might work:

    #productAttributes input {display:none;}

  3. #3
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: hide radio button or checkbox for my attributes?

    Oh man, why didn't I think of that? So simple... :) Thank you very much!

    And for the reason why I want this: I'm using Product Filter by Attribute and price range addon so I need to set up attributes for my products. I could go and place all this data in the description and not show attributes, but I think this is a better solution.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: hide radio button or checkbox for my attributes?

    And to get the colon : , just add it to the option name so it is called COLOR: instead of COLOR .

  5. #5
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: hide radio button or checkbox for my attributes?

    Actually, I can't do that because then I would have COLOR: in my filter and i need COLOR

    I was thinking of placing attributes in a table with 2 columns. Left column would be Option Name and right column Option Value.

    Maybe you could tell me how to do it?

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: hide radio button or checkbox for my attributes?

    Actually putting them in an HTML table would involve considerable PHP recoding. You can get the look you want by assigning fixed widths to the name and value, and appropriate borders. I don't have a test site available at the moment, so I would need to see your site to give the right styling rules.

  7. #7
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: hide radio button or checkbox for my attributes?

    My site is still on localhost so you can't look at it. But I think I can manage it with css. I wanted a table so i could have every other row grey (you know, first row white, second row grey...) Oh, well, I don't think it can be done without a table, but i guess it'll do...
    Thank you very much for your help!

 

 

Similar Threads

  1. Any update on required checkbox or deselect single radio button??
    By ladybugmom in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 16 Aug 2012, 05:21 AM
  2. radio button styles for attributes
    By earmsby in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Nov 2009, 09:27 PM
  3. Radio button or checkbox size
    By bhejr in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 30 Nov 2007, 05:55 PM
  4. Possible to turn hide attribute radio button?
    By Monica79 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 1 May 2007, 01:49 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