Developer forum

Forum » Templates » How do I set up a search function in Ecom

How do I set up a search function in Ecom


Reply

I needed a function that would make it posible to browse products on a productPage.

 

The solution I was given was to hardkode a link from one productlist to another productlist showing only one product on the last list. 

 

This works great. 

 

But now I seem to have some problems regarding the search function.

 

Nothing shows up when I search on a product.

 

The first productlist:

http://wendtsorensen.net.dynamicweb.dk/Default.aspx?ID=18

 

The second productlist:

http://wendtsorensen.net.dynamicweb.dk/default.aspx?ID=19&PageNum=1

 

What can I do?

 

/ rasmus

 


Replies

 
Reply

Hi Rasmus

 

When I try to search for a product I get a result ...

 

// Dammark

 
Reply
Dammark wrote:

Hi Rasmus

 

When I try to search for a product I get a result ...

 

// Dammark


 

My mistake

The thing I ment was that when I click on one of the results from the search the "productpage" (in this case a productlist) do not show up.

 

http://wendtsorensen.net.dynamicweb.dk/Default.aspx?ID=12&q=sunwac+3

 

 
Reply

It's because you have not choosen a product page in the search module under eCommerce settings.

 

Without that you don't get a page ID in the URL.

 

// Dammark

 
Reply
Dammark wrote:

It's because you have not choosen a product page in the search module under eCommerce settings.

 

Without that you don't get a page ID in the URL.

 

// Dammark


 

Yeah I know that. I have also tryed using the ID of the productpage, but still, something is wrong.

 

Ive had HelpDesk to look at this problem, and they have tryed everything. They can't do it.

 

Could you please take a closer look?

 

What am I suppose to do if I have two productpages?

 

Do I then need to have two different Seach-forms with pre-defined productpageID´s?  

 

You must be logged in to post in the forum