Example #1
0
def cartListing(cart_id, messageInfo=None):
    """Return the HTML rendered list of items in the cart"""
    badges = db.badgeList(cart_id)
    if not badges:
        badgesDetail = None
    else:
        badgesDetail = db.badgesDetail(badges)
    return render.cart(cart_id, badgesDetail, messageInfo)
Example #2
0
def badgeListing(cart_id):
    """Return a HTML rendered list of badge from a cart id"""
    badges = db.badgeList(cart_id)
    if not badges:
        badgesDetail = None
    else:
        badgesDetail = db.badgesDetail(badges)
    return render.list(badgesDetail)
Example #3
0
def badgeListing(cart_id):
    """Return a HTML rendered list of badge from a cart id"""
    badges = db.badgeList(cart_id)
    if not badges:
        badgesDetail = None
    else:
        badgesDetail = db.badgesDetail(badges)
    return render.list(badgesDetail)
Example #4
0
def cartListing(cart_id, messageInfo=None):
    """Return the HTML rendered list of items in the cart"""
    badges = db.badgeList(cart_id)
    if not badges:
        badgesDetail = None
    else:
        badgesDetail = db.badgesDetail(badges)
    return render.cart(cart_id, badgesDetail, messageInfo)