Ok first of all, what is the get_price
method ?
The get_price is a method required by the dj-shop-cart package that you must implement on your django model representing the products that you are adding to the cart. The signature is as follow:
class Product(models.Model):
price = models.DecimalField(decimal_places=2, max_digits=10)