Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Product Fields showing value instead of name

Product Fields showing value instead of name

Asdis Gudmundsdottir
Asdis Gudmundsdottir
Reply

Hi there, 

We are having trouble with our custom product field using list box after upgrading from 9.6.7 to 9.8.5. We are looping through FacetGroups - Facets - FacetOptions and fetching both value and name for each facet item.
We are getting values instead of name resulting in values appearing on the website instead of the name. 

 var optionName = facetOption.GetString("FacetOption.Name"); this results in FacetOption.Value instead.

I tried searching for some changes between DW versions but didn't find anything. Am I missing something or is this a bug?

BR,

Asdis Erna

producfields_values.png productfields_category.png

Replies

 
Steffen Kruse Hansen Dynamicweb Employee
Steffen Kruse Hansen
Reply

Hi Asdis,

I have a few questions, which maybe could point us in the right direction:

1) Are you using 'Field facets' or 'Term facets' for this facet?

2) Can you see if the correct value appears in the 'FacetOption.Label' tag?

3) Do you have a URL, where I can see this behavior?

Best regards,

Steffen 

 
Asdis Gudmundsdottir
Asdis Gudmundsdottir
Reply

Hi again

1. Field Facet

2. Yes, the correct value apperas if using FacetOption.Label tag, I guess I could use that instead.

3. https://air.s4s.is/doemur/doemu-fatna%C3%B0ur - here

 

 

You must be logged in to post in the forum