Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2006
    Location
    North Devon, England, UK
    Posts
    289
    Plugin Contributions
    0

    Default Hide attributes dropdown when using attribute images and Element Below Image and Opt

    latest zen cart

    http://www.jarbon.com/index.php?main...roducts_id=143

    If you scroll down you can see the list of attributes and corresponding swatch image, with options to use checkbox to select atribute.

    i have done this by adding a swatch image to each option and then configuring the attribute name, in this instance 'Knit By Numbers', with these settings: Element Below Image and Option Name (number 4)

    this is all working fine, but i would like to be able to hide the drop down list which remains, but cannot see how to achieve this

    is this possible?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Hide attributes dropdown when using attribute images and Element Below Image and

    Assuming you wanted the dropdown gone on every product info page, you could add something like this to your stylesheet:

    #productAttributes .main {display:none;}

  3. #3
    Join Date
    Sep 2006
    Location
    North Devon, England, UK
    Posts
    289
    Plugin Contributions
    0

    Default Re: Hide attributes dropdown when using attribute images and Element Below Image and

    thanks steve

    only want to hide drop down for this page

    css would be a great solution, but can't see how to single this one particular drop down for this page

    would be good if could add css to specific pages, e.g. have unique body id for each page

    not sure if this is possible or if there is a contrib, haven't found one thus far

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Hide attributes dropdown when using attribute images and Element Below Image and

    Try this to see if she works then test it out..

    Locate this:
    includes/templates/jarbon/css/stylesheet.css
    Find this:
    #productAttributes select {
    border: 1px solid #CFCFCF;
    padding: 7px;
    }

    1. Add this:
    2. display: none;

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Hide attributes dropdown when using attribute images and Element Below Image and

    Quote Originally Posted by mattys View Post
    would be good if could add css to specific pages, e.g. have unique body id for each page
    You can. There's a file in includes/templates/classic/css that explains the basics.

  6. #6
    Join Date
    Sep 2006
    Location
    North Devon, England, UK
    Posts
    289
    Plugin Contributions
    0

    Default Re: Hide attributes dropdown when using attribute images and Element Below Image and

    thanks haredo

    unfortunately this WILL hide selects for all products, which, as stated above, i do not want to happen, only need for this page

  7. #7
    Join Date
    Sep 2006
    Location
    North Devon, England, UK
    Posts
    289
    Plugin Contributions
    0

    Default Re: Hide attributes dropdown when using attribute images and Element Below Image and

    steve

    i have looked at this file, doesn't give too much away, in fact, nothing really!

    it says what it can do, but doesn't explain how, i also looked for common folder in classic, but no common folder there, not on my installation anyway, and i wouldn't have deleted it...

    to style individual pages would require some kind of style in the body tag, you could then apply page specific formatting

    do you know of any other sources of info for this?

  8. #8
    Join Date
    Sep 2006
    Location
    North Devon, England, UK
    Posts
    289
    Plugin Contributions
    0

    Default Re: Hide attributes dropdown when using attribute images and Element Below Image and

    ah, i see

    just found this:

    http://www.zen-cart.com/forum/showth...dividual+pages

    makes more sense now

  9. #9
    Join Date
    Sep 2006
    Location
    North Devon, England, UK
    Posts
    289
    Plugin Contributions
    0

    Default Re: Hide attributes dropdown when using attribute images and Element Below Image and

    bingo

    thanks steve, that was a good nudge in right direction

 

 

Similar Threads

  1. v151 Hide price in dropdown list when pricing by attribute eg: (+£7.50)
    By mickyholmes in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 14 Oct 2012, 01:48 PM
  2. Dropdown with images and attributes
    By zc_fan in forum Customization from the Admin
    Replies: 2
    Last Post: 14 Jun 2011, 12:46 PM
  3. Layout change?: Product Image centered and attributes/descriptions/add to cart below
    By worshamdesigns in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Dec 2010, 08:11 AM
  4. Dropdown element below option name
    By ktomas in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Jul 2009, 05:17 AM
  5. Multiple attributes and attribute images...
    By modernm in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 25 Mar 2008, 04:32 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