• Resolved sabeelmansoof

    (@sabeelmansoof)


    I have installed the moowoodle and connected it through api token, after this i synchronized all courses and categories and products the courses are showing in moodle courses and shop page, now when i open a course it doesn’t show add to cart button here.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Dualcube

    (@dualcube)

    Hi @sabeelmansoof, thanks for getting in touch with us.

    The reason it is not showing Add to cart, is because you might not have added any price to the course. Only then you can purchase the course.

    Thread Starter sabeelmansoof

    (@sabeelmansoof)

    how do i add a price to the course, and how the users will be automatically registered in that course?

    Plugin Author Dualcube

    (@dualcube)

    Hi @sabeelmansoof, please follow this video to add price to a course https://www.loom.com/share/90d18c1a13914fb19fdfc5c76b2ed969

    As per the flow, when a students will place an order, upon successful payment he/she will receive mail with Moodle site’s link, login details etc.

    Thread Starter sabeelmansoof

    (@sabeelmansoof)

    I setted the course price according to these instructions, my order got placed but after that there was only an order email was sent to the mail, it didn’t contain any information about moodle. and i also checked that this user is not registered in moodle too.

    Plugin Author Dualcube

    (@dualcube)

    @sabeelmansoof, please make sure that the order status is completed, only then the new enrollment mail will be sent.

    Thread Starter sabeelmansoof

    (@sabeelmansoof)

    I have completed the two orders manually, they receive the order completion email, and there was no credentials of moodle there, also i rechecked the moodle there was no new user created.

    Plugin Author Dualcube

    (@dualcube)

    Some time it may happen that, Moodle server takes too long to give the response. So as a solution, you change the default timeout value which is 5 second to 15 second.
    Although 5 seconds is enough time to get a post request from another website.

    In order to do so, #Go to “wp-content/plugins/moowoodle/includes/moowoodle-core-functions.php”. Edit it.
    #Replace or edit the line no. 49
    //before ?
    $response = wp_remote_post( $request_url, array( 'body' => $request_query ) );
    to
    //after
    $response = wp_remote_post( $request_url, array('timeout'=> 15, 'body' => $request_query ) );

    Once that is done, check the flow again.

    Please do keep us posted.

    Thread Starter sabeelmansoof

    (@sabeelmansoof)

    Can you provide a detailed manual or guide for the setup of moodle and wordpress integration through your plugin?

    Plugin Author Dualcube

    (@dualcube)

    @sabeelmansoof , you have configured the plugin properly, that’s why the courses are synced in your site.

    The issue you are facing seems related with your server, that’s why we have recommended you to edit the time out settings.

    However to be absolutely sure about this, please do reach us over our site so we can assist you out further.

    Thread Starter sabeelmansoof

    (@sabeelmansoof)

    I have changed the code and after that I tried again but the same result. I’m reaching you out through the contact form on your website.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Courses are not showing in moowoodle courses’ is closed to new replies.