Jump to content
  • 0

Get product info varuiables in complete.tpl


DimaK

Question

Hello,
Please help, how to get product information variables in complete.tpl ?

Need for Google Analitycs tracking and for affiliate program code.

Now I only can get {$amount}  and maybe {$orderid}

but how to get:

Name of Product (hosting plan)
category
Product ID
Domain Name

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
44 minutes ago, DimaK said:

Now I only can get {$amount}  and maybe {$orderid}

but how to get:

Name of Product (hosting plan)
category
Product ID
Domain Name

if you have the orderid value, then you can use that to query the database, using a hook, to get the info you need - product ID and Domain you should be able to get from tblhosting; product name and category, you'd likely have to go through a number of db tables to get... and then either pass them back to the template, or output them via the hook (depending on which hook you choose).

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
Answer this question...

×   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