quickstart - addItemToCart remove irrelevant nested if