Developer forum

Forum » Templates » Odd behavior: eCom product category template tags

Odd behavior: eCom product category template tags

Rene Erichsen
Reply
I've defined a number of template tags for product categories. Example:

@Ecom:Product.CategoryField.Sofaer.Ryghojde.Value
with the short tag @Ryghojde

The short tags, however, do not work unless either @DwTemplateTags or one of the long tags is somewhere in the template.

*scratches head*

For the time being I am working around this by adding @Ecom:Product.CategoryField.Sofaer.Ryghojde.Value to the template and commenting it out.

Replies

 
Yury Zhukovskiy
Reply

Hi

This custom field will not be accessible by short name. This short name will be included to complex custom field tag:

<!--@Ecom:Product.CategoryField.Category1.field1.Value-->

So work as you worked before: use @Ecom:Product.CategoryField.Sofaer.Ryghojde.Value. It’s right way.

Kind Regards

Zhukovskiy Yury


 

 
Rene Erichsen
Reply
Actually all the short tags are available, as long as just one of the long tags is present in the template.

Feels like a bug to me.

 

You must be logged in to post in the forum