pat_ads Posted July 31, 2013 Share Posted July 31, 2013 Hello all! Whenever a client purchases more than one of the same item, the order confirmation email lists each item separately, yet totals the multiples in each listing. Dear Bob Jones (ABC Company), We have received your order and will be processing it shortly. The details of the order are below: Order Number: 8116160554 Product/Service: Software - Pro First Payment Amount: $39.00 USD Recurring Amount: $39.00 USD Billing Cycle: Monthly Quantity: 2 Total: 78 Product/Service: Software - Pro First Payment Amount: $39.00 USD Recurring Amount: $39.00 USD Billing Cycle: Monthly Quantity: 2 Total: 78 Total Due Today: $78.00 USD You will receive an email from us shortly once processing is complete. Please quote your order reference number if you wish to contact us about this order. By reading the above, you can see that it appears at first glance to the customer, that they have purchased 2 quantities of the item, two separate times. What I think "should" happen is that the product should be listed 1 time, with the Quantity and total shown. As another note, the "Total" listed at the bottom of each listing does not list the $XX.00 USD, it just lists XX, which looks rather unprofessional. The order details are from the {$order_details} variable. Any hints as to how to fix this? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 31, 2013 Share Posted July 31, 2013 I think it must be a foreach loop that generates the text. as an aside, the lack of a currency symbol and code occurs for me too (perhaps a bug)... you could add a currency symbol by using the following code:- {$order_details|replace:'Total: ':'Total: $'} you can use multiple replace statements, so I think to get the "USD" at the end, you'd have to find out the name of the order_total variable and add USD using code similar to above. i'm wondering if another way would be to disable the order confirmation email (would apply to all orders though), but send a welcome email instead (which you can either create new or edit an existing one) - that might give you a little more control over the layout. 0 Quote Link to comment Share on other sites More sharing options...
pat_ads Posted August 1, 2013 Author Share Posted August 1, 2013 Thanks. Maybe I should report it as a bug. Same thing happens when WHMCS sends a New Order Notification. We bill for per transaction gateway fees, and when a customer has 1500 transactions, that email to the customer and to me gets LOOOONG. 0 Quote Link to comment Share on other sites More sharing options...
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.