Closed (fixed)
Project:
Ubercart
Version:
6.x-2.0-rc7
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2009 at 07:08 UTC
Updated:
6 Nov 2009 at 16:07 UTC
Jump to comment: Most recent file
Comments
Comment #1
keesje commentedTypo: return$ output; must be return $output;
And you will need to supply the $totals array also as an optional parameter.
Comment #2
rszrama commentedI've rolled your changes (also addressing your e-mailed concern) into this patch. I also included an optional order variable in the event that someone wants to use this function w/o posting in an order variable.
Comment #3
keesje commentedThanks for your patch, I will look into this soon.
For anyone interested, we will use this for prefilling the order preview pane with a form_alter. This way clients without javascript support will be able to see a proper order preview initially. This might not be usefull in some circumstances, but i find the default "javascript must be enabled" message quite user unfriendly. This also makes the checkout more friendly for mobile devices and slow connections.
Comment #4
rszrama commentedAhh, very interesting. That's definitely a problem we'll have to address in the next version.
Comment #6
Mac Ryan commentedI am not sure this is the right place to post this, but since I upgraded RC7 -> 2.0 I get the following error in the "payment method" panel of the checkout page:
Fatal error: Unsupported operand types in sites/all/modules/ubercart/uc_order/uc_order.module on line 1459
I noticed that this is the uc_order_get_total() function that has been affected by said upgrade, so I thought that some changes could have caused this?
Comment #7
rszrama commentedThere's an issue with that exact title. See my patch in comment 71.
#611044: Fatal error: Unsupported operand types in .../uc_order.module on line 1459