Minor changes:
 - add log-like functions to the trigop checks
 - update the sample course with the cart question