Thank you for your purchase of Affiliate Pro by Cloud Alien Technologies, LLC. Affiliate Pro is based on Twitter Bootstrap 3.3.4 and follows bootstrap structure. Most of your questions regarding the style/look of Affiliate Pro can be answered by referring to the twitter boostrap documenation at https://getbootstrap.com/. Read below for information regarding Affiliate Installation, Integration, Features and Specifics.
Affiliate Pro requires the following in order to operate. If you don't have any of these contact your hosting provider and they can usually activate it on your account
Installation is very easy, just follow these steps and you'll be up and running on your server in no time! Installation is very simliar to most php/mysql applications. Upload, add database, and configure the config file.
That's it, you should be up and running!
To update Affiliate pro from V1.4 to V1.5 follow these steps
That's it, you should good to go!
To update Affiliate pro from V1.3 to V1.4 follow these steps
That's it, you should good to go!
To update Affiliate pro from V1.2 to V1.3 follow these steps
That's it, you should good to go!
Integration into current php websites is very simple to do. Integration instructions are also included when you login under "Integration and Settings"
include('affiliate-pro/controller/affiliate-tracking.php');
* File located in affiliate-pro/controller/affiliate-tracking by default.$sale_amount = '21.98';
$product = 'My Product Description';
include('affiliate-pro/controller/record-sale.php);
* File located in affiliate-pro/controller/record-sale by default$sale_amount = '21.98';
$product = 'My Product Description';
include('affiliate-pro/controller/ipn-record-sale.php);
To make a commission recurring add the two commission lines to your standard integration (step 2) from above
$sale_amount = '21.98';
$product = 'My Product Description';
$recurring = 'monthly'; //can be daily, weekly, biweekly, or monthly
$recurring_fee = '10'; //percentage of original sale
include('affiliate-pro/controller/record-sale.php);
Important: Recurring commissions requires you to setup the following cron job to work.
0 1 * * * /usr/bin/php -q /home/username/public_html/affiliate-pro/data/recurring.php
include('/home/myusername/public_html/affiliate-pro/auth/affiliate-tracking.php');<?php do_action( 'woocommerce_thankyou', $order->id );?>
After it add this:
<?php $sale_amount = $order->get_total();
$product = 'WC Order #: '.$order->id;
include('/home/myusername/public_html/affiliate-pro/auth/record-sale.php');?>
include('/home/myusername/public_html/affiliate-pro/auth/affiliate-tracking.php');if (isset($this->session->data['order_id'])) {
After it add this:
$cart_total = $this->cart->getTotal();
unset($this->session->data['shipping_method']);
Right before add this:
$sale_amount = $cart_total;
$product = 'OC Order #'.$this->session->data['order_id'];
include('/home/myusername/public_html/affiliate-pro/auth/record-sale.php');
include('/home/myusername/public_html/affiliate-pro/auth/affiliate-tracking.php');country'=> $order_data['shipping_country'] ));
Right after add this:
$sale_amount = $order_total;
$product = 'Order #'.$this->session->data['order_id'];
include('/home/myusername/public_html/affiliate-pro/auth/record-sale.php');
Allow users to send you qualified leads and let them earn for it. Use the example lead form demo_lead.php to generate leads. If you need additional fields you will need to modify the form of course and data/capture-lead.php
By default your first user is the demo account user. Username: demo Password: pass You can register your own users and make them an admin through the user management panel (located in the top right dropdown) by changing the select dropdown. Once your new user is ready, go ahead and delete the demo user if you want.
By default the language is set to English. You can use the selector in the top right corner to change languages as well. If you want to change the default language just open auth>startup.php and change line 34 to your two letter language code. If the language file doesn't exist yet, create your own easily by cloning lang>en.php and rename it with the new country code. Go through the file and make the necessary edits. If you wish to add it to the lanaguage selection dropdown for users simply go to assets>comp>top-nav.php and copy line 25. Paste it below and change en to the appropraite new language code you just created. It might sound like a lot, but really you can create another language for Affiliate Pro in just a couple minutes!
By default the currency is set to USD. You can use the selector in the top right corner to change currencies as well. If you want to change the default currency just open auth>db-connect.php and change line 23 to your currency code. If you wish to add currency selection dropdown for users simply go to assets>comp>top-nav.php and copy line 51. Paste it below and change en-US to the appropraite new currency code you just created.
We would like to say thanks to these great plugins that are used in Affiliate Pro. If we've missed anything, please let us know so we can apply proper credit here.
You can reach our support through the CodeCanyon comment section or email me at joshua@jdwebdesigner.com