[contributions:gordon] /modules/ecommerce/cart cart.module
User: gordon Branch: HEAD Date: Fri, 03 Mar 2006 05:04:51 +0000 Modified files: /modules/ecommerce/cart cart.module Log message: #51529 I have made changes to be more in line with the formapi structure. - remove theme_checkout_form() as this should be themed by the module, and not the checkout. I know that it calls the hook_checkoutapi() but this is how it is support to work. - add back functionality where you can have blank forms and it will move past them. This is required if you have discounts and coupons. - removed the form[$data->screens[$data->screen]] as it is notvery nice. However I have still removed the array_merge() - fixed up the form_token. This is now using the Drupal standard method. - reinstated the hook_checkoutapi($txn, 'save'); - put back the original paymentapi call to user txn->payment_method Also there are some other things that need to be cleaned up. - Remove the use of $_SESSION[] - this will make add additional load on the server for anonymous users. - theme_cart_checkout_form() should not be calling hook_checkoutapi() - remove arg(2) as it look ugly. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/ecommerce/cart/car...
participants (1)
-
drupal-cvs@drupal.org