def product_upsell(product):
    """
    Display the list of products that are upsell candidates for currently viewed product.
    """
    goals = None
    if product.upselltargets.count() > 0:
        goals = product.upselltargets.all()
        
    return { 'goals' : goals }
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/satchmo_ext/upsell/templatetags/satchmo_upsell.py/product_upsell/original