private bool SetupIsNeeded()
    {
        if (IsPostBack || ViewMode.IsDesign() || ViewMode.IsEdit())
        {
            return(false);
        }
        if (!TransactionLibrary.HasBasket())
        {
            return(false);
        }

        return(true);
    }
Exemplo n.º 2
0
    private bool SetupIsNeeded()
    {
        if (IsPostBack || ViewMode.IsDesign() || ViewMode.IsEdit())
        {
            return(false);
        }
        if (!TransactionLibrary.HasBasket())
        {
            cartIsEmpty.Visible = true;
            Address.Visible     = false;

            return(false);
        }

        return(true);
    }