Jump to content

<head> code in cart's complete.tpl


chrismfz

Recommended Posts

How can I add a specific code in <head> ... </head>

but only in complete.tpl ?

 

It's a code like Google's Conversion tracker, but it also needs something in <head>.

 

 

I am working with modern cart, and I need to add code in <head>.

 

Can I somehow add it in theme's <head> (header.tpl) with an {if} to show it only under a specific page ?

For my example the complete.tpl of the cart template.

 

Is there such a possibility ?

Link to comment
Share on other sites

it's possible to add the tracking code inside your order template directly open /templates/orderforms/modern/complete.tpl

 

and you can find this part inside it

{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}

 

the same available in all order templates

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