Your cart is currently empty!
Can you use a ‘custom field key’ as a condition?
—
by
Hi,
I want to set a condition rule in another plugin, so that an action will be activated if the order matches an affiliate id.
Can I use ‘affiliate_id’ as a custom field key? Or is it this not a custom field?
Posted in Affiliates Pro
Comments
3 responses to “Can you use a ‘custom field key’ as a condition?”
Hi Kento,
Thanks for your reaction! The other plugin only works with a ‘custom field key’. I tried ‘affiliate_id’ or ‘affiliates_refferal’, but these are not working. How can I setup a custom field for this? Can I include an action for this in functions.php?
Regards
You would have to use the action that I’ve mentioned, a custom field by itself would not be appropriate.
Hi Clemens,
You could probably use the
affiliates_referral
action for that, see the Actions documentation section for details on it please.Cheers