There is a field in Views display of orders called "Total cost" but it doesn't calculate real total cost. It count sum of cost of each single ordered product but not multiplies it by their quantities. This issue was already mentioned for project Ubercart Views 6.x:
#1085830: Ubercart order: Total cost doesn't recognize product quantity
I attached simple patch that fixes the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ubercart-totalcostfixed-1981010-01.diff | 857 bytes | coveryoureyes |
Comments
Comment #1
coveryoureyes commentedHere is the patch.
Sorry for mistaken uploading.
Comment #2
longwaveComment #3
longwaveThanks for uploading this patch. Committed!
Comment #4.0
(not verified) commentedchanged link to old issue