What condition is the showCartMsg() function true?

You need to display a message to a logged in shopper about a relevant promotion, based on the number of products in the cart and the total value of the items. You develop a custom widget that uses the User, Cart and Site view models as displayed in this example Javascipt:

Under what condition is the showCartMsg() function true?
A. Only when there is at least one item in the cart and the cat subtotal is less than the value of minSpend
B. When a user is logged in and there is at least one item in the cart and the cart subtotal is less than the value of minSpend
C. If either a user is logged in or there is at least one item in the cart or the cart subtotal is less than the value of minSpend
D. As long as the user is logged in; the status of the cart does not matter

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.