How to make cashback site on wordpress and Rehub theme

What is cashback and how it works?

Cashback functions are usually available on different types of affiliate websites, deal sites and coupon sites. It’s option for your users to get some money back after their purchase. This motivates users to use your site instead of direct shop, because they can save additional money.

Technical side of cashback functions

We investigated near 20 most popular cashback sites and found that they have very similar functions and logic. Usually, they are based on point system. After each purchase, user can see available cashback points in their accounts. There are pending points (when user click on product link) and approved points (when user purchased product and affiliate network sent commission for you).

If you want to implement cashback functions on site you must have next things:

  1. Notices in your posts or products that this post has cashback option to take some user’s attention
  2. Store/Merchant pages with all available deals and coupons from this store and description of cashback values
  3. User’s profile page where user can see all pending and approved cashbacks and can request payment
  4. Tracking system

The last point is most important, because not all networks can provide cashback and sub ID tracking. It means, that you can make cashback site only if you use affiliate network which supports subID tracking

Also, theme doesn’t have inner tracking system for cashback, so, you can add points to users manually or you can buy plugin for cashback tracking

If you want to purchase plugin with discount, use coupon

REHUB

We recommend to buy plugin because it will allow to make cashback sites more easy, has automatic tracking and integration with point system and many other functions.

Now, read next articles to configure each step of cashback site

How to add deals on site

There are many ways to add deals on site with Rehub. You can read this in our documentation

Affiliate settings of Rehub theme

Also, check our special step by step guide for affiliate posts

In my experience, buyers usually use Bulk import or Affiliate Egg autoblog to add deals. Affiliate Egg plugin has also support for Cashback tracker.

back to menu ↑

How to make Store (merchant) pages

There are two variant of Store pages which you can use on Site. You can use each of them separately or together.

First is Store page of theme.

back to menu ↑

Affiliate store page of theme

They are working for posts. You can enable them in Theme options – Affiliate – Enable Affiliate Store taxonomy for posts . You can also enable which Layout will be used on Store pages (List, Grid, Compact grid, etc) and taxonomy slug (it will be used in link, by default, it’s “dealstore”)

Once you enable this option, go to  Settings – Permalinks  and resave page.

Now, you can create Your stores

When you create Store, you can assign different information to Store: link, description, bottom description, Seo Title and Cashback Notice, Logo. We recommend to fill all fields, so, your page will have better look.

Then, in each of your post, you will find option to assign Post to Store (right panel in Post Edit Area)

You can also create page and place there archive of your shops. We have special shortcode with many different design styles, like grid, alphabetical grid, lists, etc

Information about Store archive shortcode

back to menu ↑

Store page of Cashback tracker plugin

The main difference from theme’s store page is that this page doesn’t have deals. It’s just like Content page and right part of page doesn’t show posts, so, you can add there anything what you want. Advantage of this page is that they can be created automatically (except content of page) and they have Comments.

You can read how to enable store pages in plugin in documentation

back to menu ↑

Configuration for cashback notices and deal layouts

back to menu ↑

Deal archive layout

For cashback sites, we recommend to use our Rewise or Recash child themes. This is because these child themes have deal grid and deal list layouts as default layouts for categories. So, first step – enable them in Theme option – general – category layout  and  Theme option – general – Blog Layout  and choose one of deal layout. For better presentation of deals and coupons – Deal grid is better, but if you want to have some cool community features like Hot Counter – use Lists.

If you build homepage with Elementor plugin, you can find Deal modules.

back to menu ↑

How to add Cashback notices to archives

Cashback notices is just simple piece of text that shows users that this deal has a cashback

It’s not very important part, but we recommend to use it because notices attract attention of users

You can add additional notice about Cashback (or any other notice) inside your posts. For this, add short text to this place when you create post (it’s right panel of post admin area)

This notice can be set for each post. Also, you can assign global notice for each shop (merchant). You can add cashback notice in your shop pages which we described above. If post doesn’t have inner cashback notice, it will use global notice from assigned store

By default, it’s simple text. Avoid to use long notices. Color of text can be set in  Theme option – appearance – Secondary Color  or via Customizer. You can also extend this text with icon. This is example of Money Icon code

You can place this in theme options – general options – custom css.

This will show small dollar icon near text. You can use any other icon from site FontAwesome  Click on any icon and you will see icon code in top of page.

Click on this code and replace f645 in code above. Also, you can set another color for icon with next code

back to menu ↑

Post Inner Layout

Our theme has many Post Layouts. But best post layouts for deals and coupons are next:

  1. Compact (button before title) – demo
  2. Compact (button after title) – demo
  3. Big post offer block – demo

You can read more info about Coupon Functions of theme

back to menu ↑

How to show Custom cashback notice in Post content

You can use next shortcode

In one of code areas in theme option – ads option to show value of cashback notice of post

back to menu ↑

How to add Subid to all affiliate links

Subid is most important step for cashback. We will need subid to detect user who clicked on your link and purchased something on external shop. For this purpose, most of affiliate networks use Sub id in link parameters. It’s special part of link, for example, subid=22. Without this parameter, you can’t track user’s purchases and you can’t give users any cashback.

