Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2006
    Posts
    106
    Plugin Contributions
    0

    Default How to comment-out Option Type?

    In the Product attributes

    under option name > option type

    you must choose an option type.

    I have an downloadble product. I read on the forum I must choose radio button or Dropdown option. Which I have.

    But is there any way to "comment-out" or somehow keep the Option Type from appearing on the view page?

    Thanks.

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: How to comment-out Option Type?

    Have you given the option name an option value. On my site I use radio buttons for the downloads, And I gave the option value as "Download PDF" and that is what is displayed next to the radio button
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Aug 2006
    Posts
    106
    Plugin Contributions
    0

    Default Re: How to comment-out Option Type?

    Thanks for your reply.

    No. I don't require an Option Value.

    Do you know of a way to "comment-out" or somehow keep the Option Type from appearing on the view page?

    thank u. I look forward to any assistance.

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

    Default Re: How to comment-out Option Type?

    If you do not have an Option Name with an Option Value you cannot make an Attribute to connect the Download to ...
    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!

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: How to comment-out Option Type?

    Could you not set up the option value with just a single space? It would then not display anything next to the radio button.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: How to comment-out Option Type?

    I tried it and you can create a option name that is empty (just hit spacebar once) and it will show up in the list. so if you set up a "blank" option name and a "blank" option value for it it will just display a radio button with 1 space on either side. But you still have to set up the rest of the attribute correctly (i.e. filename, default...etc)
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  7. #7
    Join Date
    Aug 2006
    Posts
    106
    Plugin Contributions
    0

    Default Re: How to comment-out Option Type?

    thanks. I'll try it.

    So, the radio button can't be "commented-out" somehow?

  8. #8
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: How to comment-out Option Type?

    I believe that surpressing the display of the radio button requires hacking the code somewhere. Somebody with more experience will have to work that one out.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 

Similar Threads

  1. How to change text color Attribute - Option Name Comment
    By twofair in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 Jun 2010, 10:45 AM
  2. Comment out and un-comment
    By evvano in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 30 Sep 2009, 04:27 AM
  3. How to comment out mainWrapper in tpl_mail_page.php
    By scott_see in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Sep 2009, 11:18 PM
  4. How to add an Option Type for attributes?
    By Logus in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 11 Jan 2008, 09:10 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