GetNiceUrlForProduct - multiple language domains problem
Hi ucommerce,
I have a catalog that is bound to the "Default" host name and in the content section I have 2 root nodes that represent 2 languages.
mydoamin.com - that is the danish language version hostname
mydomain.com/en/ - that is the english version hostname
When I am on an english domain and when I call GetNiceUrlForProduct it does not respect the hostname, it returns the product as mydomain.com/product-url instead of mydomain.com/en/product-url?
GetNiceUrlForProduct - multiple language domains problem
Hi ucommerce,
I have a catalog that is bound to the "Default" host name and in the content section I have 2 root nodes that represent 2 languages.
When I am on an english domain and when I call GetNiceUrlForProduct it does not respect the hostname, it returns the product as mydomain.com/product-url instead of mydomain.com/en/product-url?
I managed to fix the problem by writing extension method for this.
Is there maybe a better way to handle this scenario?
is working on a reply...