Ionic with Woocommerce

#1

Hey Guys, hope you will be fine. Actually, I need some help from you. I have a ionic project with woocommerce. The problem is that, I want to check if the user course enrolled or not. And if the user is not enrolled the course, the course should not appear him, before purchasing. And if the user is enrolled the course, the course should appear him. Please help??