Developer forum

Forum » Development » ProductList and custom productfields

ProductList and custom productfields


Reply
 Hi,

I am trying to display a customfield in the product list.
I have three custom fields defined.

When i display the template tags i can see the value of the three custom fields. (The last one)

The tag to display this value is:
<!--@Ecom:Product:Field..Value-->
i expected this to be 
<!--@Ecom:Product:Field.CustomField3.Value-->
What is going on?

CustomField1 or 2 are not available at all.

This is with version:
Dynamicweb.dll 19.2.0.4

Kind regards,
Remi

Replies

 
Reply
Hi.
1. You can use "@DwTemplateTags" tag to see what tags are available.
2. Please, use system name of a custom field to access its value:
"@Ecom:Product:Field.SystemNameOfCutomField.Value"

If it will not help, provide please your solution URL, we will check it remotely.
 
Reply
 The custom field is not in the @DwTemplateTags
I can only see this one:
@Ecom:Product:Field..Value
note the double dots.

The custom fields are not visible by the template tagname.

This is on a test environment version:  19.2.0.4 
It is not publicly accessible. You should be able to reproduce on this version.
regards, Remi
 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply
Hi

I have just tried to reproduce this issue on the Engage version of 19.2.0.4 and on the upcoming 19.2.0.5 version and I was unable to. The only thing I can think of is, that the System Name is missing from the Field definition.

Try to check the setup of your custom fields in Management Center and verify that the System Names are present.

- Jeppe
 
Reply
Very strange.
Please be aware that this only a problem on the ProductList template.
The same customfield is working by it's template tagname on the Product Detail template.

regards,
Remi

 
Angel
Reply
Please try standard ProductList template and write results.  Also add please your template to the post I will check it.
 
Reply
 see attachment.
It is the standard template with a few modifications.
Searchbox is included with a groupfilter and text search.
DwTemplateTags is in the product loop to find the custom fields.
After productname (@Ecom:Product:Field..Value) i am trying to show the customfield. This tag show actually shows output of my customfield.

On the product detail i am accesing the same value by tag @Ecom:Product:Field.eenheid.Value

regards,
Remi
 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply
Very strange indeed. Even with your template and a search box and a groups filter on the page, I am unable to reproduce this error.
In my testing I assume the Group filter you're referring to is the new filter search Group filter.

- Jeppe
 
Reply
 Yes this is the new search filter with productindexer.
 
Angel
Reply
Hi,
I also can't reproduce the error.
Please try to create the solution from scratch or provide public access.
 
Reply
 Problem found.

When there is no active product filter on groups or text then the customfields are displayed properly.

When i filter on a GROUPS or Free text search then the customfields are not displayed any more.
In the DwTemplateTags you wil see "@Ecom:Product:Field..Value" tags.

Can you reproduce this?

FYI This has been tested on 2 different 7.2 solutions here.

regards,
Remi
 
Reply
Hello Remi,

It's a bug. Please take a look at this forum post for more details:
http://engage.dynamicweb-cms.com/Default.aspx?ID=5&action=ShowThread&threadID=2452&CategoryID=1

-- Pavel

 
Reply
 thanks FYI

 

You must be logged in to post in the forum