Developer forum

Forum » Ecommerce - Standard features » URls + Queries and Facets

URls + Queries and Facets

Nuno Aguiar
Reply

Hi,

 

We have a project with very strict requirements in terms or URLs naming and I am trying to get the best approach for the index approach.

 

Requirement:

  • URL domain.com/x
    • Return a list of products (multiple parameters not really tied to a groupID or any URL provider out-of-the-box)
  • URL domain.com/y
    • Return another list of products

 

Since we cannot manipulate the URL to trigger parameters for the query, I think the only way is to create multiple queries. Is this correct?

 

If so, I also need to create 1 facet to each query even it the fields are the same, correct?

 

Some time ago I posted this feature request http://developer.dynamicweb.com/forum/feature-requests/index-with-filtering-in-paragraph.aspx which made me think it was a good idea and would fit my needs, but wanted to hear from more experienced guys :)

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Yes, you need a query for each - or you could load the product list using ajax with parameters.

And yes, you need to create a facet for each query since the facets are tied to a query. I've seen your request - and we will take it into consideration.

BR Nicolai

Votes for this answer: 1
 
Nuno Aguiar
Reply

Hi Nicolai,

 

Thanks for that confirmation. I cannot use ajax for this particular project because we need to index the product list but we do that regularly.

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum