Menu
Your Cart

HP Advanced Affiliate OpenCart

HP Advanced Affiliate is an OpenCart extension  which helps maximize OpenCart's built-in affiliate features, by adding other very useful features to the affiliate program.

 

Pre Install

  • Please follow pre install section here if you haven't proceed one before: https://hpwebdesign.io/pre-install
  • After completing the above steps, you can proceed with the installation as follows:

NB: You can disable base theme modification after installation.

 

Installation

  1. Extract the HP Advanced Affiliate module file to obtain the following OCMOD file extension.
  2. Navigate to the Extensions page → The Extension Installer then uploads the extracted .ocmod.zip file.

  3. Go to the Extensions → Modifications page and then click the Refresh button to apply the changes to the system.

  4. Go to Extensions → Extensions → Order Totals page, then install HP Advanced Affiliate and make sure it is Enabled.

  5. Navigate to the System → Users → User Groups page → click the Edit button on the User Group Administrator. Click Select All in Access Permission and Modify Permission then save.

  6. When you navigate to HP Web Design → HP Advanced Affiliate, the following page appears. Please validate your store by insert license key and click Validate button.

  7. After the validation process is successful, the module page will appear so that it can be used.
This is the HP Advanced Affiliate module installation guide.

Configure the HP Advanced Affiliate Module

Please navigate to HP Web Design → HP Advanced Affiliate. Or via the extensions page, please navigate to Extensions → Extensions then select Modules. Click the Install button on HP Advanced Affiliate. The edit page or extension settings HP Advanced Affiliate will appear as follows. 
 
In the settings section of the general tab, you can fill in several things, among them.
  • Status : Set to enabled to turn on the module .
  • Placement : The affiliate link, button and affiliate link will be placed on the product page after the filled id or class.
  • Complete Order Status : Commission will be paid to affiliate if order status is changed to specified complete status.
  • Commission Amount for Registration : Commission for affiliates who successfully invite new user registration.
  • Commission Amount : Commission for affiliates who successfully invite new customers to place an order and the order is complete according to the settings Complete Order Status.
  • Customer Discount : Discount for new customers who use the affiliate link that has been shared.
  • Minimum Order Total : Commissions for affiliates will only apply if the minimum order total has been reached.
  • Affiliate Link : Set to yes to display affiliate links on product pages.
  • Affiliate Registration : Set to yes to display the list as an affiliate on the customer registration page.
 
In the settings section of the popup tab, you can enter several things in between.
  • Status : Set to enabled to show popups on product pages.
  • Color Schema : The background color for the popup.
  • Various social media settings : Set to yes to display share buttons to social media.
In the settings section of the translation tab, you can fill in the translation text for the various languages that are enabled, in this section there are also Info Graphic and Side Image image settings that will be displayed on the popups.
 

Adding Side Affilite Menu

  • Side menu could be used by affiliate to access several important features like profile, tracking and transactions.
  • Add that menu to account layout by navigating to Design :: Layout. Edit Account layout. And add "HP Advanced Affiliate" module on column right/left as you prefer. Save.

 

Adding Side Affiliate Menu on Journal Theme

  • Access Journal :: Layout. Edit Account layout. Then add new module.
  • Select OpenCart menu that located on the bottom most menu. Select "HP Advanced Affiliate" module from the list.
  • Then hit save. See the following figure:

add affiliate on journal theme opencart

 
On the Profile page, you can get information of your affiliate link and you can change username as affiliate code.
 
In the Tracking page, you can get information of list tracking product's link
 
The following are some of the displays of HP Advanced Affiliate on the front page.
 
 

Attach Affilite Menu to Account Layout

Go to administrator, click menu design -> layout and then click edit account

Add Module HP Advance Affiliate in column right or column left

You can see affiliate menu in account page

.httaccess SETTING

Don't forget add this to .htaccess.
# Affiliate rewrite rule
RewriteRule ^share/(.*)/(.*)$ index.php?route=account/share&pid=$1&cid=$2 [R=301,L]
RewriteRule ^af/(.*)$ index.php?route=account/hpaa_affiliate&username=$1 [R=301,L]
RewriteRule ^u/(.*)$ index.php?route=account/hpaa_affiliate&username=$1 [R=301,L]
RewriteRule ^r/(.*)$ index.php?route=account/hpaa_affiliate&username=$1&r=1 [R=301,L]
Make sure you put the before this.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
 
This is the guide for installing and using the HP Advanced Affiliate module in the Opencart online store.
 
Was this article helpful?
Yes No
0 out of 1 found this helpful