I would like to add extra information in cart, checkout and invoice in Ubercart. Idea is to show discount ammount that was implemented by hook_uc_cart_alter - I want to add above the Total Price, Another value - Discount, and show that discount on all forms.

I can add extra values by appending in hook_tapir_table_alter, but i am not sure if this right way, or is it only for viewing purpouse? Is there other more reliable method ?



there's no other module i know of that exposes this data. i too had to do hook alters to recalculate the total and discounts to have it show in the checkout forms.

| improve this answer | |
  • 2
    Can you share bits of your code? – NenadP Jan 29 '13 at 6:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.