Jump to content

Familiar with Post Affiliate Pro Add in API? Where to place a small script?


Recommended Posts

I use Post affiliate pro on my opencart system, I am switching to prestashop. Post affiliate pro has a custom API plug in that allows for a script to be placed to show the affiliate name on the site.

"affiliate name on external page" plug n. 

Here is my issue - it was very easy with opencart to locate where to place the script.. (the header) however I am running into trouble trying to figure out where I can place the code in prestashop.

 

I placed in the header file - but it doesnt work. 

Its a simple script:

<span id="papXXXXXX"></span>

_PATH_TO_YOUR_PAP_/plugins/AffiliateInfo/affiliateinfo.php?param=XXXXXX" type="text/javascript">
</script> 

 

But even PAP support cant advise me where to put it (which is sad really)

 

Anyone have ANY clue on where to point me to place this code?

I am using the default bootstrap theme.

 

(I need it to be placed right under the Logo at the top OR above the search box at the top of the bootstrap theme

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...