So, to enable this function, go to Theme option – Affiliate – Cashback Options  and enable option Add user name as sub ID to links

If you use Cashback tracker plugin, you don’t need to do anything else. Plugin automatically detects links from enabled networks and makes them with cashback tracking

If you use Content Egg and Affiliate Egg and want to assign subid to offers from plugins, you can also enable integration for Cashback tracker

But what if you don’t use plugin? You can create own cashback tracking rules. For this, add your own url parameter to field below.

By default, we use subid= as parameter for subids. Please, make attention to symbol = in end. It’s common part to divide url parameter and value parameter. But it can be another in your network.

In some situations, you can use several networks on your site and subid part can be different. In this case, add subid with next syntax amazon.com@myid=

Settings above means: IF link has domain amazon.com, theme will add myid=username in end of link. If link has ebay.com, theme will add subid=username in end. For all other links, theme will add affid=username in link

Add each domain with custom different subid as separate line. Place domain of link in start and subid part in end and divide them by @

Place common subid on last line. It will be used if theme will not find domain for custom subid.

If you want to remove some domain from adding subid parameter, add them as domain.com@exclude

word exclude will mark such domain as excluded from adding of subid

back to menu ↑

Cashback Point System and Profile management

After setup of links and notices, it’s time to setup point system and Profiles. We will use it to show users how much cashback they can get and other important notices to user.

Profile setup is very easy – just install Buddypress . If you want to have only Profile system and don’t need any community functions, go to Settings – Buddypress and disable all modules except core modules.

Now, we will need a place where user can register. The simple way is from our special login Popup. Please, read our tutorial about login popup

back to menu ↑

How to enable Points for cashback

For point system – install Mycred plugin

If you use cashback Tracker plugin, you can enable integration with Mycred and plugin will create all required point system on site. If you don’t have Cashback tracker plugin, you must create custom points for Mycred

Go to Points – Settings – Point type and create Custom points for cashback. Once you save your new point type, you will have new option in admin panel for new point system where you can change labels, capabilities, etc

back to menu ↑

How to show approved cashback points in User’s Profiles

Copy meta key of cashback points type and add it to Theme option – Affiliate – Cashback options – Set key of Mycred points for cashback 

In example above, key is approved_cashback

This will add next part to profile

Only users who are owner of profile can see this block with their available cashback points.

back to menu ↑

How to show User’s Point history in his Profile

Mycred plugin has several shortcode which you can use for User profiles. Most useful is

You can insert this shortocode (or any other) in Theme option – Buddypress option – Add custom message or html in profile of User

back to menu ↑

How to adjust cashback point amount

And again, if you use Cashback tracker plugin, it will add/change points automatically. And you need to change points of user only after you pay him cashback. If you don’t use plugin, you must make point adjustment manually

For this, search user on your site, go to Users – all user and search by name

Then, you can adjust Points to this user

I always recommend to add something in Log entry, in this case, you will have History of points and can always track changes if something will be wrong

When you do payment for user, you can also deduct points. Just make adjusting of points, but add negative value to deduct them.

It’s not required to make payments for cashbacks. You can also use another approach and give users special roles and capabilities once they get special amount of points. You can give users ranks, you can set special pages with bonuses which are available only for users with special amount of points. You can give users roles or member types once they reach special point balance. You can change real products of your site to user’s points. Possibilities are really endless. Please, read our tutorial about Community and Point features for Rehub

back to menu ↑

How to add withdrawal cashback Form for users

In previous steps we added notices, tracking subid, point system. Now, it’s time to add contact form for users where they can submit their cashback payment request.

As on previous step, we will add this form inside User Profile.

For this, we have special place in theme. You can find it in  theme option – Buddypress – Add custom message or html in profile of User. Everything which you add in this place will be rendered in User Profile page inside Profile tab. Make sure that Profile tab is the first tab of profile. It will be the second tab if you enabled Activity for Profiles. You can disable activity module in Settings – Buddypress.

You can also add this code in widget instead of profile description. Widget is visible on all Profile pages. For this, go to Appearance – widgets and add code to Custom HTML widget in Buddypress Profile Sidebar area.

Of course, you can use our magic shortcode and show private data for user. For this, use

Instead of word “private content here”, we will add special contact form. Most easy way to build it – plugin Contact Form 7

Install this plugin and Create contact form. Copy shortcode of form.

Contact form has great feature – mailtags . You can place it in content of form. For example, you can place [_user_login]

and User login will be generated in email, so, you can know who is contacting you.

Now, you can wrap it with our special Button popup shortcode.

Now, if we mix all together and add some styles, we can get next code.

Don’t forget to change approved_cashback key to own key of approved cashback points and change id=8 to ID of your cashback form

You can also add background color to this section. Code will be next

back to menu ↑

Other ways for users to use their cashback points

Another way which you can use your Mycred points is to change/sell something by points. Check documentation of Sell Content of Mycred. So, you can create special products on your site and allow users to change their points on these products.

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
SUJIT KUMAR ROUT Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
SUJIT KUMAR ROUT
Guest

wich rehub chield theme is best for multivendor with cashback website