Guest Posted March 14, 2006 Posted March 14, 2006 Invoices show the total, followed by the discount. It never shows the total amount paid. e.g. (copy and paste from an actual order invoice) Sub-Total: $7.20 Shipping: $2.30 Total: $9.50 Discount Coupons:coupon123: -$0.72 I can edit this order to move the discount up, but it would be esier to make CCVG do it properly. I'm just not sure how. Quote
Guest Posted March 15, 2006 Posted March 15, 2006 I think this is to do with the "orders_total" table. It contains the 4 entries listed above, with a sort_order of 9 for Discount. I'm guessing it needs another line there somewhere, but not sure if this is a "bug" or something I have missed when installing :( Quote
Guest Posted March 15, 2006 Posted March 15, 2006 I think this is to do with the "orders_total" table. It contains the 4 entries listed above, with a sort_order of 9 for Discount. I'm guessing it needs another line there somewhere, but not sure if this is a "bug" or something I have missed when installing :( I did not deploy CCGV, but developed a coupon system by myself. I changed the code for the part you mentioned. $order->info['subtotal'] ------- products total $order->info['total'] ------- Grand total Just add a line by yourself! Quote
Guest Posted March 15, 2006 Posted March 15, 2006 Bruce, Could you tell me roughly where/when to add it? It all seems quite complicated and I'm not sure where to put it! Thanks for the hint though! :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.