Developer forum

Forum » Templates » Different templates for different products and groups

Different templates for different products and groups

Per Ljung
Reply
Hi!

How do you select which template that should be used for a certain product or group? I want to use one xslt-template for all product groups except one where I want to use another xslt-template. How do I do to choose this?

Best regards,
P

Replies

 
Nicolai Høeg Pedersen
Reply
Hi Per

That is not possible for the time being.

You can make a condition in your XSLT though.

 
Per Ljung
Reply

Hi!

Do I eg. have to write xsl:if test="Ecom.Group.ID=9" and hardcode the id of the group to determine the which template to use?

Best regards,
P
 
Nicolai Høeg Pedersen
Reply
My best bet for now...

 

You must be logged in to post in the forum