Developer forum

Forum » Ecommerce - Standard features » Customer Experience Center - Favorites - TotalProductsCount

Customer Experience Center - Favorites - TotalProductsCount

Jesper Holm Damgaard
Reply

When looping through my lists in Customer Experience Center - Favorites i want to show 

list.ProductList.TotalProductsCount

But that is always 0 (zero) for all lists. 

If i use this

list.ProductList.Products.Count

I get the correct product count for all my lists.

How is this intended to work and which approach should i use?

--
All the best, Jesper


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

The first item seems to be not filled correctly on last DW9.10.17 and DW9.12.7 nowadays. I've created new task 6195 to investigate and fix the bug. So, the second one can be be used as workaround now. Thanks for observing.

BR, Oleg QA

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Jesper 

The problem regarding #6195 was fixed in Dynamicweb release 9.12.9
Get this from the download section: https://doc.dynamicweb.com/downloads/dynamicweb-9

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum