feat: attrs on product

This commit is contained in:
2024-05-11 00:24:59 +03:00
parent dca4070db7
commit 7ce9258096
12 changed files with 25 additions and 22 deletions

View File

@@ -5,7 +5,5 @@ from models import Product
class BrandAttributeGetter(BaseAttributeGetter):
def get_value(self, product: Product):
result = product.brand
if not result:
result = ''
return result
return product.brand