feat: a lot of a lot
This commit is contained in:
@@ -17,7 +17,7 @@ class DefaultBarcodeGenerator(BaseBarcodeGenerator):
|
||||
if not attribute_getter:
|
||||
continue
|
||||
value = attribute_getter.get_value(product)
|
||||
if not value:
|
||||
if not value or not value.strip():
|
||||
continue
|
||||
attributes[attribute.name] = value
|
||||
for additional_attribute in template.additional_attributes:
|
||||
|
||||
Reference in New Issue
Block a user