–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.


An all-in-one shopping cart solution.

This integration method integrates Post Affiliate Pro with Gambio online shop solution (v 2.5 and higher).

You can track subtotal, order ID and currency. It also supports Lifetime Commissions.

Edit controller file

In your FTP, find and edit file ‘system/classes/checkout/CheckoutSuccessContentControl.inc.php’

Try to find the text saying:

select orders_id, orders_status, payment_method from

and add ‘, currency‘ after ‘payment_method‘.

Now, the last step is to find the line:

$coo_checkout_success_content_view->set_content_data('extender_html_array', $coo_checkout_success_extender_component->get_html_output_array());

Add the following sale tracking code above that line:

/* Post Affiliate Pro integration snippet */
$papOrderTotals = xtc_db_query("select value from ".TABLE_ORDERS_TOTAL." where orders_id = '".$last_order."'");
$papOrders = xtc_db_fetch_array($papOrderTotals);

$papTrackingCode = '<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
     <script type="text/javascript">
     var sale = PostAffTracker.createSale();'."
$coo_checkout_success_content_view->set_content_data('papTrackingCode', $papTrackingCode);
/* /Post Affiliate Pro integration snippet */

Save your changes and continue to the next step.

Edit template

Login to your FTP and open the file templates/YOUR_THEME/module/checkout_success.html for edit. Add the following code to the end of the file:

<!-- Post Affiliate Pro integration snippet -->
<!-- /Post Affiliate Pro integration snippet -->

Save your change. Navigate to the admin panel Toolbox> Cache and empty the Output cache with button for: ‘Empty page output cache’

That’s it, you are done!

Do not forget to integrate your shopping cart with the click tracking code as well. You can do it in you admin – Shop settings> SEO> Tracking codes.

Back to Integrations Create account for FREE

Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privacy and cookies policy.


Schedule a one-on-one call and discover how Post Affiliate Pro can benefit your business.

We’re available on multiple dates

Schedule a call