Download & Extend

On attribute selection (sub)total is not updated anywhere

Project:Ubercart Donation Products
Version:6.x-2.0-beta3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

I have a donation product set up using the uc_donation module.
This is for a non-profit organization with shippable products available for a donation.

I've set the donation node up with a handful of attributes which allow the donor to add an additional amount to the cost of the item.

Everything seems to work, except that the total in the cart block and on the cart page is not updated.
Both the cart block and the cart page show a line item reconizing that the user chose to add an additional amount but the total does not reflect the additional amount.

Help!

Comments

#1

Project:Ubercart» Ubercart Donation Products
Version:6.x-2.0» 6.x-2.0-beta3
Category:support request» bug report

I'm changing this to go against uc_donation since I tried to do the addition of an optional donation via attributes as described above using a standard UC product node rather than a donation node and the total is accurately updated everywhere.

So it seems like the problem is with uc_donation and how it works with attributes.
Tho' that's about all I can say this is my first attempt at using ubercart and uc_mods, I'm relatively new to Drupal and I'm not a programmer.

I am using the 2.0 release of Ubercart on a D6.14 site using basic 2.8 as my base theme if that helps!

#2

I think I'm experiencing the same trouble pointed at here -- I cannot get the module's Checkout pane to work at all. When an amount is entered, it is mirrored down below in the "Order total preview" sub-pane, but the "Order total" is not updated, nor is the total accurate when you click "Review Order" and arrive at the next page. Anyone have an idea how to fix this one?

#3

Status:active» needs review

Attached patch is kinda hacky but fixes both the order total preview box on the checkout page and the total on the order review page. However, the donation product line item doesn't appear on the order review page and so maybe it would be better to make the added donation into a proper line item - currently doesn't do this for me when I add a donation in the checkout.

AttachmentSize
622506.patch 1.41 KB

#4

Works for me in conjunction with additional @stella patches. Refer #1367486

#5

Status:needs review» reviewed & tested by the community
nobody click here