public String submit() {
...
if ((cart().getTotal()> 100.00) && !specialOffer.isRendered()) {
specialOfferText.setRendered(true);
specialOffer.setRendered(true);
return null;
} else if (specialOffer.isRendered() && !thankYou.isRendered()) {
thankYou.setRendered(true);
return null;
} else {
...
cart.clear();
return ("bookreceipt");
}
}