Your cart is currently empty!
on checkout user become affiliate user
—
by
Hello
we have use this plugin to our one website “http://shop.idrogen.my/”.
Here we want is when use checkout and purchase the product that user become the affiliate use and can access their affiliate dashboard.
i have already install the WooCommerce integration plugin. and also set in ” Enable the WooCommerce customer registration integration” to yes
but then also the user is not becoming the affiliate user,
Can you plz help to fix this? how can i do that?
Thanks
Amrish
Posted in Affiliates Enterprise
Comments
8 responses to “on checkout user become affiliate user”
Hello Antonio,
Thanks for help, its working fine now.
Thanks a lot
Regards
Amrish
Perfect 😉
Hello,
Please help me how can i do this?
Thanks
Hi Jerome,
this option is not available.
You need to create a custom code to do it. Using the ‘woocommerce_checkout_order_processed’ action and the Affiliates API you could create the custom solution.
Kind Regards,
Antonio B.
This code should do this https://gist.github.com/eggemplo/4b1859c4fea4ddb66340c3df177d8065 (you need to add this code in your functions.php child theme file ).
Kind Regards,
Antonio B.
Hello,
Thanks for your reply.
Yes i am using that plugin also, but in that if user do normal registration then also they become the affiliate i dont want that.
So how can i use this?
plz guide me.
Thanks
i dont want them to bcome the auto affiliate if they do registeration they only can become the affilliate if they buy and checkout.
Hi Amrish,
The option “Enable the Woocommerce customer …” is related with gets commission when a new user is registered after visits an affiliate’s link.
If you need to make new users automatically in affiliates, you must use the Affiliates Users plugin.
Kind Regards,
Antonio B.