Tuesday, May 17, 2011

How to Get ASPDotNetStorefront Store URL

Version: AspDotNetStorefront 8.x

Problem:

How do I get the current store url?

Solution:

There are a number of variables available.
In an XMLPackage use the following: <xsl:value-of select= “/root/System/StoreUrl” />
In .NET call the following function AppLogic.GetStoreHTTPLocation or AppLogic.GetStoreDomain

No comments:

Post a Comment