From 4.6 version of theme, Rehub has enhanced support for Affiliate Egg plugin.
Logic of plugin is very simple. There are many supported shops and affiliate sites. You need just to insert link from product page of shop to plugin page and plugin will parse to your site all information about product (link, price, title, description, photo and even specifications, comments, etc). You can also add multiple products or link on shop category.Then you choose output template. Plugin has near 6 templates, but Rehub theme increases this number to 20 different templates (product cart, comparison lists, buttons, carousels, tabbed cart, etc) + 3 custom widget. All theme’s custom templates has postfix [custom], so, use them if you want to have good looking blocks.
Plugin is paid. It’s price $45, but, good news, Rehub Theme buyers will get plugin with discount 25%. Use coupon REHUB25 while purchase. If you bought 3 or more our themes – plugin will be free for you. You can buy plugin license here or write on my email from contact form to get plugin with special discounts.
Currently, plugin supports more than 40 shops. See list of supported shops. We also add new shops from time to time.
If you want to add any new shop to supported shop list – write to us and we can make parser for you or do parser yourself (examples in theme
/folder/affegg-parsers/). Price of custom parser – $20 for each shop.
First of all, you can add to each storefront 3 types of links. 1 – single link, 2 – multiple links, 3 – link on catalog
When you add link on catalog – add before link such code to limit parsed items:
After parsing of product data, plugin will generate shortcode – insert it on your page:
There are some tips for the shortcode. If you added multiple products or catalog, you can use shortcode:
[affegg id=10 next=3]
This will show only first 3 position. If you add in content of post this shortcode again – this will show next 3 positions, etc. Also, you can use shortcode to show 3 items from fifth position:
[affegg id=10 offset=5 limit=3]
To get commission from affiliate links, you must add deeplink (partner link ID or parameter). Each shop and affiliate system have it’s own deeplink. In 99% cases there are two types of deeplink. Prefix and postfix.
Deeplink is like a part of link which added to link of product. In some cases, deeplink is hard to make, so, you can add link with your partner ID direct to storefront.
Direct affiliate shops usually has postfix. Example,
Link without partner ID –
Link with partner ID (got it in amazon link generator) –
In this code, only tag=wpsoul-20 is important part. For example, my link can be
http://www.amazon.com/gp/product/B00REWQS8U?tag=wpsoul-20 and it will work as affiliate. So, I need to add tag=wpsoul-20 as deeplink. But if I will add ie=UTF8&camp=1789&creative=9325&linkCode=ur2&tag=wpsoul-20&linkId=FJGDPNPOAVNARMCP – it will also work.
Another example of deeplink is usually used in affiliate systems. They added prefix before url. I will show you on
Ebay example. When I go to EPN Tools Link generator Custom URL and enter link to shop product, link generator create such link
Example with link on product
Example with link generator
As you can see first part is prefix and second part is link on product
So, in my case, my deeplink will be
Auto updating and other settings
Plugin have autoupdating of products. You can set time of delay in settings. Also, there are some other useful settings. For example, Save meta to post . This setting allow plugin to store data from product that you added to post as shortcode. Data will be stored in meta fields of post, so, you can use it for different things, for example, for creating filters, etc. Also, theme will automatically show this data in snippet of loop.
The most important names of custom fields where plugin will store data:
affegg_product_price– for price;
affegg_product_orig_url– for original product link;
affegg_product_img– image of product.
Custom templates and parsers
You can hire us if you want to create custom parser or custom output. Please, write on my email from contact form