Mambo-phpShop

E-commerce Open-source Integration AffiliateTracking

Mambo-phpShop integration

Integration with mambo-phpShop is made by placing sale tracking script into the order confirmation page.

Edit template

Open and edit the temlate file that displays order confirmation page. It is the file:

/mambo/administrator/components/com_phpshop/classes/ps_checkout.php

Locate integration place

Find the following code which should already exist in the file:

if (AFFILIATE_ENABLE == '1') { $ps_affiliate->register_sale($order_id); }

Integration

Copy/Paste the following code into the file, under the code found above:

print '<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>'."
<script type=\"text/javascript\">
PostAffTracker.setAccountId('Account_ID');var sale = PostAffTracker.createSale();
sale.setTotalCost('$order_subtotal');
sale.setOrderID('$order_id');


PostAffTracker.register();
</script>";

Finished

It is now integrated. Every time customer enters the order confirmation page the tracking code is called and it will register a sale for referring affiliate.

Frequently asked questions

Try Post Affiliate Pro for Free

Experience seamless integration with Mambo-phpShop and boost your affiliate sales with Post Affiliate Pro. Start your free trial today!

Learn more

Mambo-ChargePlus
Mambo-ChargePlus

Mambo-ChargePlus

Learn how to integrate Mambo-ChargePlus with Post Affiliate Pro for seamless ecommerce tracking, customizable dashboards, and robust affiliate marketing support...

3 min read
E-commerce Plugin +3
PrestaShop
PrestaShop

PrestaShop

Would you like to improve your affiliate software even more? Check out the Presta Shop integration for Post Affiliate Pro.

5 min read
PrestaShop Integration +3
Summer Cart
Summer Cart

Summer Cart

Would you like to improve your affiliate software even more? Check out the Summer Cart integration for Post Affiliate Pro.

7 min read
E-commerce Integration +3

You will be in Good Hands!

Join our community of happy clients and provide excellent customer support with Post Affiliate Pro.

Capterra
G2 Crowd
GetApp
Post Affiliate Pro Dashboard - Campaign Manager Interface