Jump to content

Edit Order Confirmation email


Mike101za

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

 

 

Link to comment
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.)

Link to comment
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

 

Link to comment
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.

Link to comment
Share on other sites

  • 1 year later...

In admin, Email Templates, click the flag of the desired language for the Cart: Order Confirmed email type. On the next page, view the HTML Content tab.

Initially, you will see a "rich-text" editor with a number of small blue squares. The blue squares are placeholders for dynamic, order-specific data.

If what you wish to change involves dynamic data, it is best to switch the editor to Source mode (top left button on toolbars).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...