Ejemplo n.º 1
0
def ajax_merchant_lookup(request, venue_id, template_name="checkout/order_accepted_ajax.json"):
    postdata = request.POST.copy()
    postdata.__setitem__('venue', venue_id)
    cart_items2_1 = cart.merchant_cart_items2_1(request, venue_id)
    cart_items2_2 = cart.merchant_cart_items2_2(request, venue_id)
    cart_items2_3 = cart.merchant_cart_items2_3(request, venue_id)
    return render_to_response(template_name, locals(), context_instance=RequestContext(request))
Ejemplo n.º 2
0
def merchant2(request):
    cart_items2_1 = cart.merchant_cart_items2_1(request, "1")
    cart_items2_2 = cart.merchant_cart_items2_2(request, "1")
    variables = RequestContext(request)
    return render_to_response('merchant2.html', locals(), context_instance=RequestContext(request))