Jump to content

Creating a personalized email with order details


Recommended Posts

I'm trying to manipulate the order details in the email template, because for some reason in whmcs it comes as a string instead of an array. I want to create a custom list and somehow with smart I needed to break this up as an array or have some other way of getting this data. Remembering that in version 9 of whmcs, smart 3 was replaced by 4, which is not supported by smartBC, which has some php functions, or you need to manipulate this purely with smart. It seems like an impossible mission to me. If anyone has an idea it would be very welcome. See attached how the string comes and how I want to arrange the block.

String:

Qrap84j.png

how i want to display:

LlbklH9.png

Link to comment
Share on other sites

  • 3 weeks later...

You need to modify the Email template from

Setup->System Settings->Email Templates


here choose which product/service template you want to modify. 
then modify it in code mode because you need to define the HTML format


Product/Service information variables are available at the bottom which you can use.

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