View Product Page

Current affiliate

The shortcode [yith_wcaf_current_affiliate] allows printing the current affiliate when he/she is in the session.

The shortcode attributes are the following:

  • show_gravatar: (yes/no) shows the affiliate’s gravatar
  • show_real_name: (yes/no) shows the affiliate’s real name
  • show_email: (yes/no) shows the affiliate’s email address
  • no_affiliate_message: shows a message if there is no affiliate in the current session. The default one is “There isn’t any affiliate selected for current session”, but you can customize with your custom text.
Show current affiliate user
No affiliate found for this user