Home Integration Methods CRE Loaded

CRE Loaded

Integration with CRE Loaded is made by placing sale tracking script into the confirmation page. To obtain the values of OrderID and TotalSale, snippet connects to CRE Loaded database and retrieves the values from there.
1
Locate file checkout_success.php
Find and open file: checkout_success.php
2
Find correct place for integration in file
Inside file checkout_success.php find these lines: // load all enabled checkout success modules require(DIR_WS_CLASSES . 'checkout_success.php');
3
Insert code
Before these lines insert this code:
4
Locate template
Find and open file: /templates/content/checkout_success.tpl.php
5
Find correct place for integration
In this file find:
6
After this line insert this code:
7
You are ready
Your CRE Loaded shopping cart is integrated now. Every time customer enters the order confirmation page the tracking code is called and it will register a sale for referring affiliate. Note: Tested on CRE Loaded 6.2 Pro B2B 6.2.06