Jump to content

Can I create unique invoice due email?


jaatendi

Recommended Posts

I have a variety of products I bill for, but most of the time I send a customer an invoice for a website design, and then I send them an annual invoice for hosting. I would like to add more information in the annual invoice which explains what the invoice is for. Something like, "this is the annual invoice for your hositng account, which includes the following features, etc". I am looking in the email templates, but don't see how I could make different email templates for different situations. Please advise.

Link to comment
Share on other sites

  • 2 weeks later...

Ok, so the condition I want to use is based on which product the invoice is for. How could I modify the example below to display a message if the invoice is for a product called "Enhanced Hosting Package"?

 

{if $ticket_department eq "Sales"}The sales department is open 9-5pm Monday-Friday so you

will only receive a response between these times. We thank you for your patience.{/if}

Link to comment
Share on other sites

  • 2 weeks later...

Would that also work if we did something like this:

 

{if $service_product_name eq "Enhanced Hosting Package"}

text version 1

{elseif $service_product_name eq "Performance Hosting Package"}

text version 2

{elseif $service_product_name eq "Maximum Hosting Package"}

text version 3

{/if}

 

Or, is this where a working sample of the Looping through Data option should be used :-)

 

Looping through data

A foreach loop can be used to cycle through values like invoice items:

 

{foreach from=$array_data item=data}

{$data.option}: {$data.value}

{/foreach}

 

I'd love to see a full working sample of the looping if that is what we need to use here.

 

Surely someone has a working sample?

Thanks in advance!

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated