Developer forum

Forum » Dynamicweb 10 » Product Detail Feed is not working properly

Product Detail Feed is not working properly

Jason
Reply



 

The output result for List Feed and Product Feed is not identical. How I test?

The template is using the same index. I call the list feed with productfeed?feed=true

and i can find the product id '1020978'

but when i call this feed with productfeed?ProductId=1020978&VariantId=&feed=true. It returns nothing. It seems like product feed is not consuming from the same index as product list feed

FYI, the product 1020978 is inactive product but index builder's OnlyIndexActiveProducts is set to false already and even list returning proper data.


Replies

 
Jason
Reply

Hi

Anything on it?

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I think it is because the product is inactive.

When you add &productid= to the URL it is not using the index, but the catalog app which will not return inactive products.

If you want the feed to use the index, you have to use a custom parameter in the url - e.g. &feed-productid= and then create that as a variable used in an expression on the index.

 

You must be logged in to post in the forum