Closed (duplicate)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Cart/checkout
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Mar 2011 at 13:08 UTC
Updated:
9 Jun 2011 at 13:39 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| uc_cart_checkout_format_item.patch | 2.62 KB | -otto- |
Comments
Comment #1
tr commentedComment #2
tr commentedFixing tag.
Comment #3
tr commented... and changing status to needs review, since a patch is present.
Comment #4
longwaveDuplicate of #577794: uc_checkout_pane_cart() needs a theme function for the table on the order review page