GSL Posted January 17, 2015 Share Posted January 17, 2015 (edited) Maybe anyone can help me with this question; I realy think I'm on the wrong track here. I added the e-mailtemplate 'order_conf' to the status 'payment accepted' in statusses and turned off the automatic generation of the order_conf in classes/PaymentModule.php. This because of the payment module. The order_conf is send when the the payment is accepted (auto or manual) but not all the variables are filled in on the confirmation e-mail. Only the variables {} are showed except for firstname, lastname, shopname, orderid and totalpaid, I tried to add the other variables in the classes/oder/OrderHistory.php as a read on the forum. I got the payment method right and this one works. I can't figure out how to do make the other variables work; {date}{products}{discounts}{total_products}{total_discounts}{total_shipping}{total_tax_paid}{delivery_block_html}{invoice_block_html} There must be another way than programming, is there an easy fix? Please help! Edited January 17, 2015 by GSL (see edit history) Link to comment Share on other sites More sharing options...
GSL Posted January 18, 2015 Author Share Posted January 18, 2015 After a few weeks of trying I gave up and changed to an other payment provider. The changes above are now irrelevant and that's why I will mark this one as solved. Link to comment Share on other sites More sharing options...
JumBix Posted February 11, 2015 Share Posted February 11, 2015 (edited) In order_conf.tpl i also want to add a new variabile [user company]. i want to have something like that: example: <h2>Order details: {company} </h2> i did try this example but is not working ... can someone help me ? i also tried {$SMARTY.POST.COMPANY} .... not working someone know ? Edited February 13, 2015 by JumBix (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now