summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/website_user_cart.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/website_user_cart.py b/indoteknik_custom/models/website_user_cart.py
index 0af22d47..581ed4cd 100644
--- a/indoteknik_custom/models/website_user_cart.py
+++ b/indoteknik_custom/models/website_user_cart.py
@@ -32,6 +32,7 @@ class WebsiteUserCart(models.Model):
if self.product_id:
res['cart_type'] = 'product'
+ res['active'] = True if self.product_id.active else False
product = self.product_id.v2_api_single_response(self.product_id)
res.update(product)