from rest_framework import serializers

from longclaw.products.serializers import ProductVariantSerializer
from longclaw.basket.models import BasketItem

class BasketItemSerializer(serializers.ModelSerializer):

    product = ProductVariantSerializer()
    price = serializers.SerializerMethodField()
    total = serializers.SerializerMethodField()

    class Meta:
        model = BasketItem
        fields = "__all__"

    def get_price(self, obj):
        return obj.price()

    def get_total(self, obj):
        return obj.total()
    
@@ -216,22 +216,22 @@
 %0D%0A%0D%0A    
-produc
+varian
 t = Prod

Rename serializer field