• Resolved ubya

    (@ubya)


    I have a plugin that allows sudents to pay in installments. this plugin adds a new woocommerce order status, “partial payment”. right now tutor lms auto enrolls students only when the woocommerce order is “completed”.
    I don’t think i see any tutor lms hooks I can act upon, so I probably have to edit the plugin’s code directly.
    I found the funtion enrolled_courses_status_change( $order_id, $status_from, $status_to )

    Should I be editing this? i guess i’d have to modify more functions, can someone point them out?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Md. Jobayer Al Mahmud

    (@jobayertuser)

    Dear @ubya

    Yes you can edit this but remember your changes will not remain after Tutor every version update.

    Thread Starter ubya

    (@ubya)

    would it be a valid request to add a filter for that function allowing more customization for the woocommerce statuses?

    Plugin Support Md. Jobayer Al Mahmud

    (@jobayertuser)

    Dear @ubya

    From my understanding, WooCommerce currently lacks a predefined “partial payment” status. Therefore, the question arises of how to incorporate such a status and make it function within the WooCommerce framework, given that this specific status doesn’t exist within WooCommerce’s default settings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘auto enrollment on different order status’ is closed to new replies.