Developer forum

Forum » Ecommerce - Standard features » Apply user details to order

Apply user details to order

Jesper Holm Damgaard
Reply

On the Shopping cart module/app i have enabled "Apply user details to order".

But when i load the cart page for the first time, both of the following variables contains an empty string and null.

string countryCode = GetString("Ecom:Order.Customer.Country.Code");
string countryCodeAPI = Dynamicweb.Ecommerce.Common.Context.Cart.CustomerCountryCode; 

I am logged in with a user that has data in both country fields in the user address: 
https://www.screencast.com/t/UU3mEbwWIt6

All other 

Ecom:Order.Customer.[PROPERTY]

Fields contains the correct data from my user address.

Am i missing something here or is another explanation for this behaviour?

All the Best,
Jesper

 


Replies

 
Nicolai Pedersen
Reply

I'll have QA look into the matter.

BR Nicolai

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

New TFS 55691 has been submitted against the issue, will be fixed on further DW hotfix/release. Thanks.

Workaround could be user nowadays - use "UserManagement:User.CountryCode" tag is still filled correctly and available in the scope.

BR, Oleg QA

 
Jesper Holm Damgaard
Reply

Thanks a lot for looking into this issue.  

All the best, Jesper

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Jesper

The problem regarding #55691 "Customer country code lost on the cart filling" has now been resolved in Dynamicweb version 9.5.3

To upgrade please choose this version from backend or download from here:

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

Let me know if you need any more help regarding this

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum