kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

Remove javascript dependency for checkout #129

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
there is js to update states based on countries. if user doesn't have that,
they lose :(

Original issue reported on code.google.com by cjj.ifpe...@gmail.com on 15 Oct 2007 at 5:21

GoogleCodeExporter commented 8 years ago

Original comment by cjj.ifpe...@gmail.com on 23 Oct 2007 at 9:26

GoogleCodeExporter commented 8 years ago

Original comment by cjj.ifpe...@gmail.com on 16 Apr 2008 at 3:53

GoogleCodeExporter commented 8 years ago
By "they lose," I assumed this meant the user cannot complete the order. It 
looks
more like the user simply gets a list of all states (for all countries). How 
*should*
this behave?

I believe the code to change is at:
/browser/templates/country-selection-widget.pt
and, depending on the extent of the change, possibly:
/browser/resources/country-states-selection.js

Original comment by mcgruff....@gmail.com on 11 Oct 2008 at 6:54

GoogleCodeExporter commented 8 years ago
A possible solution: Make the fields type="textbox". If there's javascript, then
change them into selection fields (with the existing js to dynamically change 
the
possible state values based on the selected country value).

A possible solution to narrow the affected audience: in the setup, let the admin
decide whether to accept international orders. If not, the widget limits orders 
to
the setup's Contact country (specified at @@manage-getpaid-identification). 
Perhaps
sites that choose to limit to national orders only can have a text message 
like, "For
international orders, please call our warehouse/fulfillment center at X."

Original comment by mcgruff....@gmail.com on 11 Oct 2008 at 6:56

GoogleCodeExporter commented 8 years ago
it was fixed in #203. But the list available when you don't have javascript is 
a big
mess. We should at least order by alphabetical order.

Original comment by lucielej...@gmail.com on 15 May 2009 at 8:25