The plugins both use woocommerce.
Hi @healthtechie1
Based on your description, the issue arises when the Dokan plugin is active, affecting the cart functionality for courses added from the LMS platform. It’s worth noting that by default, Dokan settings prevent vendors from purchasing their own products, which might not be directly related to the problem you described but could indicate underlying compatibility concerns between Dokan and Masterstudy plugins.
To address the specific issue of courses not being added to the cart or proceeding to checkout when Dokan is active, the solution might require a more nuanced approach than allowing vendors to purchase their own products. However, if you’re looking to adjust settings related to vendor product purchases, here’s a snippet you can add to your child theme’s functions.php file to modify Dokan’s default behavior:
remove_filter( 'woocommerce_is_purchasable', 'dokan_vendor_own_product_purchase_restriction', 10, 2 );
remove_filter( 'woocommerce_product_review_comment_form_args', 'dokan_vendor_product_review_restriction' );
I hope the above-shared solution will help.
Thanks!
Hi @healthtechie1
As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.
Thanks!