Developer forum

Forum » Templates » Product image in xlst menu

Product image in xlst menu

Jim Trebbien
Reply

Is it possible to get productimages or product kategori images in a xlst script so they can be shown in a menu?


Replies

 
Nicolai Høeg Pedersen
Reply

That is not possible

But you have the groupnumber in the XSLT, and you can name the images with the group number and locate them like that?

Nicolai

 
Jim Trebbien
Reply

How do I get the groupnumber in the XSLT?
 

 
Nicolai Høeg Pedersen
Reply

Hi Jim

In 8.5 there is a GroupNumber attribute on the node in XML.

Actually, on the group properties in administration you can set an image, and that will be available in the XML on the SmallImage, MediumImage and LargeImage attributes.

Nicolai

 

You must be logged in to post in the forum