Jump to content

If page template is


webton

Recommended Posts

Hello, this is my first post nice to be here.

 

My question is related to implementing Conversion codes for Google, Facebook,etc. I know the I can place it in orderform templates where it says

 

{if $ispaid}
<!-- Enter any HTML code which needs to be displayed once a user has completed the checkout of their order here - for example conversion tracking and affiliate tracking scripts -->
{/if}

 

However as far as I know and faced that for each update of WHMCS the code is removed so I have to re-add it manually. I've checked the forum if anybody has asked such question before and even Google but no luck.

 

I'm trying to add the code into footer.tpl file however with certain conditions the apply.

 

My target is to implement it when page template is complete.tpl and marked $ispaid.

 

Something like this

 

{if $pagetemplate == 'complete.tpl' && $ispaid }
<!-- Enter any HTML code which needs to be displayed once a user has completed the checkout of their order here - for example conversion tracking and affiliate tracking scripts -->
{/if}

 

Is that possible and how? Thank you in advanced!

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