How to maintain a themeID QueryString throughout the Shop Cart Process? From Category View to Order Complete process inorder to laod different themes for each store.  

or else

how can we maintain the theme that the initail page assigned to the workingtheme property....!


The following posted solution is not working correctly. it works only you log into the home page, but when you click on something you will loose the querystring and ThemeContext will always assign the Theme from the DB. Since u can't maitain the Querystring thorughout the Process.

how can we maintain the theme that the initail page assigned to the workingtheme property....!


open namespace Nop.Web.Controllers.BaseNopController.cs

method:  protected override void OnActionExecuting(ActionExecutingContext filterContext)
add:
CheckThemes();

and add:

protected virtual void CheckThemes()
        {
            if (Request != null &&
                Request.QueryString != null && Request.QueryString["ThemeName"] != null)
            {
                var ThemeName = Request.QueryString["ThemeName"].ToString();

                if (ThemeName != null && ThemeName != "")
                {
                    EngineContext.Current.Resolve<StoreInformationSettings>().DefaultStoreTheme = ThemeName;
                }
            }
        }