def show_product(id):
    service = ProductService()
    product = service.find_one(id)
    print(product)
    return render_template("view.html", product=product)
def display_checkout(id):
    service = ProductService() 
    product = service.find_one(id)    
    return render_template("checkout.html", product = product )