Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 [solved] Triggering a search through a link
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

[email protected]
VP-CART New User

149 Posts

Posted - September 27 2011 :  13:05:46  Show Profile  Reply with Quote
I have a bit of a problem with the search results caching.

If you go to our website

http://www.fcsurplus.ca/shopping/

and click on our "Halloween Ideas" link on the top of the page, it takes you to some halloween items.

Then, if you do a search for anything in the search box (like "airsoft" or "computer" or whatever you'd like..... the search results come out as expected..

But then, when you have done a search, and then click on the halloween link again.....the products are not the halloween products anymore, they are the products that came up when you did your search.

I know the halloween link is trying to cull products using the search feature (and once the search feature is used, it is holding onto the searched term)

Is there a way that when clicking the link, that it will ignore any previous searches and just use the variables that are in the link?


Thanks,


Dustin

Edited by - [email protected] on November 23 2011 10:35:04

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - September 29 2011 :  00:14:54  Show Profile  Reply with Quote
seems like you are using Halloween link using the search :
http://www.fcsurplus.ca/shopping/shopdisplayproducts.asp?search=yes&bc=no&specialoffer=halloween&cat=Creepy%20Halloween%20Products

maybe you can try create a new category Halloween Ideas!, and then using the new link instead e.g. :
http://www.fcsurplus.ca/shopping/shopDisplayCategories.asp?id=xxx&cat=Creepy%20Halloween%20Products

diego
Go to Top of Page

[email protected]
VP-CART New User

149 Posts

Posted - October 17 2011 :  10:35:03  Show Profile  Reply with Quote
Wish I could do that (we do have a halloween category for now)... the issue is that this technique of using a search link through the special offers box is going to be used very frequently...unfortunately, I cannot create a category each time the company wants to pass around links based on search queries .

But we are using the halloween category as suggested to help with this instance :)

Thanks Diego
Go to Top of Page

[email protected]
VP-CART New User

149 Posts

Posted - November 23 2011 :  10:27:23  Show Profile  Reply with Quote
This solution works. http://your.url/shopquery.asp?keywords=yourkeyword This doesn't get involved with the user's searches at all and avoids the problem I described above.
Go to Top of Page

[email protected]
VP-CART New User

149 Posts

Posted - November 23 2011 :  10:34:11  Show Profile  Reply with Quote
Sorry, should have also added the title header. So your link would look like this
http://your.url/shopquery.asp?keywords=yourkeyword&cat=yourcustomtext
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00