diff --git a/make_post_sell/views/cart.py b/make_post_sell/views/cart.py index 42a67de..b2352bb 100644 --- a/make_post_sell/views/cart.py +++ b/make_post_sell/views/cart.py @@ -172,12 +172,8 @@ def cart_by_id(request): if cart is None: msg = ("That cart_id does not exist.", "error") - elif ( - cart.active - or cart.public - or ( - request.user and request.user.authenticated and request.user.owns_cart(cart) - ) + elif cart.public or ( + request.user and request.user.authenticated and request.user.owns_cart(cart) ): # remove invalid coupons from cart, if any. for coupon in cart.coupons: