diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-11-07 13:57:38 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-11-07 13:57:38 +0700 |
| commit | 779002da16637df255b7f8ead65ccb49078d6190 (patch) | |
| tree | 5c42bb7287911e80d5e47c28bdb0a1841a2d68f9 | |
| parent | 0e87cd50902756c86c975505a7dde2239d94968c (diff) | |
bf
| -rw-r--r-- | indoteknik_custom/models/website_user_cart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/website_user_cart.py b/indoteknik_custom/models/website_user_cart.py index 2142dada..6cb282f8 100644 --- a/indoteknik_custom/models/website_user_cart.py +++ b/indoteknik_custom/models/website_user_cart.py @@ -108,7 +108,7 @@ class WebsiteUserCart(models.Model): for cart in carts: if cart.product_id: price = cart.product_id._v2_get_website_price_include_tax() - if not cart.product_id.active and price < 1: + if not cart.product_id.active or price < 1: cart.is_selected = False if selected: |
