diff --git a/backend/product/serializers.py b/backend/product/serializers.py index 11fc5fc..4907698 100644 --- a/backend/product/serializers.py +++ b/backend/product/serializers.py @@ -35,7 +35,7 @@ class ProductVariantSerialzier(serializers.ModelSerializer): price = serializers.SerializerMethodField() class Meta: model = ProductVariant - exclude = ('min_price', 'sell', 'currency', 'product') + exclude = ('min_price', 'max_price','sell', 'currency', 'product') def get_price(self, obj): dollor_price = self.context.get('dollor_price')