In the productlist view I would like to identify the groupid which is active to the current productlistview. I cannot seem to find it anywhere.
Previous I had just one type of products per productlistview. (for example productlistview plants shows only products from productgroup plants) I just took the Products.Item(0).Groups(0).ID.Tostring(), the groupid of the first item in the loop to identify the groupid I needed.
Now I have a productlistview with products from serveral productgroups
(for example productlistview bestbuys shows products from productgroup plants and products from productgroup accessories)
In this case ....Groups(0) is no longer usefull.
But the product shown in this view was selected because of an groupid it has ....I want that id!
Can you help?
Developer forum
Troubles identifying groupid in prductloop
Replies
You must be logged in to post in the forum