Affilate=author

Sorry have to create new one because cant answer in first topic. No reply box.
I activate authors for woocommerce products using this code: function wpse_74054_add_author_woocommerce () {
add_post_type_support( ‘product’, ‘author’ );
}
Is there a way to use author as affilate by default. I mean now i have to manualy choose for every product affilate but it would great if plugin would use author meta. Thanks!
Don’t know why can’t reply to your answer. Yes this option is activated in affilates products. But it not work.

6 Responses to Affilate=author

  1. alexus November 6, 2013 at 7:51 pm #

    And yes they have role “author”

  2. alexus November 6, 2013 at 7:50 pm #

    I create product as admin and then change to the author that i need.

    • kento November 6, 2013 at 8:17 pm #

      If you create it as admin, then the association will not be triggered. It is the author who has to create the product for that to happen.

      • alexus November 6, 2013 at 8:37 pm #

        So when admin cange authot in meta “author” on product page plugin dont care about it? Only one time author asigned? To person that create it?

        • kento November 6, 2013 at 8:57 pm #

          Yes, it is designed to be like that to leave the decision up to the admin when it was not the author who created the product.

  3. kento November 6, 2013 at 7:48 pm #

    Are you logged in as the author when the product is created?

    (First topic was closed assuming it was resolved.)

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share