Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / invisible attributes

invisible attributes

Locked

Views: 1,352

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
10 Sep 2009, 6:33 PM
#1
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

invisible attributes

I am trying to find out how to hide the dowload attribute on a products page????????
Since there is nothing for the customer to select so its a bit confusing when you see the "Please Choose" then the word Download is listed twice, before and after the radio button.
thanx in advance

11 Sep 2009, 11:01 PM
#2
dygerati avatar

dygerati

New Zenner

Join Date:
Sep 2009
Posts:
7
Plugin Contributions:
0

Re: invisible attributes

Can't say I'm sure of exactly what you're talking about (link helps), but I've been known to banish things from the page by throwing a 'display: none;' on the containing div/etc in the style sheet.

Good luck!

17 Sep 2009, 6:12 PM
#3
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: invisible attributes

Dygerati:

Can't say I'm sure of exactly what you're talking about (link helps), but I've been known to banish things from the page by throwing a 'display: none;' on the containing div/etc in the style sheet.

Good luck!

I have a radio button for downloading products. THe attributs says "Please Choose" followed by "Download" then the radio button the the word "download" Again!

http://your-ehome.com/shop/index.php?main_page=product_info&cPath=7_10&products_id=86

17 Sep 2009, 8:36 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: invisible attributes

A few options:

  1. Change the wording of any or all of those items which you say are causing confusion. You have control over them all. ie: maybe change the Option Name to "Media Format:" and then the radio button can be left as "download". You could also change "Please Choose:" to something like "Product Delivery Details:".

  2. You could look up the section of HTML to apply display:none to, and add that to your stylesheet. In your case the HTML for that part of the page is:```

<!--bof Attributes Module -->

[B]<div id="productAttributes">[/B]

<h3 id="attribsOptionsText">Please Choose: </h3> <div class="wrapperAttribsOptions"> <h4 class="optionName back">download</h4> <div class="back"> <input type="radio" name="id[6]" value="6" checked="checked" id="attrib-6-6" /><label class="attribsRadioButton zero" for="attrib-6-6">download</label><br /> </div> <br class="clearBoth" /> </div> <br class="clearBoth" /> </div><!--eof Attributes Module --> ```... so you'd put this in your stylesheet if you wanted to hide it:``` [B]#productAttributes[/B] {display:none;} ```
18 Sep 2009, 5:20 PM
#5
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: invisible attributes

DrByte:

A few options:

  1. Change the wording of any or all of those items which you say are causing confusion. You have control over them all. ie: maybe change the Option Name to "Media Format:" and then the radio button can be left as "download". You could also change "Please Choose:" to something like "Product Delivery Details:".

  2. You could look up the section of HTML to apply display:none to, and add that to your stylesheet. In your case the HTML for that part of the page is:```

<!--bof Attributes Module -->

[B]<div id="productAttributes">[/B]

<h3 id="attribsOptionsText">Please Choose: </h3> <div class="wrapperAttribsOptions"> <h4 class="optionName back">download</h4> <div class="back"> <input type="radio" name="id[6]" value="6" checked="checked" id="attrib-6-6" /><label class="attribsRadioButton zero" for="attrib-6-6">download</label><br /> </div> <br class="clearBoth" /> </div> <br class="clearBoth" /> </div><!--eof Attributes Module --> ```... so you'd put this in your stylesheet if you wanted to hide it:``` [B]#productAttributes[/B] {display:none;} ```

hmmmmm we must have dif templates or versions, Dev Tool Kit could not find the above tagline. But I was able to take out "Please Choose" since I didnt want to change because of other product attributes. I did change download to Media Format & showing the radio button with download. Looks great Thanks