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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...