Author Topic: Help implementing code string on order finish page!  (Read 946 times)

MacAcer

  • Beginner
  • *
  • Posts: 34
Help implementing code string on order finish page!
« on: September 18, 2012, 12:57:20 pm »
Hello I need help to implement a string of code which I am required to have in order for a business partner to be able to measure how many of their visitors that end up purchasing something on our stor.
I have the instructions, and it doesn't seem to be too complicated but in order to achieve it I need to know which file to edit and what dynamic arguments that are used for virtuemart orderID, amount (excluding shipping and VAT) and coupon code.

I have listed the instructions provided below and hope that some enlightened soul can guide me. I am using an older version of Virtumart - VM 1.1.4 on Joomla 1.5.26.


This is the code that apply to your store:
<img src="http://www. businesspartnerdomain.com/Confirm.aspx?shopID=76&orderID=333&amount=444&code=XXX" width="1" height="1">

The first argument of the code string 'shopID' is static and is your store number 76 in business partner store. The other three arguments must be linked dynamically and should be filled with data from your checkout page / confirmation page.

This argument is static:
shopID: Your Store number 76 in business partner store.
 
The following three arguments to be dynamic:
OrderID: Order number for the current purchase. In the code string template change '333 'to the purchase order number.
 
Amount: Amount of purchased goods EXCLUDING VAT integer. No decimal separators are allowed. Shipping and / or billing costs should not be included. Only the sum of the purchased goods. This amount is calculated as commission. In the code string template '444 'is replaced with the amount output.
 
Code: Stated discount code. In the code string replacing 'XXX' to show the discount code that been used for the purchase.