Colin Kuskie
0179930011
Give the perItem dropdowns the same class name.
2010-04-30 16:45:09 -07:00
Colin Kuskie
cb8c8da1ac
Per item shipping.
2010-04-30 16:42:10 -07:00
Paul Driver
9a827affc4
Updating shipping/tax info based on address
2010-04-30 11:03:59 -07:00
Colin Kuskie
9ab13fb524
Document how and why we handle $0 checkouts
2010-04-30 08:51:30 -07:00
Colin Kuskie
d986496131
Code tweaks and comments for clarity.
2010-04-30 08:48:22 -07:00
Colin Kuskie
85978eeb23
Remove totalPrice since it was in there twice
2010-04-29 18:15:24 -07:00
Colin Kuskie
295ff15491
Wrap summary price data in a span so they can be automatically updated.
2010-04-29 17:01:43 -07:00
Colin Kuskie
273452c024
Restore the checkout button.
2010-04-29 15:25:57 -07:00
Colin Kuskie
b186f2f713
Make the cart be able to remove items, without using Javascript.
2010-04-29 15:20:58 -07:00
Colin Kuskie
6fe302774c
remove www_selectPaymentGateway, and www_checkout which are now dead code
2010-04-29 14:57:27 -07:00
Colin Kuskie
674b299069
Handle $0 checkouts. Still requires that ANY payment plugin be selected.
2010-04-29 14:51:06 -07:00
Colin Kuskie
bdb1777875
Checking out when shipping is not required works.
2010-04-29 12:22:51 -07:00
Colin Kuskie
a9578eec2c
Always show a shipping selector dropdown, unless there are no shipping options available.
2010-04-28 22:51:05 -07:00
Colin Kuskie
f5ecc2f507
Add valid address checks to cart readyForCheckout. Only log missing fields if an address operation isn't occuring.
2010-04-28 22:23:07 -07:00
Colin Kuskie
cf95ff6683
Allow billingAddress to be set at the same time as the shippingAddress is set to it.
2010-04-28 20:15:26 -07:00
Colin Kuskie
131d4cb041
If shipping is required by an item in the cart, always display a shipping dropdown or option.
2010-04-28 16:09:34 -07:00
Colin Kuskie
622f1b1658
Fix a double my warning in the Cart.
2010-04-28 15:53:17 -07:00
Paul Driver
17dd742c08
Javascript enhancements for cart address handling
2010-04-28 15:09:37 -07:00
Colin Kuskie
5ebd6864cc
Log cart errors for anything that prevents you from checking out. Fix an error in the PayDriver template variables.
2010-04-28 11:48:07 -07:00
Colin Kuskie
a472f9ebdd
Add common cart summary template variables to the PayDriver. Add a summary screen for Cash. i18n fixes for Cash.
2010-04-28 11:19:34 -07:00
Colin Kuskie
d48d9bc90f
Check for valid shipping and payment drivers for checkout. Rebuild transaction to take all info from the Cart.
2010-04-28 09:31:01 -07:00
Colin Kuskie
e0a9f34b53
Update readyForCheckout, shipping address is optional, must have gatewayId, too.
2010-04-27 17:29:14 -07:00
Colin Kuskie
822cac8dec
Error promoted to a full cart method. Beginning to process the address forms.
2010-04-27 17:18:35 -07:00
Colin Kuskie
9365a55477
Bad code fixes, and no tax calculations without an address.
2010-04-27 13:14:53 -07:00
Colin Kuskie
7ef8de2a1f
Checkout preparations. Change payment options to a dropdown in the cart. Pay->getOptions now returns just a hash.
2010-04-27 12:03:43 -07:00
Colin Kuskie
69bfa9b6ea
Better detection for same shipping/billing address.
2010-04-26 18:03:50 -07:00
Colin Kuskie
fc95fa8f86
display taxes again.
2010-04-26 16:23:17 -07:00
Colin Kuskie
fe7f3e0cb2
Recalculate totals based on shipping, now that it works correctly.
2010-04-26 16:15:45 -07:00
Colin Kuskie
a98484dbcb
Fix flag for having a price. Remove debug. Fix typos in ship driver selector generator.
2010-04-26 16:12:02 -07:00
Colin Kuskie
a26f85c8c0
Handle cases of no shipping plugin, and optional price formatting for shipping.
2010-04-26 15:20:34 -07:00
Colin Kuskie
fa48f2eca9
Remove old form JS. Display shipping information, but not the address. Do not format currency unless it exists. Template support.
2010-04-26 14:55:43 -07:00
Colin Kuskie
7826e3aea3
Shipping address form processing.
2010-04-26 12:02:11 -07:00
Colin Kuskie
85c7beca70
Add and edit addresses, for billing only.
2010-04-26 11:33:27 -07:00
Colin Kuskie
0b437f85c3
Make all address form variables sticky. Build address choosers for shipping and billing. Begin form processing for address forms.
2010-04-26 10:57:19 -07:00
Colin Kuskie
9838d20458
Add a billing address to the cart. Add form processing for an address form to the AddressBook. Support for choosing shipping methods without an address.
2010-04-26 09:32:01 -07:00
Colin Kuskie
78fab2dcaf
Do not display any shipping information unless a product in the cart requires it. Code with template changes.
2010-04-23 10:51:17 -07:00
Colin Kuskie
1b1e079214
Shipping and billing address forms are now in the cart if you're logged in.
2010-04-23 10:26:17 -07:00
Colin Kuskie
fbefeaf621
Require that the user be logged in before entering in address info. Refactor out address form into a method that can called multiple times.
2010-04-22 20:02:19 -07:00
Colin Kuskie
827565c22a
Prevent redundant display of the address in the cart, unless it's separate from the per cart address.
2010-04-22 13:31:10 -07:00
Colin Kuskie
d67998888c
Address Books cannot be owned by Visitor any longer. Changed newBySession to newByUserId.
2010-04-22 12:02:54 -07:00
Colin Kuskie
aad5f55601
Fix a Shop bug dealing with shippers that are no longer available. Fixes bug #11001 .
2009-09-28 16:04:09 -07:00
Colin Kuskie
e5ead13da3
Force the user to pick a shipping method before checking out. Implements RFE #10940
...
If there is only 1 shipping method, automatically choose it. Displays
an message to the user if they have an address, but no shipping method.
2009-09-28 10:04:52 -07:00
Colin Kuskie
d902174739
Provide warnings in the Cart and Ship Driver screens when there are no
...
shipping plugins configured. This prevented checkout no feedback.
fixes #10849 .
2009-08-28 15:35:40 +00:00
Colin Kuskie
cff541df1d
Fix a typo in the illegal product quantity error checker in the cart.
2009-08-10 15:56:51 +00:00
Colin Kuskie
cbdd6077d5
Add USPS Shipping Driver with tests, and i18n.
...
Change the Ship, Cart to do exception handling when calling a shipping driver,
as that's the message passing interface between the modules.
Add a noFormProcess field property that is recognized by processPropertiesFromFormPost.
2009-05-12 23:58:19 +00:00
Martin Kamerbeek
7fb87de71d
Added the methods for the pluggable tax system that add templ vars to the cart and cart items.
2009-05-08 13:34:42 +00:00
Martin Kamerbeek
2e4ce42b76
Adding pluggable tax system.
2009-04-17 13:32:18 +00:00
Colin Kuskie
60a3906b05
Add a creation date to the Cart.
...
Use that date to expire carts older than an interval, via a new workflow.
Config file changes, tests, i18n.
2009-04-02 21:58:45 +00:00
JT Smith
f68d979048
removed a check that shouldn't be happening, at least not in this method.
2009-03-30 18:41:44 +00:00
Martin Kamerbeek
0a12c20691
Adding minimum checkout amount.
2009-03-18 13:06:00 +00:00