1. Home
  2. ReHub Theme
  3. Shop (woocommerce) options
  4. How to make variable affiliate products

How to make variable affiliate products

If you want to make some variations for your affiliate products, you will find that it’s not possible. Because affiliate/external type of product can’t be Variable type in the same type. You can use one hack for this type of products.

First of all, each variation must have separate product page, there is no another way. Each variation  is separate product with own price, usually they have separate page on original site. So, create one main product page which will be visible on your site. Then, create separate pages for each variation. Make these pages as hidden here

Now. In your main page and in all hidden variable pages, you can add cross links in Custom Product section

Example of code for such links

<div class="mt20"></div>
<a href="#" class="rh-cartbox lineheight20 floatleft pt5 pb5 pr10 pl10 mr5">Red</a>
<a href="#" class="rh-cartbox lineheight20 floatleft pt5 pb5 pr10 pl10 mr5">White</a>
<a href="#" class="rh-cartbox lineheight20 floatleft pt5 pb5 pr10 pl10 mr5">Blue</a>
<div class="clearbox"></div>

Will look like this

Add links to each variations instead of #

Currently this is only one possible way, we will try to improve this in next updates if it’s possible