Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Can I hide the Download Radio Button?

Can I hide the Download Radio Button?

Locked

Views: 3,213

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
11 Apr 2008, 9:57 PM
#1
elastic avatar

elastic

New Zenner

Join Date:
Dec 2007
Location:
New Jersey
Posts:
76
Plugin Contributions:
0

Can I hide the Download Radio Button?

I have some products which are not digital, but part of the service I want to offer is such that a pdf gets added to the customer history. The pdf can be added as an attribute, download, no fee added. This is working.

What happens is that I have a radio button and then text on the screen:

(•) Download Technote

but I want to hide this. can't comment out the code without breaking it, so I managed to use a space for the name of technote, which then left me with this:

(•)

It's working, the attribute is assigned but the radio button is still present. I would like to remove that, have just a hidden value that is getting passed.

any suggestions on the best way to accomplish this? here is what I want in a nutshell:

attributes being passed to purchased items so they show up in customer history as downloadable without a footprint in the shopping/checkout process.

13 Apr 2008, 12:06 AM
#2
elastic avatar

elastic

New Zenner

Join Date:
Dec 2007
Location:
New Jersey
Posts:
76
Plugin Contributions:
0

Re: Can I hide the Download Radio Button?

is anyone out there? has anyone done this before, or tried something similar?

13 Apr 2008, 12:08 AM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Can I hide the Download Radio Button?

elastic:

is anyone out there? has anyone done this before, or tried something similar?

Great Pink Floyd tune...:smile:

post me a link to the page, and we will attack your delima, I will take a shot in the Dark.. OZZy

includes/ templates/ your_template/ css/ stylesheet.css

Add the following declaration to the sheet..

  1. INPUT {display:none;}
13 Apr 2008, 8:31 PM
#4
sparkiii avatar

sparkiii

New Zenner

Join Date:
Jun 2007
Posts:
93
Plugin Contributions:
0

Re: Can I hide the Download Radio Button?

HI there, just butting in on this post, this does make the radio button dissapear but I am after a similar answer I think.
I have downloadable products for sale, because of the size I have broken one into several parts. There are no choices for the buyer with the attributes, so I dont see why they need to be shown on the page, but it is listing this;

Please Choose:

**Download 1 of 6Zip File

Download 2 of 6Zip File
**

How do I get it all not showing please.

Thanks so much

Nat

21 Apr 2008, 3:30 AM
#5
elastic avatar

elastic

New Zenner

Join Date:
Dec 2007
Location:
New Jersey
Posts:
76
Plugin Contributions:
0

Re: Can I hide the Download Radio Button?

haredo:

Great Pink Floyd tune...:smile:

post me a link to the page, and we will attack your delima, I will take a shot in the Dark.. OZZy

includes/ templates/ your_template/ css/ stylesheet.css

Add the following declaration to the sheet..

  1. INPUT {display:none;}
    thank you! i tried this, and it is really, really cool. however, all the other input items - search fields, etc, also were not visible. very, very interesting, though. gave me some good ideas.

i cannot put up a link right now, I am developing in a closed area right now. i will put up a test site on one of my servers a bit later.

thank you, thank you for responding to this post.

21 Apr 2008, 3:46 AM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Can I hide the Download Radio Button?

elastic:

thank you! i tried this, and it is really, really cool. however, all the other input items - search fields, etc, also were not visible. very, very interesting, though. gave me some good ideas.

i cannot put up a link right now, I am developing in a closed area right now. i will put up a test site on one of my servers a bit later.

thank you, thank you for responding to this post.

Ok,
Now I have the answer for you..

Are you using firefox browser,
If so:

  1. web development tool addon to find the specific radio button:
  2. or view source in IE and Ctrl F, and find these individual buttons
  3. Here is an example:
  4. #tab_attrib-4-4 {display:none;}
  5. Each button will have a different number system, go it
  6. Next button will be
  7. #tab_attrib-4-5
  8. so the stylesheet.css will look like this
  9. #tab_attrib-4-4, #tab_attrib-4-5 {display:none;}:smile:
21 Apr 2008, 4:40 AM
#7
elastic avatar

elastic

New Zenner

Join Date:
Dec 2007
Location:
New Jersey
Posts:
76
Plugin Contributions:
0

Re: Can I hide the Download Radio Button?

haredo:

Ok,
Now I have the answer for you..

Are you using firefox browser,
If so:

  1. web development tool addon to find the specific radio button:
  1. or view source in IE and Ctrl F, and find these individual buttons
  1. Here is an example:
  1. #tab_attrib-4-4 {display:none;}
  1. Each button will have a different number system, go it
  1. Next button will be
  1. #tab_attrib-4-5
  1. so the stylesheet.css will look like this
  1. #tab_attrib-4-4, #tab_attrib-4-5 {display:none;}:smile:
    You are an absolute GENIUS. This worked. Thank you sooooo much.
21 Apr 2008, 4:45 AM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Can I hide the Download Radio Button?

You are most welcome, glad I could assist you..

That little post made me think, I was going by memory with the first post & had to bring up a site I built that incorporated radio buttons to find a solution..