Hi Inbar,
This is a very beautiful idea
Which made me think, from a developer perspective...
That you can also develop a tiny patch to course's theme which check if you added the phrase "link: XXX" in the course's "idnumber" field, and if so, it will automatically redirect the user to the XXX course.
It is only a few lines of code added to the theme, for this to happen, here is a general idea...
<?php
if (strpos($COURSE->idnumber, ':')) {
list($islink, $linkcourseid) = explode(':', $COURSE->idnumber);
if (!empty($islink) and $islink == 'link') {
$redirectlink = new moodle_url($CFG->wwwroot.'/course/view.php?id='.$linkcourseid);
if (has_capability('moodle/course:changeidnumber', context_system::instance())) {
echo html_writer::link($redirectlink, 'Click to redirect to the real course');
} else {
redirect($redirectlink);
}
}
}
?>
Then, it is much easier to manage adding an automatic "link" from each virtual course to the real course.
Considering a large amount of courses, You can update it using the bulk course upload (csv) tool. And create the categories using the bulk category upload tool.