DimaK Posted August 29, 2018 Share Posted August 29, 2018 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 0 Quote Link to comment Share on other sites More sharing options...
0 brian! Posted August 29, 2018 Share Posted August 29, 2018 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). 0 Quote Link to comment Share on other sites More sharing options...
Question
DimaK
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.