Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Posts
    42
    Plugin Contributions
    0

    Default download attribute - I want it set but not visible

    ok so my site is about 95% done. yippee!!!

    i will be adding several (actually MANY) products that are downloadable images. I have successfully created a couple products, and tested that I was able to pay for and then download one. However, I would like for the download attribute to be both pre-checked (which it is now) and to be invisible. in other words, I dont want the customer to even see the download checkbox/attribute, I just want it to be set "behind the scenes" and then have the download option avaulable after payment. how do I do that?

    Patrick

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

    Default Re: download attribute - I want it set but not visible

    A link to see your page?

    You can set the attribute to
    visibility: hidden;

    so it will be fully present but invisible.
    In case this is a problem with search engines, you could use

    position: absolute;
    left: -9999px;

    to move the display off the screen.

  3. #3
    Join Date
    Jan 2008
    Posts
    42
    Plugin Contributions
    0

    Default Re: download attribute - I want it set but not visible

    Quote Originally Posted by gjh42 View Post
    A link to see your page?

    You can set the attribute to
    visibility: hidden;

    so it will be fully present but invisible.
    In case this is a problem with search engines, you could use

    position: absolute;
    left: -9999px;

    to move the display off the screen.
    where/how do I set the visibility of an attribute to hidden?

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

    Default Re: download attribute - I want it set but not visible

    In your stylesheet. A more specific answer will depend on seeing what you have, so as not to break something else.

  5. #5
    Join Date
    Jan 2008
    Posts
    42
    Plugin Contributions
    0

    Default Re: download attribute - I want it set but not visible

    Quote Originally Posted by gjh42 View Post
    In your stylesheet. A more specific answer will depend on seeing what you have, so as not to break something else.

    so unfortunately i cant define an individual attribute to be hidden? I have to make all attributes of one type, or all attributes period, to be hidden?

    well I have class "wrapperAttribsOptions" which surrounds my download checkbox, but i cant make that hidden as it would also hide any future attribute that I want displayed. correct? then there is class "optionName back" which i guess i could make hidden but then any option would be hidden not just download options, again correct?

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

    Default Re: download attribute - I want it set but not visible

    Those are considerations, yes. That is why I wanted to see your site live, to best address your particular situation.
    Each option name will have its own id applied to some part of its input, and this may be useable to hide the one you want. If not, there should be a simple edit to the attributes code to put that id in a place where you can use it.

 

 

Similar Threads

  1. Header visible in Crome browser but not in Firefox
    By Amm2009 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Jan 2010, 09:28 AM
  2. Sidebox visible- but not accessible unless logged in
    By btolly in forum Basic Configuration
    Replies: 17
    Last Post: 22 Sep 2009, 02:16 PM
  3. Replies: 1
    Last Post: 29 Jul 2009, 04:29 PM
  4. How to set up products that are active (have a URL) but not visible on my website
    By arobertson700 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 23 Jun 2008, 02:26 PM
  5. main nav visible in Firefox but not in IE7
    By janej in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 17 Feb 2008, 01: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