Adds the current product to the cart. When invoked, the current product should be added to the cart or some indication should occur to notify the shopper of any selections that must first be made before the item can be added to the cart.
The intention here is that the “Add To Cart” button in the Contextual Commerce campaign should exactly mirror the user adding the current product to their cart from elsewhere in the app, given the selections currently made.
Defines callbacks that Contextual Commerce can call to add a product to the cart. Implement this interface using whatever mechanism your app requires to add a product to the cart.