Jump to content

Display content on template page based on configuration selected


Businezz

Recommended Posts

Heyy,

I am trying to display information in a custom template in WHMCS client area based on configuration chosen during checkout.

E.g. Client is choosing Configuration dropdown named "Car" - I would like to display Content A in client area based on that option.

If Client is choosing Configuration "Bus" - I would like to display Content B in client area.

I tried everything so far and no luck at all. I figured it out how to display this in the emails that are sent after order.

{foreach from=$service_config_options item=configoption}{if $configoption.option eq "Transportation"}{if $configoption.value eq "Car"}...do something here...{/if}{/if}{/foreach} 

But i can't get it working in the client area.

TIA

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