def _get_category(self):
        return self.parent.product.category.all()[0]
Return the primary category associated with this product
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/modules/configurable/models.py/ProductVariation._get_category