Search problem from the Shopping Cart

General ShopSite user discussion
Post Reply
flicman
Posts: 24
Joined: Mon Jun 16, 2008 9:02 am
Location: Hollywood, CA
Contact:

Search problem from the Shopping Cart

Post by flicman »

I've been working on my templates, and somehow I broke my shopping cart's search function. I've put in an exact copy of the INPUT string I use on the non-cart pages, but am coming up with the following whenever I enter a search string:

Code: Select all

Error in Form!

We're sorry, but there was an error in your form data!

You must specify a valid value for: your storeid .

Please go back and try it again. 
Annoying. I'm sure there's something I'm missing, but I can't find it. I'm looking at other cart templates to see if I can figure it out, but probably someone here has a faster answer than I'll find.

Thanks in advance.
flicman
Posts: 24
Joined: Mon Jun 16, 2008 9:02 am
Location: Hollywood, CA
Contact:

from the "is-it-plugged-in?" department

Post by flicman »

Okay, I fixed it.

Really, all I had to do was look a little closer at the code and realize that I was still using an old variable from a now-defunct iteration of the site. I had "storeid2" in where "storeid should be. Lame.

Code: Select all

<form action="productsearch.cgi?storeid=12345" method="post">
That is all. Just wanted to post a happy-resolution reply. This comes under the heading of "is it plugged in?" Duh.
Post Reply