Developer forum

Forum » CMS - Standard features » New index cant loop products

New index cant loop products

Jonas Mersholm
Reply

Hi,

I've set up a new repository, to query products, and set up a product-list with the given index. The problem is, that the "Products" loop is empty, altough the Ecom:ProductList.TotalPages equals 65. 

A QueryPublisher with an schemaextender yields results, but as soon as i connect it with a Product listing module, its empty.

DW: Portal version 8.7.2.8

Any help would be appreciated! Thanks

 

 


Replies

 
Nicolai Høeg Pedersen
Reply

I think we need a URL

 
Jonas Mersholm
Reply

Hi Nikolai,

Thanks for the fast reply.

When you wish upon a star, an URL is thrown you'r way: http://www.ucn.dk/Default.aspx?ID=201968&_route=true

 

Thanks in advance

 
Jonas Mersholm
Reply

Bump

 
Nicolai Høeg Pedersen
Reply

Hi Jonas

in your template you have @foreach

It should be

@{

foreach

}

BR Nicolai

 
Jonas Mersholm
Reply

No difference. As you may notice, the GetLoop count is 0, even though the template tags saies theres lots of products.

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

Ok, you now have an output.

You had created a facet on the "Name" field. You have 5000 products in your index, and you cannot create a facet on a field that has more than 2048 unique values.

Also, if you rendered that facet into the browser giving you some 5000 checkboxes or similar, would make the browser crash.

You had selected the template 2 times - one for product list and one for no products found. I removed one of them.

Votes for this answer: 1

 

You must be logged in to post in the forum