I am creating a page which serves a pdf file based on the current skin, but it seems that no matter what skin I am viewing the store with (using ?skinid=#), the script always opens Skin_1
Any reason that should not work?C#/VB.NET Code:
Customer ThisCustomer = ((AspDotNetStorefrontPrincipal)Context.User).ThisCustomer;
String FileName = "App_Templates/Skin_" + ThisCustomer.SkinID.ToString() + "/printform.pdf";