http://checkout.google.com/support/sell/bin/answer.py?hl=en&answer=64730
shows how to add a field for customer-chosen price. But the button in
that example is for fast checkout. I am trying to add the price to
cart but the price in the cart is always zero. Does anyone know how to
pass the price in the form field
<input type="text" name="item_price_1"/>
to the cart?
This is the code:
self.response.out.write("""
$ <input type="text" name="item_price_1"/>
<div class="product">
<input type="hidden" class="product-title" value="%s">
<input type="hidden" class="product-attr-id" value="id#%s">
<div class="googlecart-add-button" tabindex="0" role="button"
title="Add to cart">
</div></div>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.