Integrating iDevAffiliate with FoxyCart is simple. Here's a quick rundown:
Pretty much identical to v4.x below.
-
Login to your iDevAffiliate manager and click on the Cart Integration link.
It doesn't matter what you call your variable names. All that matters is that you put in the right placeholders later, so just call your variable names something descriptive like order_total and order_id.
iDev will generate some code that should look something like this:
<img border="0" src="https://www.YOURDOMAIN.com/idevaffiliate/sale.php?totalminusshipping=XXX&orderid=XXX" width="1" height="1">
NOTE: We haven't yet figured out a way to use our caching system to cache iDev's sale.php, so you'll need to call it https for the time being. We're working on this.
-
Create a separate receipt template in your FoxyCart admin. Include your modified code at the bottom of your template.