Posted: July 7, 2020 at 12:41 pm
Our business is looking for a solution to adding discounts for state and federal customers. We would prefer if retail customers could not see the discount.
We found a plugin that applies discounts based on roles, but this is a plugin that works with woocommerce. To be honest, I wasn’t aware that event espresso wasn’t compatible with woocommerce when we purchased it.
Is there a way around this? We also had a woocommerce plugin that enables our users to purchase bulk credits to spend on our events for groups. Is this possible with event espresso?
Do the users you want to show discounted tickets log into the site?
Do ‘normal’ visitors (the visitors you want to show full pricing to) log into the site?
It’s not really that EE isn’t compatible with WooCommerce but that it simply wasn’t designed to integrate with it. Event Espresso has it’s own checkout and does not rely on Woo at all, you can’t ‘sell’ EE tickets within Woo nor can you sell Woo products within EE but that’s not really an incompatibility but a design choice.
I get that the outcome is the same, but just for any future readers of this thread (incase it pops up in a search) so far EE has never integrated with Woo although eventually, we may well do (we don’t have anything in the works for it currently). EE will work alongside Woo in that you can have both active together, but not integration between the two.
If WooCommerce integration is a hard requirement for you EE ma not be a good fit for you use case.
If the users log into the site then yes, you can use capabilities on the logged in user to display specific tickets and hide others using some PHP code.
I can provide more details on how to do this but you’ll need to be comfortable adding a couple of snippets of PHP to the site for this to work.
The closest we have for this an add-on created by myCred here:
Note that myCred themselves created that add-on and so they would provide support for the integration rather than ourselves.