>>917
>if (条件1 && OrdersTotal ==0)

いいんじゃない
正確には OrdersTotal() だけど