def get_global_properties(self):
        properties = []
        for property_group in self.property_groups.all():
            for prop in property_group.properties.order_by("groupspropertiesrelation"):
                properties.append({'property_group': property_group, 'property': prop})

        return properties
Returns all global properties for the product.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.get_global_properties