Commit graph

61 commits

Author SHA1 Message Date
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
JT Smith
8d03655bdb added in-store credit
added refund mechanism
modified ems to use refund mechanism
2008-04-20 01:12:25 +00:00
JT Smith
02c24aa44a fixed more c2 bugs
added a workflow activity that removes EMS items from the cart if they've been in there too long
2008-04-09 22:48:15 +00:00
JT Smith
7e4e7898c0 fixed several checkout bugs 2008-04-08 18:48:43 +00:00
JT Smith
8dd5a6bd2c a number of bug fixes 2008-04-04 22:42:54 +00:00
JT Smith
4ca80ad734 the badge/ticket relationships through badge groups now work 2008-04-03 23:22:03 +00:00
Colin Kuskie
c2951f9456 fix typos in Shop/Cart.pm 2008-04-03 03:51:51 +00:00
JT Smith
50a4b564e5 added item and sku caching to cart
ribbon discounts now work
checklist form control works more like you'd expect
added badge groups
2008-04-02 22:46:40 +00:00
JT Smith
cfcfc88714 ems user experience mostly done 2008-04-01 18:25:13 +00:00
Martin Kamerbeek
8b8974c368 Added check for cart completeness and recurring payments. 2008-03-24 21:44:31 +00:00
Martin Kamerbeek
fb77b80603 adding cash paydriver, paydriver management 2008-03-24 16:39:42 +00:00
JT Smith
8a07dde303 ems badge listing now works and you can add badges
made address book address selector use callbacks so that it can be used by things other than shipping
2008-03-21 22:14:26 +00:00
JT Smith
309b16ca09 trying to add more exceptions 2008-03-19 23:23:51 +00:00
JT Smith
2a2e683dd9 made event handlers for cart/sku
created baseline emsbadge and emsticket
added completePurchase() and denyPurchase() utility methods for transaction
2008-03-19 20:18:00 +00:00
JT Smith
23e78726c7 fixed leftover api error 2008-03-17 20:47:34 +00:00
JT Smith
c61890392c added basic quantity checking for inventory management, and a dateAdded field to the cart in case we need to monitor how long items have been in the cart 2008-03-17 17:33:54 +00:00
JT Smith
7c184b26c3 added getCartBySession() 2008-03-13 21:15:56 +00:00
JT Smith
d47d2f2a9c a couple new methods to make things easier 2008-03-13 20:31:32 +00:00
JT Smith
8a04f5911f shipping system integrated with cart, but need admin interface to test if it works 2008-03-06 17:06:59 +00:00
JT Smith
56407bdc8f address book works
yesno uses bool now instead of int
2008-03-06 00:22:59 +00:00
JT Smith
112834a9b7 added some helper methods for addressing, and got the cart closer to working 2008-03-05 16:32:08 +00:00
Colin Kuskie
8c862439f9 Update the POD for Cart.pm. Return value for addItem is not items in cart, it's the
created item.
Finish up the Tax calculate method, with tests.
2008-03-05 03:37:53 +00:00
Colin Kuskie
2bc6cd49a7 Remove an extra my from Shop::Cart.
Add the getTaxRates method to Tax, with tests.
Add some calculate code to Tax, with tests, which don't pass yet.
2008-03-05 00:22:40 +00:00