Jump to content

Variables {} order_conf and changing the status


GSL

Recommended Posts

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 by GSL (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...

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 by JumBix (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...