Is it possible to add custom badges to product attributes conditionally, based on custom field?

Is it possible to add custom badges to product attributes conditionally, based on custom field?

File not found.