Use Participants DB with WooCommerce discount
-
I need to apply a WooCommerce discount code based on a membership ID. A list of valid membership IDs and associated user first and last names needs to be maintained. I would like to user Participants Database as the way to maintain the list of valid membership IDs.
I need assistance to accomplish the following:
1. A user logs in to WP and selects a product to purchase.
2. On the WooCommerce checkout page I ask the person to enter a valid member ID (for various reasons, this cannot be stored in the user’s WP profile, and needs to be entered for each purchase).
3. I need to verify the entered member ID against the list of valid IDs in the Participants Database. Also would like to verify the user’s last name if possible (double search in Participants Database).
4. If the ID is verified, a discount will be applied to the purchase. If the ID is not verified, the user is notified and the purchase can continue without a discount.
Does anyone have ideas to offer or suggestions for other options?
Thanks,
Floyd
- The topic ‘Use Participants DB with WooCommerce discount’ is closed to new replies.