Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Hide the "Read Only " attributes

    Hi ,

    I have a store with a set of Read Only attributes that I am using for dynamic filtering , but are not needed for purchase of the item
    I do not want to display these options in the product listing , Can they be turned off ?

    The kicker is I have other attributes that are needed ( choose colour ) that are radio boxes I do need to display these .

    Is there an admin switch or a change in coding.

    Thank you
    Various Zen cart sites !

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,870
    Plugin Contributions
    96

    Default Re: Hide the "Read Only " attributes

    A link to one of the pages that contain a mixture of these attributes would help ...

  3. #3
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: Hide the "Read Only " attributes

    Site is still in early setup so didnt want to link to it for google- so just replace the dots !

    http://80 241 49 51/index.php?main_page=product_info&cPath=20&products_id=206

    You have to choose transparent or black , but the product also has the attribute the "Shape" = Square that is only used for the dynamic filter Mod


    Thanks for looking.
    Various Zen cart sites !

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,870
    Plugin Contributions
    96

    Default Re: Hide the "Read Only " attributes

    Is it only the bumperstop category? If those products were consistent between the sort order of the "Shape" and "Bumperstop Color" attributes, there would be a solution using only CSS to "hide" the Shape information. For example, if the Shape was always the first attribute in the sort order (like your /index.php?main_page=product_info&cPath=20&products_id=218 product), you could create the file /includes/templates/abbington_mega/css/c_20.css (so it will only activate for the bumperstop category) to contain:
    Code:
    #productAttributes h3+div { display: none; }
    That tells the browser not to display any <div> that directly follows an <h3> within an element with id="productAttributes".

  5. #5
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: Hide the "Read Only " attributes

    So far yes that is the only category I have come accross this - otherwise I was going to display: none on the whole Atrributes Div. - That is a clever solution.

    Thanks
    Various Zen cart sites !

  6. #6
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Hide the "Read Only " attributes

    you could probably edit the attributes template file so that if the attribute is text only it should be excluded?
    Phil Rogers
    A problem shared is a problem solved.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 2 Dec 2010, 09:55 PM
  2. Replies: 2
    Last Post: 7 Jul 2010, 11:34 PM
  3. Is there a way to "hide" attributes?
    By lifescrappers in forum Setting Up Categories, Products, Attributes
    Replies: 21
    Last Post: 23 Dec 2009, 07:35 AM
  4. How to hide "reviews" only from frontpage
    By nanosafeguard in forum General Questions
    Replies: 5
    Last Post: 22 Dec 2008, 02:31 AM
  5. Replies: 7
    Last Post: 29 Oct 2008, 06:43 PM

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