Re: Product Links in Cart.

Posts: 5623
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I'm a little divided... on the one hand, the way it is now seems logical to me. It's familiar (other systems like osC/Amazon.com include links to product pages in their carts). It's also handy to review the page for products in your cart with a simple click of the product. Of course, just because it's the way it's been done doesn't mean it's the way we should do it.

Regarding editing, though, I'm just not sure of the feasibility of an edit cart product form. Primarily, this is because any module can hook into the add to cart form, the attributes module included. But adding yet another form will require another point of integration not just for these modules but then for others that may need to hook into cart actions (adding, removing, updating items in the cart).

The cart block's contents are made in a theme function, though, so at the theme level you can copy/rename the function theme_uc_cart_block_content() and adjust the display so it does not include product links.

Product Links in Cart. By: regx@drupal.org (9 replies) Tue, 01/22/2008 - 18:27