Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2007
    Posts
    44
    Plugin Contributions
    0

    Default attribute controller - no product options?

    I have downloadable products working.

    They will only be available as mp3 files.

    So I end up with a "Please Choose" and 1 radio button.

    I don't want to make any choices available.

    I tried the "Read Only" option type, but then I get a shipping options screen on checkout. Argh...

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: attribute controller - no product options?

    So I end up with a "Please Choose" and 1 radio button.
    Get rid of the "Please Choose" and make the other default
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2007
    Posts
    44
    Plugin Contributions
    0

    Default Re: attribute controller - no product options?

    Quote Originally Posted by kobra View Post
    Get rid of the "Please Choose"

    "please choose" seems to generated elsewhere, it's not in any of the fields I can see in the Admin.

    Quote Originally Posted by kobra View Post
    ... and make the other default
    I don't know what you mean. 'Default' is turned on the in Legend.

  4. #4
    Join Date
    Jun 2007
    Posts
    44
    Plugin Contributions
    0

    Default Re: attribute controller - no product options?

    Got rid of 'Please Choose'... it's in languages/english/product_info.php

    But it seems impossible to have a downloadable product without at radio,etc., even if there is only one 'choice'.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: attribute controller - no product options?

    At this time, there has to be something to hold the download which is the attribute and at this time the attribute shows in order to do this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jun 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: attribute controller - no product options?

    Well how do we make this attribute invisible then? It really bugs me as well.

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

    Default Re: attribute controller - no product options?

    The stylesheet may be able to do this effectively, though (unless there were no attributes on the site that did need to be displayed) it would need to be combined with code in tpl_product_info_display to add a distinctive class/id tag to the right download attribute outputs.

    If it could be arranged that all attributes that needed to be hidden would be under a given option name (say "downloadClean") (or a few different ones if necessary), the code could get the first option name (this is available to the code there, since it is output) and add it as an id to the same div as #productsAttributes.
    Styling

    #downloadClean {
    display: none; or visibility: hidden; (whichever works right)
    }

    if the first (only) option is downloadClean would hide the whole attribute section in that case only. Some experimentation will likely be needed to determine the details of implementation, by someone who uses downloads.

    Display: none might eliminate the effectiveness of the download, but visibility: hidden ought to work as long as no actual user interaction is really required for it.
    Another option might be position: absolute; left: -5000px; to just push it off the screen space.

 

 

Similar Threads

  1. v155 Attribute controller - error message when adding attribute values
    By rustwood in forum General Questions
    Replies: 8
    Last Post: 11 Jul 2016, 10:26 PM
  2. v150 Need to add and/or to 4 attribute controller options
    By webmeister in forum Customization from the Admin
    Replies: 3
    Last Post: 30 Oct 2012, 04:27 AM
  3. Reorder attribute set from Attribute Controller?
    By ksolito in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 21 Aug 2009, 05:32 AM
  4. attribute versus product options
    By ZCNoob in forum General Questions
    Replies: 1
    Last Post: 24 Dec 2007, 02:09 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR