consc198 Posted January 29, 2012 Share Posted January 29, 2012 Hello everyone, I am trying to use the conditional display to send different text depending on when a support ticket has been opened, here is what i am trying to achieve - is this correct? ---------- Dear {$client_name}, {if $ticket_Department eq "Sales Department" and $ticket_date_opened greaterthan 17:00 or lessthan 9:00} Thank you for contacting our Sales Department. A sales ticket has now been opened for your request. Please note that our Sales Department is open from 9am GMT until 5pm GMT daily (incl. weekends and holidays). You will be notified when a response is m ade by email. The details of your ticket are shown below. Subject: {$ticket_subject} Priority: {$ticket_priority} Status: {$ticket_status} You can view the ticket at any time at {$ticket_link} {$signature} {if $ticket_Department eq "Billing Department" and $ticket_date_opened greaterthan 17:00 or lessthan 9:00} Thank you for contacting our Billing Department. A billing ticket has now been opened for your request. Please note that our Billing Department is open from 9am GMT until 5pm GMT daily (incl. weekends and holidays). You will be notified when a response is m ade by email. The details of your ticket are shown below. Subject: {$ticket_subject} Priority: {$ticket_priority} Status: {$ticket_status} You can view the ticket at any time at {$ticket_link} {$signature} {if $ticket_Department eq "Support Department" and $ticket_date_opened greaterthan 21:00 or lessthan 5:00} Thank you for contacting our Support Department. A support ticket has now been opened for your request. Please note that our Support Department is open from 5am GMT until 9pm GMT daily (incl. weekends and holidays). You will be notified when a response is m ade by email. The details of your ticket are shown below. Subject: {$ticket_subject} Priority: {$ticket_priority} Status: {$ticket_status} You can view the ticket at any time at {$ticket_link} {$signature} {else} Thank you for contacting our support team. A support ticket has now been opened for your request. You will be notified when a response is made by email. The details of your ticket are shown below. Subject: {$ticket_subject} Priority: {$ticket_priority} Status: {$ticket_status} You can view the ticket at any time at {$ticket_link} {$signature} {/if} 0 Quote Link to comment Share on other sites More sharing options...
Sitepearl Posted January 31, 2012 Share Posted January 31, 2012 Have you tried testing it? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.