Developer forum

Forum » Ecommerce - Standard features » Ecom:Order.Customer.Name not returning reliable values

Ecom:Order.Customer.Name not returning reliable values

Mafalda Correa
Mafalda Correa
Reply

Hi,

I noticed that the tag Ecom:Order.Customer.Name is returning different values based on 'Do not render user address in address loop' and whether the address is default or not.

See the video below for the repro:

https://www.screencast.com/t/EEtpVR2Uuyc8

In summary:

Scenario 1:  'Do not render user address in address loop'=true

Ecom:Order.Customer.Name = User Name

Scenario 2: 'Do not render user address in address loop'=false && User Address is the default address

Ecom:Order.Customer.Name = empty

Scenario 3: 'Do not render user address in address loop'=false && User Address is not the default address

Ecom:Order.Customer.Name = Address Description field

Note: in Scenario 2 the User Address didn't have an empty Description field, as you can see in the video.

 

I'd expect this tag to always return the actual Customer Name.

Currently, there's no default Name address in the Addresses, so perhaps we could return the the User Name, but in an ideal world, we'd have a Name field in the Address which would be returned in this tag.

More importantly, I think this should be consistent in the three different scenarios, especially between 2 and 3.


Replies

 
Alexey Tanchenko Dynamicweb Employee
Alexey Tanchenko
Reply

Hello,

TFS 82948 has been created and will be fixed in upcoming release. Thanks.

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Mafalda

The problem TFS#82948 with Mix of User/Order address information 

has been resolved in Dynamicweb version 9.8.10

You are able to find this build in the download section:

http://doc.dynamicweb.com/releases-and-downloads/releases

Or package update Ecommerce 1.8.94

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum