CommonHelper.GetStoreLocation Using a splash page

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 anos atrás
I have an entry page at Index.aspx (configured as the default doc in IIS).
I am trying to change the "Home" links so that once you enter the actual store at Default.aspx they direct to Default.aspx not www.domain.com which is set to go back to Index.aspx.

I know I can just edit header.ascx and headermenu.ascx but I would prefer to change the value of CommonHelper.GetStoreLocation.

Where is this set and if I do specify a specific page (http://mystore.com/Default.aspx) will it break other links that are needing the root url?

Thanks for your input in advance.
13 anos atrás
Taylex wrote:

Where is this set

it is here:
\Libraries\Nop.Common\Utils\CommonHelper.cs
find method:
public static string GetStoreLocation(bool UseSSL)


Taylex wrote:

and if I do specify a specific page (http://mystore.com/Default.aspx) will it break other links that are needing the root url?

Yes it will break A LOT, because it is used everywhere in nop, and there are file names added to what getstorelocation returns.
Better for you just to change the header
13 anos atrás
Thanks for the info. I'll just adjust the links as you suggest.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.