Jump to content

prowebkin

Member
  • Posts

    9
  • Joined

  • Last visited

Everything posted by prowebkin

  1. I have 2 groups of products. I want to show Thank you page without payment for first group and forward to payment gateway for another. Is there any solution for this? http://dl2.joxi.net/drive/0001/0827/99131/151106/46389cd74b.png
  2. Thanks for help brian! Finally support answered that EmailPreSend doesn't work with admin emails (they changed hook description in docs also), so unfortunately I can't do what I want using this hook.
  3. Ok. I created file my_hook.php inside includes/hook folder. I put such code inside this file (code from devdocs): function my_hook_for_custom_field ( $vars ) { $merge_fields = array(); $merge_fields['my_custom_var'] = "My Custom Var"; $merge_fields['my_custom_var2'] = "My Custom Var2"; return $merge_fields; } add_hook( 'EmailPreSend', 1, 'my_hook_for_custom_field' ); and put {$my_custom_var} inside email template. And still can't see value. Where is an error?
  4. Support answered that not all fields available for this template and if I need my field there, I have to use hook http://docs.whmcs.com/Hooks:EmailPreSend but I can't figure how can I reach value of current client custom field (or even current client ID) inside this hook?
  5. Thanks, but no luck. with this code email not sending at all. Tried to change variable to $client_custom_fields and use it with and without foreach and still not working.
  6. I can't get hold of this. I inserted tag {$client_custom_field_myfield} into email template, but no value in email. And this solution works in client Order Confirmation email with the same tag. So how can I reach value of client custom field in admin New Order Notification template.?
  7. Thank you for your quick answer. I will try to implement custom solution.
  8. I want people to be able to upload a file when placing an order and then get it on my admin email. Is there any solution for this? I know solution with support tickets, but interesting in direct uploading.
×
×
  • 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