Add functionality for line item creation in cart