Developer forum

Forum » Ecommerce - Standard features » Pageview.Area.EcomLanguageId not existing on cart when logged in user

Pageview.Area.EcomLanguageId not existing on cart when logged in user

Ivan Marijanović
Ivan Marijanović
Reply

Hi people

I am using Pageview.Area.EcomLanguageId on cart page to select which countries will be available in delivery address.

When cart is opened by anonymous user Pageview.Area.EcomLanguageId returns correct EcomLanguageId but when cart is opened by logged in user this value is empty.

 

Any ideas?

Ivan


Replies

 
Nicolai Pedersen
Reply

Hi Ivan

Just checked the latest code and there is nothing that should override that depending on users.

What version are you on? And can you show your template code?

BR Nicolai

 
Ivan Marijanović
Ivan Marijanović
Reply

Hi Nicolai

We are on 9.8.9.

This is template file.

The issue I am having is at row 515 where Pageview.Area.EcomLanguageId returns empty string when opened by logged in user..

Ivan

 

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Just tested it - the value of my Pageview.Area.EcomLanguageId is not affected by user being logged in or not.

See my dumps. 

Screenshot_2020-12-16_131904.JPG Screenshot_2020-12-16_131926.JPG
Votes for this answer: 1

 

You must be logged in to post in the forum