feat: attrs on product
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user