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
Graham Knop
2400f19099
Merge branch 'master' into WebGUI8
2010-04-13 07:50:02 -05:00
Colin Kuskie
ecc71d455d
Update Shop for new instanciators and for exception handling.
2010-03-03 21:07:38 -08: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
Colin Kuskie
c45fe174a0
Forward porting bug fix for random checkout problems in the Shop
...
related to Class::InsideOut and using ref instead of refaddr/id.
2009-03-12 15:32:48 +00:00
JT Smith
f927c0f128
made it more obvious how to check out
2008-11-24 15:15:52 +00:00
JT Smith
58a2681dce
the real fix to the problem frank just checked in
2008-11-15 18:51:14 +00:00
Frank Dillon
d6b69e789c
Fixed a problem where getShippingAddress was not throwing an error but still returning undef in some situations causing the cart to fail.
2008-11-15 18:12:30 +00:00
JT Smith
16bd779fd4
- Added Cashier/Point of Sale mode for the Shop.
...
- Added the notion of a default address to the Shop's address book.
2008-11-15 01:26:16 +00:00
Colin Kuskie
b4559e8935
Fix a variable clash in the Cart www_view method.
2008-08-25 01:59:22 +00:00
Diona Kidd
5b89003e24
Adding internationalized message for empty cart
2008-08-20 02:08:19 +00:00
Kaleb Murphy
eff953b5ed
Cart now redirects to ssl if the site is ssl enabled.
2008-07-24 19:56:54 +00:00
Colin Kuskie
6086703d49
Apparently, any item or sku caching causes Apache to die. At this
...
point, both the itemCache in the Cart and the skuCache in the CartItem
have been removed.
2008-07-22 04:09:04 +00:00
Colin Kuskie
23316d60dd
Removed all caching code. This seems to fix the apache
...
crashing problem. Needs others to double check and
review.
2008-07-21 23:41:04 +00:00
Colin Kuskie
1031883fbf
Change the order of deleting the item from the cache and calling
...
clean up code, since deleting the item causes the Session var
to get nuked.
2008-07-21 21:27:31 +00:00
Kaleb Murphy
994ac85181
Cart properties were made public for debugging and then left that way by a accident. Fixed.
2008-07-18 16:34:23 +00:00
Kaleb Murphy
6e97455afb
Product.pm no longer caches if a cart object has been created for this session.
2008-07-18 16:11:21 +00:00
JT Smith
57c85fde5a
changed the name of getCartBySession to newBySession
...
created the CartItemCount and MiniCart macros
added help for MinCart, Cart, Address Book, and Edit Address templates
2008-05-24 23:27:30 +00:00
JT Smith
e71946fb94
check for mixed recurring and non-recurring items in the cart
2008-05-21 20:14:46 +00:00
JT Smith
ca9278190e
mostly working transaction manager
...
fixed many bugs
2008-05-19 22:17:08 +00:00
JT Smith
fd7a1d28a1
zero dollar transactions
...
in-shop credit applies to orders
2008-05-05 19:53:25 +00:00
Martin Kamerbeek
0100ab0112
Fixed a bug that prevented updating the cart
2008-05-02 13:06:40 +00:00