Orders – buyer and seller.
-
Hi there,
I am using marketpress 2.9.5.3 on a multisite set up.I need to do a couple of things each time an order is processed.
When a new user is created:
1) I need to insert into their meta data a value (let us call it X).At the time every order is completed:
1) For the buyer, I need to update X in their meta data.
2) For the seller I need to update X in their meta data.I am happy to use the following method:
https://codex.www.ads-software.com/Function_Reference/update_user_meta
https://codex.www.ads-software.com/Function_Reference/add_user_metaWhat I would like to know is where can I pick up the user id for the seller and for the buyer from?
Thanks
Sausage.
- The topic ‘Orders – buyer and seller.’ is closed to new replies.