When a course has an depublishing date in the past, the course is still visible in Teacher profile page and can be clicked and ordered. This is I think a bug?
The course page is visible as well for the public: https://www.workshopsoptexel.nl/aanbieders/workshops/2-test/7-test-bouwlab-ding-met-prijs
Of course students who have valid subscription, should be able to see the course, but must not be able to renew.
I hope you can let me know a fix.