private void LoadSettings()
        {
            ScriptConfig.IncludeColorBox = true;
            storeCountry    = new GeoCountry(siteSettings.DefaultCountryGuid);
            currencyCulture = ResourceHelper.GetCurrencyCulture(siteSettings.GetCurrency().Code);
            commerceConfig  = SiteUtils.GetCommerceConfig();

            store = StoreHelper.GetStore();
            if (store == null)
            {
                return;
            }

            cart           = StoreHelper.GetClerkCart(store);
            tblCountryList = GeoCountry.GetList();


            if (WebUser.IsInRoles(siteSettings.RolesThatCanLookupUsers))
            {
                SetupSelectUserScript();
                //lnkUserLookup.Visible = true;
                lnkUserSearch.Visible = true;
            }

            AddClassToBody("webstore admincheckout");
        }
        private void LoadSettings()
        {
            store = StoreHelper.GetStore();
            if (store == null)
            {
                return;
            }
            currencyCulture = ResourceHelper.GetCurrencyCulture(siteSettings.GetCurrency().Code);


            cart = StoreHelper.GetClerkCart(store);

            lnkCheckout.NavigateUrl = SiteRoot + "/WebStore/AdminOrderCheckout.aspx?pageid=" + pageId.ToInvariantString()
                                      + "&mid=" + moduleId.ToInvariantString();

            divCheckoutLink.Visible = (cart.SubTotal > 0);

            int countOfDiscountCodes = Discount.GetCountOfActiveDiscountCodes(store.ModuleGuid);

            pnlDiscountCode.Visible = ((countOfDiscountCodes > 0) && (cart.SubTotal > 0));

            pnlManualDiscount.Visible = ((WebUser.IsAdmin) && (cart.SubTotal > 0));


            AddClassToBody("webstore orderentry");
        }