Home
Integration Methods
Mal's e-commerce
Please follow these steps to integrate with Mal's e-commerce:
0
Create a file with special function
First of all, you will need to create a file with special function as there is not enough space for the function in the interface of Mall's shop. Create an empty file gup.js and insert this code into it:
Now save the file, and upload it to PAP4 directory into scripts/ directory on your FTP.
1
Login
Log in to your Mal's administration and navigate to Cart setup> Customize> Premium Customize. Insert this code to the "Footer" text fields:
Now navigate to Cart setup> Customize> Header, font and alignment and insert this code to the "Header message":
<script id="pap_x2s6df8d" src="http://www.yoursite.com/affiliate/scripts/clickjs.php" type="text/javascript">
</script>
<script src="http://www.yoursite.com/affiliate/scripts/gup.js" type="text/javascript">
</script>
2
Integration
Navigate to the Cart setup> Customize> "Other messages and general settings" section. There is "Exit messages" section at the bottom of this page, which contains Secure and Unsecure payments text areas.
Add following code to both of these fields:
3
Important notice
Now, if you want to track the sales, you will need to add some special code to the links of buttons. The button link have to have id="affCookie123" in code.
If there is also click tracking code at the site with buttons then you have to insert "writeCookieToLink" code below the click tracking code.
Thats it... It is now integrated.