Hi,
Here is the example of case scenario:
- I have a purchased course named "Course A", I assigned this course to a batch named "Batch A"
- A student goes to Batch A and clicks "join group" before purchasing Course A
- Page reloaded to url of "https://example.com/groups/batch-a/join/?_wpnonce=914d73e164" with page content says "Array ( [0] => 1 [1] => 2 )" (screenshot: https://prnt.sc/nij63k)
- Student goes back to previous page, reloads page, page shows student has joined group
- Student goes to Course A, "start course" button is shown even before purchasing
- Student clicks "start course", course page refreshes with error message "course not available" (screenshot: http://prnt.sc/nijayf)
I need (3) to only refresh batch page and show student has joined group directly.
I need (5) to allow student to purchase Course A despite joining Batch A in prior.