Developer forum

Forum » Development » Missing tag in product category field output

Missing tag in product category field output


Reply
Hi DW,

I'm building an eCom site where i using product categories and i've set everything up, and i get my category fields out in my templates but something is missing.

Where is my label for the value i set in my field? (All my fields are radio buttons)

When i render all templatetags for my product i get these tags for my category field:
22 !-@Ecom:Product.CategoryField.ProductCategory1.IMP_PATTERN.CategoryID-- Copy tag to clipboard 16 ProductCategory1
23 !-@Ecom:Product.CategoryField.ProductCategory1.IMP_PATTERN.DefaultValue-- Copy tag to clipboard 0  
24 !-@Ecom:Product.CategoryField.ProductCategory1.IMP_PATTERN.ID-- Copy tag to clipboard 11 IMP_PATTERN
25 !-@Ecom:Product.CategoryField.ProductCategory1.IMP_PATTERN.Label-- Copy tag to clipboard 7 Mønster
26 !-@Ecom:Product.CategoryField.ProductCategory1.IMP_PATTERN.PresentationType-- Copy tag to clipboard 1 4
27 !-@Ecom:Product.CategoryField.ProductCategory1.IMP_PATTERN.TemplateTag-- Copy tag to clipboard 11 IMP_PATTERN
28 !-@Ecom:Product.CategoryField.ProductCategory1.IMP_PATTERN.TypeID-- Copy tag to clipboard 2 15
29 !-@Ecom:Product.CategoryField.ProductCategory1.IMP_PATTERN.Value-- Copy tag to clipboard 4 8000
30 !-@Ecom:Product.CategoryField.ProductCategory1.IMP_PATTERN.Value.Clean-- Copy tag to clipboard 4 8000

All my fields are radiobutton, and in the frontend i'd like to show the label for the option selected.

For instance i have a field to select color. The field has these options:

Value - Label
20 - Red
30 - Green
40 - Blue

Each color has a value that matches and ID in a C5 from which all category fields are imported, so the value has to be what they are now.

But in my frontend i don't want to show "20", i want to show "Red".

Please implement
!-@Ecom:Product.CategoryField.ProductCategory1.IMP_PATTERN.Option.Label--
For when TypeID is 15..

Best regards
 Martin




Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi Martin

You are completely correct. This tag is missing. I have added it and it will be available in the next Service Release.

- Jeppe

 
Reply
 Great :-)
Looking forward to it.

 

You must be logged in to post in the forum