[Skip to main content](#vessel-content)

#   Putting tracking cookies into the comfirmaion page

##

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 5 months ago [\#15949](#15949) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  *[Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#15949 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")* was created by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")*

I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:

&lt;!-- Getprice.com.au sales tracking system --&gt;
&lt;img height="1" width="1" border="0"src="[ secure.getprice.com.au/affsale.asp?shopi...3&amp;price=400&amp;sid=1981](https://secure.getprice.com.au/affsale.asp?shopid=1403&price=400&sid=1981)"&gt;
&lt;!-- End Getprice.com.au --&gt;

with the following notes

In red is your shop id number in our system (1403)
In green [400] is the price of the product (this should be entered by your system dynamically for each product)
In orange [1981]is the sale id in your system (this should be entered by your system)

I have read the posts on intergrating third party tracking and discovered where to put it, display/views/***_end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.

My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 5 months ago [\#16001](#16001) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16001 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

You will have to load the order information like that:

$orderClass = hikashop::get('class.order');
$order = $orderClass-&gt;loadFullOrder($order_id);

The total will be in : $order-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax
The order number will be in: $order-&gt;order_number

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 5 months ago [\#16052](#16052) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  Replied by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16052 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

So would the following be OK:

&lt;!-- Getprice.com.au sales tracking system --&gt;
&lt;img height="1" width="1" border="0"src="[ secure.getprice.com.au/affsale.asp?shopid=1403&amp;$orderClass](https://secure.getprice.com.au/affsale.asp?shopid=1403&$orderClass) = hikashop::get('class.order');
$order = $orderClass-&gt;loadFullOrder($order_id);price=$order-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax&amp;sid=$order-&gt;order_number"&gt;
&lt;!-- End Getprice.com.au --&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 5 months ago [\#16058](#16058) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16058 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

No no, you can't add PHP code in the middle of HTML code...

You need to have something like that:

&lt;?php
$orderClass = hikashop::get('class.order');
$order = $orderClass-&gt;loadFullOrder($order_id);
?&gt;
&lt;!-- Getprice.com.au sales tracking system --&gt;
&lt;img height="1" width="1" border="0"src="secure.getprice.com.au/affsale.asp?shopid=1403&amp;price=&lt;?php echo $order-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax; ?&gt;&amp;sid=&lt;?php echo $order-&gt;order_number; ?&gt;"&gt;
&lt;!-- End Getprice.com.au --&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 5 months ago [\#16117](#16117) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  Replied by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16117 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

I have put the code you suggested in at the end of my checkout/end.php file as shown in the first screen shot in the attached file. I was using the / banktransfer_end.php but it didn't show up in the source code view of the thank you page so I reread a post pointing me to the end.php file.
However I when I do a purchase using check as a payment I am brought to a page shown in the second screen shot in the attached file.
The source code is shown in the 3rd screen shot in the attached file.

####  *This attachment is hidden for guests.
Please log in or register to see it.*

It seems to mess up the check out process.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 5 months ago [\#16126](#16126) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16126 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

It's normal that it doesn't work. You shouldn't put the first &lt;?php if you're putting the code just after PHP code. Only if you put it after HTML do you need it.

$order_id has to come from somewhere... You can't just use it within retrieving it...
You can retrieve the $order_id like below BEFORE loading the order information:

$app =&amp; JFactory::getApplication();
$order_id = $app-&gt;getUserState('com_hikashop.order_id');

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 5 months ago [\#16199](#16199) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  Replied by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16199 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

Yes my igorance is showing, but I changed my checkout / end.php file to shown at end of post to include the retrieve instruction you gave me. I am getting the following in the thank you page source codes

&lt;br/&gt;&lt;br/&gt;Do not forget to include the order number ( Y21 ) in the comments of the bank transfer so that we can match it to your order.&lt;br/&gt;Thank you for your purchase. &lt;/span&gt;
&lt;/div&gt;&lt;!-- Getprice.com.au sales tracking system --&gt;
&lt;img height="1" width="1" border="0"src="/secure.getprice.com.au/affsale.asp?shopid=1403&amp;price=&amp;sid=Y21"&gt;
&lt;!-- End Getprice.com.au --&gt;&lt;/div&gt;
&lt;div class="clear_both"&gt;&lt;/div&gt;

Order id is working, now what do I put in to retrieve the price?

Entire code of display/views/checkout / end.php page:-

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 1.4.7
* @author hikashop.com
* @copyright (C) 2010 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/

$app =&amp; JFactory::getApplication();
$order_id = $app-&gt;getUserState('com_hikashop.order_id');

defined('_JEXEC') or die('Restricted access');
?&gt;
&lt;?php
if(empty($this-&gt;html)){
echo JText::_('THANK_YOU_FOR_PURCHASE');
}else{
echo $this-&gt;html;
}

$orderClass = hikashop::get('class.order');
$order = $orderClass-&gt;loadFullOrder($order_id);
?&gt;
&lt;!-- Getprice.com.au sales tracking system --&gt;
&lt;img height="1" width="1" border="0"src="secure.getprice.com.au/affsale.asp?shopid=1403&amp;price=&lt;?php echo $order-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax; ?&gt;&amp;sid=&lt;?php echo $order-&gt;order_number; ?&gt;"&gt;
&lt;!-- End Getprice.com.au --&gt;

Thank you for your assistance and patience.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 5 months ago [\#16206](#16206) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16206 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

You should change the code:
$order-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax;
by:
$order-&gt;order_full_price;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 5 months ago -  15 years 5 months ago [\#16275](#16275) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  Replied by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16275 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

Success! I think I am getting the idea. thank you very much. I have applied the same code to my shopping with success.
Im just trying to get the code for shopping.com. They use a java script as follows, I have modified as much as I know how to:

&lt;script language="JavaScript"&gt;
var merchant_id = '467918'
var order_id =&lt;?php echo $order-&gt;order_number; ?&gt;
var order_amt =&lt;?php echo $order-&gt;order_full_price; ?&gt;
var category_id = 'PUT_YOUR_DATA_HERE'
var category_name = 'PUT_YOUR_DATA_HERE'
var product_id = 'PUT_YOUR_DATA_HERE'
var product_name = 'PUT_YOUR_DATA_HERE'
&lt;/script&gt;
&lt;script language="JavaScript" src="[ stat.DealTime.com/ROI/ROI.js?mid=467918](https://stat.DealTime.com/ROI/ROI.js?mid=467918)"&gt;&lt;/script&gt;

I don't know what catagory and products etc are called in your system. What do I put in the 'PUT_YOUR_DATA_HERE' spots?

I have put the above code without the lines with 'PUT_YOUR_DATA_HERE' and it is showing up in the final page source code, so far so good.

Thank you for your help.

Last edit: 15 years 5 months ago by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 5 months ago [\#16286](#16286) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16286 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

What happens when you have several products in the cart ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 5 months ago [\#16354](#16354) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  Replied by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16354 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

test ordered differant products and a differant number of each using bank dep with the following result show in the source code of the final page:

Once we receive it, we will confirm your order.&lt;br/&gt;Do not forget to include the order number ( B2F8 ) at the back of the check so that we can match it to your order.&lt;br/&gt;Thank you for your purchase. &lt;/span&gt;
&lt;/div&gt;&lt;!-- Getprice.com.au sales tracking system --&gt;
&lt;img height="1" width="1" border="0"src="/secure.getprice.com.au/affsale.asp?shopid=1403&amp;price=356.40000&amp;sid=B2F8"&gt;
&lt;!-- End Getprice.com.au --&gt;

&lt;!--MyShopping.com.au Code for Purchase Conversion Page --&gt;

&lt;img height=0 width=0 src="[ www.myshopping.com.au/sale.asp?mid=470&amp;a...356.40000&amp;order=B2F8](http://www.myshopping.com.au/sale.asp?mid=470&amount=356.40000&order=B2F8)"&gt;

&lt;!-- End MyShopping.com.au --&gt;

&lt;script language="JavaScript"&gt;
var merchant_id = '467918'
var order_id =B2F8var order_amt =356.40000&lt;/script&gt;
&lt;script language="JavaScript" src="[ stat.DealTime.com/ROI/ROI.js?mid=467918](https://stat.DealTime.com/ROI/ROI.js?mid=467918)"&gt;&lt;/script&gt;&lt;/div&gt;
&lt;div class="clear_both"&gt;&lt;/div&gt;
&lt;!-- HikaShop Component powered by [ www.hikashop.com](http://www.hikashop.com) --&gt;
&lt;!-- version Starter : 1.4.7 --&gt;
&lt;div class="ortason"&gt;
&lt;div class="bannergroup"&gt;

&lt;/div&gt;

It's returning the cart total amount and order No. OK.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 5 months ago [\#16355](#16355) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16355 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

No that's no what I mean. You want to fill that:
var category_id = 'PUT_YOUR_DATA_HERE'
var category_name = 'PUT_YOUR_DATA_HERE'
var product_id = 'PUT_YOUR_DATA_HERE'
var product_name = 'PUT_YOUR_DATA_HERE'

But that's not possible once a customer has more than 1 product in his cart. So there is no solution if you allow your users to buy more than 1 product at once since your javascript doesn't allow more than 1 product information to be entered...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 5 months ago -  15 years 5 months ago [\#16356](#16356) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  Replied by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16356 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

Thank you for your prompt reply.
OK so it is not possible to use their script beyond what I have done because obviously we would not want to limt the customer to only one product in his cart. I still will be able to track which comparison site campain give me the best results so that should be enough.

I just did a test on the paypal payment and found that the page source I was returned to from paypal did not have the traking code on it. I noticed it returned me to a https:// address. I don't know if this has any bearing on anything.

Thanks for the help.

Last edit: 15 years 5 months ago by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 5 months ago [\#16357](#16357) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  Replied by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16357 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

I found I needed to put the code in after_end.php making it appear, however it will not return the order no or price as follows:

&lt;/div&gt;
&lt;!-- Getprice.com.au sales tracking system --&gt;
&lt;img height="1" width="1" border="0"src="/secure.getprice.com.au/affsale.asp?shopid=1403&amp;price=&amp;sid="&gt;
&lt;!-- End Getprice.com.au --&gt;

&lt;!--MyShopping.com.au Code for Purchase Conversion Page --&gt;

&lt;img height=0 width=0 src="[ www.myshopping.com.au/sale.asp?mid=470&amp;amount=&amp;order=](http://www.myshopping.com.au/sale.asp?mid=470&amount=&order=)"&gt;

&lt;!-- End MyShopping.com.au --&gt;

&lt;script language="JavaScript"&gt;
var merchant_id = '467918'
var order_id =var order_amt =&lt;/script&gt;
&lt;script language="JavaScript" src="[ stat.DealTime.com/ROI/ROI.js?mid=467918](https://stat.DealTime.com/ROI/ROI.js?mid=467918)"&gt;&lt;/script&gt;&lt;!-- HikaShop Component powered by [ www.hikashop.com](http://www.hikashop.com) --&gt;
&lt;!-- version Starter : 1.4.7 --&gt;
&lt;div class="ortason"&gt;
&lt;div class="bannergroup"&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 5 months ago [\#16359](#16359) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16359 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

When you use an online payment method, you indeed need to put the code in after_end. But you can't use:
$app =&amp; JFactory::getApplication();
$order_id = $app-&gt;getUserState('com_hikashop.order_id');

and need to use instead:
$order_id = JRequest::getInt('order_id');

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 5 months ago [\#16400](#16400) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  Replied by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#16400 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

All good. It's all working now.

Thank you again

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 5 months ago [\#17357](#17357) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  Replied by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#17357 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

As I continue to test my paypal payment I find that after doing a test purchase I am returned from Paypal to:

[ alnaturalhealth.com/index.php?tx=9C19864...h&amp;form\_charset=UTF-8](https://alnaturalhealth.com/index.php?tx=9C198648PN3538830&st=Completed&amt=0.01&cc=AUD&cm=&item_number=&option=com_hikashop&ctrl=checkout&task=after_end&order_id=46&merchant_return_link=Return+to+Alnatural+Health&form_charset=UTF-8)

Which is showing a blank page.

This is my after_end.php file:

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 1.4.7
* @author hikashop.com
* @copyright (C) 2010 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/

$order_id = JRequest::getInt('order_id');

defined('_JEXEC') or die('Restricted access');

?&gt;
&lt;?php
if(empty($this-&gt;html)){
echo JText::_('THANK_YOU_FOR_PURCHASE'. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at [ www.paypal.com/au](http://www.paypal.com/au) to view details of this transaction. );
}else{
echo $this-&gt;html;
}

$orderClass = hikashop::get('class.order');
$order = $orderClass-&gt;loadFullOrder($order_id);
?&gt;

&lt;!-- Getprice.com.au sales tracking system --&gt;
&lt;img height="1" width="1" border="0"src="secure.getprice.com.au/affsale.asp?shopid=1403&amp;price=&lt;?php echo $order-&gt;order_full_price; ?&gt;&amp;sid=&lt;?php echo $order-&gt;order_number; ?&gt;"&gt;
&lt;!-- End Getprice.com.au --&gt;

&lt;!--MyShopping.com.au Code for Purchase Conversion Page --&gt;

&lt;img height=0 width=0 src="[ www.myshopping.com.au/sale.asp?mid=470&amp;amount=](http://www.myshopping.com.au/sale.asp?mid=470&amount=)&lt;?php echo $order-&gt;order_full_price; ?&gt;&amp;order=&lt;?php echo $order-&gt;order_number; ?&gt;"&gt;

&lt;!-- End MyShopping.com.au --&gt;

&lt;script language="JavaScript"&gt;
var merchant_id = '467918'
var order_id =&lt;?php echo $order-&gt;order_number; ?&gt;
var order_amt =&lt;?php echo $order-&gt;order_full_price; ?&gt;
&lt;/script&gt;
&lt;script language="JavaScript" src="[ stat.DealTime.com/ROI/ROI.js?mid=467918](https://stat.DealTime.com/ROI/ROI.js?mid=467918)"&gt;&lt;/script&gt;

If someone can tell me where I am going astray it would be greatly appreciated.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 5 months ago [\#17358](#17358) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#17358 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

It displays a blank page because you have an error in your code.If you activate the display_errors option of your php.ini you will see what is the error.

I see that you don't have quotes for your message:
echo JText::_('THANK_YOU_FOR_PURCHASE'. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at [ www.paypal.com/au](http://www.paypal.com/au) to view details of this transaction. );

It should be:
echo JText::_('THANK_YOU_FOR_PURCHASE'). ' Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at [ www.paypal.com/au](http://www.paypal.com/au) to view details of this transaction.';

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")**
- [![ecomian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2439-ecomian "View ecomian's Profile") Topic Author
- [ Offline](/forum/user/2439-ecomian)

Less More

- Posts: 63
- Thank you received: 0
-
-

15 years 4 months ago [\#17401](#17401) by [ecomian](/forum/user/2439-ecomian "View ecomian's Profile")  Replied by *[ecomian](/forum/user/2439-ecomian "View ecomian's Profile")* on topic *[Re: Putting tracking cookies into the comfirmaion page](/forum/4-how-to/15949-putting-tracking-cookies-into-the-comfirmaion-page#17401 "I am not a programer (that is why I am using CMS) but I can figure some things out by logicaly examining some things. I have code from Get Price Shopping comparison site as follows:      with the following notes  In red is your shop id number in our system (1403) In green &#91;400&#93; is the price of the product (this should be entered by your system dynamically for each product) In orange &#91;1981&#93;is the sale id in your system (this should be entered by your system)  I have read the posts on intergrating third party tracking and discovered where to put it, display/views/&#42;&#42;&#42;&#95;end. I figured out that files in there such as cart.end or creditcard.end are what I am looking for.  My problem is that I don't know how to dynamically enter product price and how to get the system to enter the sale ID. What is the simplest way I can achieve this? Is there a plug in or somthing that wil do it for me that is not specific for a particular afilitate company or shopping comparison site? I use serveral comparision sites. My level of understanding is a bit below the above mentioned post.")*

OOPS I knew I must have missed something simple.

Thank you All fixed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1OTQ5LXB1dHRpbmctdHJhY2tpbmctY29va2llcy1pbnRvLXRoZS1jb21maXJtYWlvbi1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.491 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
