• Hi,
    I want to create a bundle with a course and a physical product wich is sent to the customer.

    I created a grouped product in WC. The physical product is ok. It registers the customer to the Moodle but he isn’t enrolled to the course.

    I made a ticket to the support, it is because the status of the shipment is not “Complete” so it doesn’t enroll the customer.

    Any idea how I can achive this please ? Is there another way ?

    Thanks by advance for your help.

Viewing 1 replies (of 1 total)
  • Hello @jcalart

    The Edwiser user-enrollment process is triggered only when the order is completed, and in the case of shipping, the order status changes to “shipped,” “on transit,” or “delivered.” This prevents the automatic enrollment of the learners.

    To achieve this site-specific requirement, our product development team suggests a customization function called wc_order_status_changed. In this function, there is an array that determines the order status on which the enrollment will take place. We kindly request you to add your specific status, which should occur after the order is processed and set its value to true. This will ensure that when this specific status occurs, the learners will be enrolled in the course. Additionally, please ensure to add a case to return when the order status is “completed,” as the enrollment would have already taken place.

    We hope this helps.

    Thanks,

    Team Edwiser

    Cautionary Advice: We do not recommend customization of Edwiser plugins, as this process may put your site at risk! And the customization will have to be maintained every time you upgrade the Edwiser plugins.

Viewing 1 replies (of 1 total)
  • The topic ‘Bundle with a course and a physical product’ is closed to new replies.