django-shop
django-shop copied to clipboard
Additional fields to Product Detail Serializer
It would be useful to have information about whether a product is already inside the Cart or the watchlist. This could be achieved by adding two Boolean fields to the product's detail serializer, named in_cart
and in_watchlist
.