@ -259,7 +259,8 @@ class ProductVariation(models.Model):
return self.variation
def get_price(self, profile=None):
if profile and self.product.brand.slug in ['beuchat', 'scorpena']:
#import pdb; pdb.set_trace()
if profile and profile.is_authenticated() and self.product.brand.slug in ['beuchat', 'scorpena']:
return int(self.price - (self.price / Decimal(100) * Decimal(profile.sale)))
else:
print(profile)