Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Oct 2011
    Posts
    4
    Plugin Contributions
    0

    Default Show Product Listing only for search results

    So far I have set in stylesheet.css to:
    display: none for #productListing. How do I get productListing to show only for search results? So when you click Search button for "Enter search keywords here" here on homepage, the search results show. I'm using Pink Boutique template and my website is www.udance.com.au.
    Please help.

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

    Default Re: Show Product Listing only for search results

    Something like this:

    #indexProductList #productListing {display: none;}

    Not sure why you don't want to display product listings, though.

  3. #3
    Join Date
    Oct 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Show Product Listing only for search results

    Quote Originally Posted by stevesh View Post
    Something like this:

    #indexProductList #productListing {display: none;}

    Not sure why you don't want to display product listings, though.
    I've already done that. I want the search page to show productListing but I don't want any other webpages to show productListing.

  4. #4
    Join Date
    Oct 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Show Product Listing only for search results

    The form for the search box shows this website address for the serch box: http://www.udance.com.au/index.php?m..._search_result
    I want make this webpage show #productListing div but I can't find the right webpage. The best I could find is advanced_search_result.php but that is not the html.

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

    Default Re: Show Product Listing only for search results

    Quote Originally Posted by Matthew1246 View Post
    I've already done that. I want the search page to show productListing but I don't want any other webpages to show productListing.
    The rule I provided does exactly that in Web Developer on your site.

  6. #6
    Join Date
    Oct 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Show Product Listing only for search results

    Quote Originally Posted by stevesh View Post
    The rule I provided does exactly that in Web Developer on your site.
    Sorry I thought what you wrote was a typo. Thankyou it works.
    I thought you meant what you wrote with a comma.
    #indexProductList, #productListing {display: none;}

    :)

 

 

Similar Threads

  1. v151 Show "Quantity in Cart" on listing and search results pages?
    By chadderuski in forum General Questions
    Replies: 4
    Last Post: 7 May 2013, 10:49 PM
  2. Show custom product fields in search results?
    By DigitalShadow in forum General Questions
    Replies: 2
    Last Post: 24 Jul 2011, 01:06 AM
  3. Average Rating in Search Results or Product Listing
    By hungoveragain in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Oct 2009, 10:11 AM
  4. Different Sort Order for Search Results than Product Listing
    By dharma in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Feb 2009, 03:34 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