Jump to content
Sign in to follow this  
Mike101za

Edit Order Confirmation email

Recommended Posts

Hi,

 

I would like to add the banking detail to the first order confirmation email the user gets once they have placed their order.

This will allow them to have the detail when making electronic payments.

I have the module installed to print the invoice that has this detail, however people do not read properly.

Is this possible.

Thank you

Mike

 

 

Share this post


Link to post
Share on other sites

If you are using the Print_Order_Form module, then that module can send its own email, and since the order stays at Pending (unless you have hacked it to do something different), the email won't be duplicated.

The module uses the 'cart.order_confirmation' template (Cart: Order Confirmed), which we can change just a bit.

Just before the email template gets populated, the printable form gets sent to the customer (which you say they don't read).

There is a Smarty variable $BANK that flags whether to include the bank transfer information on that form.

We will add it to the Order Confirmed template.

Examine the file /modules/gateway/Print_Order_Form/skin/print.tpl near line 114. Copy that group of statements into the template (use HTML editor Source mode). Also, add the non-HTML stuff to the Plain Text version.

(A question remains: after Smarty delivers the printable form, did all the variables assigned to it get dumped? If so, this may not work. If it doesn't, it's an easy fix.)

Share this post


Link to post
Share on other sites

Hi,

Yes, I am using the Print_Order_Form module.

All that happens is the invoice appears on screen after the order is placed and the client has a choice to either close or print. They do not print it.

Although the "Send Order confirmation email is ticked" the email is not sent. Instead the client gets the standard confirmation email from Cubecart which does not contain the banking detail.

 

Thank you

Mike

 

Share this post


Link to post
Share on other sites

The module uses the 'cart.order_confirmation' template (Cart: Order Confirmed), which we can change just a bit.

Examine the file /modules/gateway/Print_Order_Form/skin/print.tpl near line 114. Copy that group of statements into the template (use HTML editor Source mode). Also, add the non-HTML stuff to the Plain Text version.

If, after having saved the changes to the email template, the banking info does not appear, it is an easy fix.

Share this post


Link to post
Share on other sites

Thank you Bsmither,

 

It has worked like a charm, as it always does.

Much appreciated.

Mike

Share this post


Link to post
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
Sign in to follow this  

×