@main.route('<STR_LIT>')<EOL>def add_to_cart(item_id):
cart = Cart(session['<STR_LIT>'])<EOL>if cart.change_item(item_id, '<STR_LIT>'):<EOL><INDENT>session['<STR_LIT>'] = cart.to_dict()<EOL><DEDENT>return list_products()<EOL>
Cart with Product