Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: multi store skin issues

  1. #1
    kerric@nicsys.net is offline Junior Member
    Join Date
    Nov 2011
    Posts
    6

    Default multi store skin issues

    is anyone having a problem changing skins between stores? we have a new "2nd" store which has a different skin.

    the changing of the skin works fine in firefox but breaks sometimes in IE and doesnt work at all in chrome, in fact chrome chooses a completely different skin then either of the 2 stores are using.

    Any suggestions on where to look?

  2. #2
    Skriver is offline Senior Member
    Join Date
    Apr 2012
    Posts
    188

    Default

    Is there a URL we can check?

  3. #3
    ktratt is offline Junior Member
    Join Date
    Mar 2006
    Posts
    8

    Default

    http://www.themeredithstore.com is US version

    http://www.themeredithstore.ca/store is canadian version

    i have it in /store to keep it hidden from the public until i can get this skin issue worked out.

    Surprsingly enough it seems to be working properly today anyone see weird things happening? I havent made changes since i posted this and it was clearly not working back then.

  4. #4
    lambrite is offline Senior Member
    Join Date
    Jun 2007
    Posts
    116

    Default Comment out code

    In app_code\SkinBase.cs, I commented out the following logic (~Line 412 in 9031 version). This then ignores the skin value for the customer account.

    if (HttpContext.Current.Profile != null && CommonLogic.IsInteger(HttpContext.Current.Profile. GetPropertyValue("SkinID").ToString())) {
    int skinFromProfile = int.Parse(HttpContext.Current.Profile.GetPropertyV alue("SkinID").ToString());
    if (skinFromProfile > 0) {
    m_SkinID = skinFromProfile;
    }
    }
    else if (AppLogic.AppConfig("Signin.SkinMaster").EqualsIgn oreCase("session")) {
    m_SkinID = m_ThisCustomer.DBSkinID;
    }