Bug with woocommerce
-
Hi, I’m having a problem configuring Tutor LMS with payments via WooCommerce.
Basically, the problem is simple: if you order the course from the course page, the user is granted access correctly. But if you purchase the WooCommerce product linked to the course directly from the WooCommerce default page, no access to the course is granted.
I’d like to understand how to set it up. On the product page, I set the virtual product and the “for tutor” option. On the course page, I set the product correctly.
When WordPress debugging is enabled, this error appears: “not tutor order” and I believe it comes from the code in the “wp-content/plugins/tutor/classes/WooCommerce.php” file on line 667.
Following the conditions, it seems that when ordering from the woo product page, the “_is_tutor_order_for_course” customer field isn’t created, even though the “monetize_by” field is set to “wc.”
Can you tell me if this is a bug or if it’s configured this way, and if so, if there’s a filter to fix ?
Thanks.
The topic ‘Bug with woocommerce’ is closed to new replies.