Developer forum

Forum » Ecommerce - Standard features » Values not loading

Values not loading

Brian Bolks
Reply

Hi,

i have run into an issue where there are no fields/values loaded in the product template.

In our template we use a for example GetLoop("ProductCategories") and GetValue("masterproductid") these are empty return nothing.

Ran into this issue after removing GetString("Ecom:Product.CategoryField.ProductFields.Prijs per.Value") as it was not needed anymore / wrong property but when i removed that other stuff doesnt get loaded it seems.

If i include @TemplateTags() in the template it gets filled, but thats not something u want so i now found out that if i use GetString("Ecom:Product.CategoryField.ProductFields"); also all data gets loaded. Is there some kind of lazy loading that causes this?  

Can reproduce it in the acceptance version that running 9.13.3 and also on the production instance running version 9.9.7


Replies

 
Brian Bolks
Reply

nobody?

 
Morten Snedker Dynamicweb Employee
Morten Snedker
Reply

Hi Brian,

Can you please pass a URL and a pageId where the paragraph with the product catalog is situated?

BR
Snedker

 
Aki Ruuskanen
Aki Ruuskanen
Reply

+1 Also experiencing this, fixed with 

var workaround = GetString("Ecom:Product.CategoryField.ProductFields");
 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

We see a similar situation after upgrading to 9.13.8. ProductCategoryField values are not loading on the secondary language.

Apparently, the template tags we used to use, are not behaving the same way.
We have used some API calls in some templates but it seems like a more complex issue.

@Morten you can use http://decocenter.dotfusion.ro/ if you want to test it out. You have 2 languages and you will notice prinatbel papers in EN will not display the same properties as the RO version.

RO version (main language): http://decocenter.dotfusion.ro/Default.aspx?ID=4479

EN version: http://decocenter.dotfusion.ro/Default.aspx?ID=4480

 

Thank you,
Adrian

 

You must be logged in to post in the forum