[contributions(DRUPAL-5--4):sime] /modules/ecommerce/cart cart.css cart.module checkout.css /modules/ecommerce/ec_checkout ec_checkout.module /modules/ecommerce/product product.module /modules/ecommerce/store store.css
User: sime Branch: DRUPAL-5--4 Date: Wed, 26 Mar 2008 14:48:02 +0000 Modified files: /modules/ecommerce/cart cart.css cart.module checkout.css /modules/ecommerce/ec_checkout ec_checkout.module /modules/ecommerce/product product.module /modules/ecommerce/store store.css Log message: * cleaned up functions in cart. There are some key functions now: -- cart_update_item() is used for all cart changes. It does not set any messages internally, you can review the return status and act accordingly. -- _cart_save() and _cart_load() are internal functions that do the db transactions -don't query ec_cart table directly pls. -- cart_get_cart() returns cart items * Cart forms now contain no inline styles (like display: none). And in particular the cart view page is properly marked up with classes and ids. * Cleaned up the cart theme functions as best I could. eg removed some logic from them. * Probably more Please review the module and inline documentation, there will probably be some borken bits in other modules but it will be easy to fix once you check the cart api. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/ecommerce/cart/car... http://cvs.drupal.org/diff.php?path=contributions/modules/ecommerce/cart/car... http://cvs.drupal.org/diff.php?path=contributions/modules/ecommerce/cart/che... http://cvs.drupal.org/diff.php?path=contributions/modules/ecommerce/ec_check... http://cvs.drupal.org/diff.php?path=contributions/modules/ecommerce/product/... http://cvs.drupal.org/diff.php?path=contributions/modules/ecommerce/store/st...
participants (1)
-
drupal-cvs@drupal.org