Print Page | Close Window

Browse by Price

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1670
Printed Date: 22-April-2025 at 9:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Browse by Price
Posted By: quiltedbear
Subject: Browse by Price
Date Posted: 29-May-2008 at 2:24pm
I've created a box in my store with options to Browse by Price.  http://www.quiltedbear.com/store/pc/index.html - http://www.quiltedbear.com/store/pc/index.html   My question is... it can be misleading to have that box appear on category pages when it may appear that by clicking on the 'under $25' option will show you results only for that category page that you are on.  For example If a customer is browsing through clocks (I have 63 products under clocks) and they want to see only the clocks that cost less than $25 they likely think that by clicking on the Browse by Price link on the left they will see clocks that are under $25.  The problem is that by clicking this link they see everything in my store (not just clocks) under $25.  The Browse by Price box works perfectly for the Homepage or any other of my store html pages, but I'm not sure it makes sense for PC pages.  Because it makes it appear that you can browse by price by whatever category page you happen to be looking at at the time.  I hope that all makes sense 
 
I would like to create something similar to what newegg.com does http://www.newegg.com/Store/SubCategory.aspx?SubCategory=10&name=Desktop-PCs - http://www.newegg.com/Store/SubCategory.aspx?SubCategory=10&name=Desktop-PCs
If you click on the link you can see that you are browsing under Desktop PC's.  If you look to the left you can see that you can browse by price, only under the category you are looking at.  I hope that makes sense.
 
I realize that customers could do an advanced search and accomplish exactly what I'm talking about, but I'd like to make it as easy as possible for customers browsing my store by providing a box similar to what is seen on the newegg page I linked to above.
 
Is what I'm looking for easily accomplished?  If anybody has any suggestions I'd greatly appreciate it.  Thanks in advance!



Replies:
Posted By: ProductCart
Date Posted: 29-May-2008 at 4:31pm
Yes, this would be very easy to do for a developer (and a great idea too!)

- Look for the category ID in the querystring
- Sanitize it
- If valid, add it to the "Search by price" links (wrap an IF statement around those links to see if there is a valid category ID to use)

Here is an example of how the link would look after dynamically adding the category ID.

http://www.quiltedbear.com/store/pc/showsearchresults.asp?priceFrom=0&priceUntil=25&resultCnt=50&idcategory=87

When we have time, we'll post an article on this on the http://wiki.earlyimpact.com - WIKI . If someone has time before then, reply here or post to the WIKI.

-------------
The ProductCart Team

Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software


Posted By: quiltedbear
Date Posted: 30-May-2008 at 12:54pm
Thanks for the quick reply.  I'm glad to hear that it's easy to do, at least for a developer.  If anyone wants to take a stab at it and let me know how it goes, I'd like to try to implement this.  I'm no developer, but I think with some instructions I could make it happen.  Thanks again!


Posted By: Hamish
Date Posted: 31-May-2008 at 8:19pm
Hi,
  I looked into this and there's a twist in the tail - which makes it more complex.
You use categories & subcategories, which is fine, but adding the high level category to the search will prevent any results being returned.

For example - A search under "Home Decor" on your site would return zero results.
http://www.quiltedbear.com/store/pc/showsearchresults.asp?priceFrom=0&priceUntil=25&resultCnt=50&idCategory=2%20 - www.quiltedbear.com/store/pc/showsearchresults.asp?priceFrom=0&priceUntil=25&resultCnt=50&idCategory=2

Even though there are items @ < $25 in the sub-categories of "Home Decor".
I also think it's a great idea though - I'll see if I can spend some more time looking into it.



Posted By: quiltedbear
Date Posted: 02-June-2008 at 12:02am
Thanks for taking a look at my question.  I hope there's a way to make it work... without too much difficulty. 
 
Hamish, your response brings me to another question.  Is there an easy way to show the featured products when a search displays no results.  It'd be cool if somebody does a search and if there are no results instead of it displaying 'No items to display'  it would say something like; your search returned no results but here are some of our most popular items.  Something like that.  I don't know if it would be pertinent to start a new post, but I thought it was kind of relevant.  Thanks again!


Posted By: Hamish
Date Posted: 02-June-2008 at 5:14am
Yes, That's easy - In the code showsearchresults.asp find the lines :

  if request("fp")="bnd" then
      response.redirect "msg.asp?message=90"
  else
      response.redirect "msg.asp?message=3"               
  end if              


(Line 529 in my copy).
Change the redirects to point to : showfeatured.asp - The first of those is when  the search is being done by brand.
- AH - One further thought, The showfeatured.asp page will give them no clue as to why they have landed there as per your suggestion "your search returned no results but here are some of our most popular items" - You will need to pass a value to showfeatured and tweak that to display a suitable message.     


Posted By: Hamish
Date Posted: 02-June-2008 at 5:21am
I spent some more time looking at the initial issue of limiting the search to the current category. It certainly is possible, but would need a fairly significant change to showsearchresults.asp.  It would also need to take account of categories that contain both products and sub-categories. If this is not a significant requirement for you then I suggest asking Early Impact to add it their list of enhancement requests. If it is significant then let me know.

 
  



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net