Hi,

I had to add an image for each product in the cart on the checkout review page. (On the cart-page itself, this can be achieved with the hook_tapir-table()).
I could not find a nicer way to make an item themeable, so I created a patch that does just that. It sends the row of data to a theming function that can now be overwritten in your custom theme so you can do what you want with the item.

The new theming function is "theme_cart_review_item($item, $tproduct)".

Please include this in future versions of Ubercart.

Thx

CommentFileSizeAuthor
uc_cart_checkout_format_item.patch2.62 KB-otto-

Comments

tr’s picture

Version: 6.x-2.4 » 6.x-2.x-dev
tr’s picture

Issue tags: +Ubercart theme layer

Fixing tag.

tr’s picture

Status: Active » Needs review

... and changing status to needs review, since a patch is present.

longwave’s picture