get to know affiliate by coupon code?

Hi,
I wanted to show on Jigoshop Orders list, in new coupons tab, login of affiliate that the coupon is assigned to. It would save quite lot of time to one of our customers.
Any idea howw to get affiliate name by couponn code?

One Response to get to know affiliate by coupon code?

  1. antonio December 17, 2014 at 11:25 am #

    Hi,
    you can use something like:
    $affiliate_id = Affiliates_Attributes_WordPress::get_affiliate_for_coupon("YOUR_COUPON_CODE");
    cheers

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