Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Dec 2008
    Posts
    63
    Plugin Contributions
    0

    Default How do I remove the product listing from a page?

    hey all. You can check out the page here:

    http://www.shoppingitonline.com/inde...facturers_id=2

    Now, at the bottom of that page we have the full product listing view. We want to get rid of that. We just want to have the drop downs on the site. How would I go about changing that?

    Also, would it be possible to add a description, price, and add to cart button on our drop down menu for each product? or would that require way too much coding?

    Thanks!
    Last edited by Kim; 13 Jan 2009 at 05:32 PM.

  2. #2
    Join Date
    Dec 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: How do I remove the product listing from a page?

    I only want it removed from the pages with the drop down menus though.. is this even possible?

  3. #3
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: How do I remove the product listing from a page?

    You could create a page-specific stylesheet for that page (see the README file inside the css folder of your template.)

    ... and put this declaration into it at the bottom of the stylesheet.

    Code:
    #catTable, #productListing {
     display:none;
    }
    (You may try adding this to your stylesheet.css first, and see if it affects other pages. If it does affect other pages, then try the page-specific CSS route.)

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: How do I remove the product listing from a page?

    In fact, I just tried this...

    You should be able to achieve it just by adding:

    Code:
    #productListing {
     display:none;
    }
    to the main stylesheet.css

  5. #5
    Join Date
    Dec 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: How do I remove the product listing from a page?

    Quote Originally Posted by fairestcape View Post
    In fact, I just tried this...

    You should be able to achieve it just by adding:

    Code:
    #productListing {
     display:none;
    }
    to the main stylesheet.css
    This will probably effect the entire site will it not? I just want it hidden on the pages with drop down menus.

    Thank you though, this is a start!

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: How do I remove the product listing from a page?

    Quote Originally Posted by sartor View Post
    This will probably effect the entire site will it not?
    I think that #productListing applies only to that page set. It should not affect the entire site.

    Easiest way is to try it and see... you can always delete it from the CSS.

    To see where #productListing appears in the code, use:

    ADMIN>>>TOOLS>>>DEVELOPER TOOL KIT and in the bottom input field type:

    #productListing

    Then choose to search for it in CATALOG.

    This will produce a set of results showing what core files the string appears in.

    You could then keep this in the one file that you want display:none to influence, and in all other files, change the style ID to something like:

    #productListingTwo

    Then just edit existing declarations in the css to re-define #productListing
    to
    #productListingTwo

    ------------------------------------------------

    Then there is always the page-specific CSS route ...

  7. #7
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: How do I remove the product listing from a page?

    OK... I think I understand your issue...

    You may have product listing pages where there are no dropdowns...

    Hmmmm... You may have to look at a coded conditional...

  8. #8
    Join Date
    Dec 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: How do I remove the product listing from a page?

    Quote Originally Posted by fairestcape View Post
    I think that #productListing applies only to that page set. It should not affect the entire site.

    Easiest way is to try it and see... you can always delete it from the CSS.

    To see where #productListing appears in the code, use:

    ADMIN>>>TOOLS>>>DEVELOPER TOOL KIT and in the bottom input field type:

    #productListing

    Then choose to search for it in CATALOG.

    This will produce a set of results showing what core files the string appears in.

    You could then keep this in the one file that you want display:none to influence, and in all other files, change the style ID to something like:

    #productListingTwo

    Then just edit existing declarations in the css to re-define #productListing
    to
    #productListingTwo

    ------------------------------------------------

    Then there is always the page-specific CSS route ...
    #productListing is the generic product listing id.

    I tried putting

    #productListing {
    display:none;
    }

    in stylesheet.css and it didn't do anything, and I used firebug to check the id's of that div on all the other pages. They all use productlisting as their id. I believe that #productListing appears on all pages with product listings, so it would probably take some customization to eliminate it on certain pages.

    The pages with drop down menus load an html file (that contains the code for it) and then it loads up the productlisting div.

  9. #9
    Join Date
    Dec 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: How do I remove the product listing from a page?

    AH! I figured it out. It was a matter of putting the CSS in my custom made HTML file.

    Thanks m8, help much appreciated!

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

    Default Re: How do I remove the product listing from a page?

    Since it appears you are wanting this function on manufacturer pages, your best bet is to use per-page stylesheets for each manufacturer. Per /includes/templates/template_default/css/CSS_read_me.txt:

    m_??.css // changes to a manufacturer's listing page

    For Corel (manufacturer id 5), make a file named m_5.css with content:

    #productListing {display: none;}

    and save in your template's /css/ folder.
    Simple and effective.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 How do I remove this "-" sign from my product listing page ??
    By PearceStephens in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 May 2013, 12:09 PM
  2. v151 How do I remove the Social Networking from The Product Page?
    By TheGuild in forum General Questions
    Replies: 4
    Last Post: 1 Nov 2012, 10:40 PM
  3. Replies: 2
    Last Post: 15 Mar 2011, 05:54 PM
  4. How do I remove the Qty column from product listing pages?
    By ChrisVCB in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Aug 2010, 01:09 PM
  5. How to remove the back_tile image only from the product listing page
    By watzursn in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Sep 2008, 05:42 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