Support

Home Forums Event Espresso Premium espresso_import.php

espresso_import.php

Posted: June 9, 2022 at 11:23 am


joost backaert

June 9, 2022 at 11:23 am

I want to use giftcards in EE, for the moment I sell those via Woocommerce / PW Gift Cards. As I read there is no real integration between Woo and EE or a viable option to add giftcards.

I did found this : https://github.com/Pebblo/eea-voucher-import
But it seems not to work anymore, any suggestions are welcome 😉


Tony

  • Support Staff

June 9, 2022 at 2:43 pm

Hi there,

The above code basically imports a bunch of ‘vouchers’ from a CSV file for single-use, it’s not really a Gift Card solution.

Do you use other promotion types within EE?

The closest option we have is this proof of concept:

https://gist.github.com/Pebblo/c2dd51d7b5e117810d9b5b70b9366b87

Which basically reduces the ‘value’ of a promotion down by the transaction total until it reaches 0 at which point it sets the expiry date to ‘now’ to make the gift card expire.

Is that what you are looking for?

The support post ‘espresso_import.php’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso