Conflict with WooCommerce and CoursePress Pro

Hi there,
we have CoursePress Pro installed on our site, and are using WooCommerce to put the purchase through since we have already integrated WooCommerce for the store front.

However, recently, there seems to be a conflict now with WooCommerce and CoursePress Pro, unless it's just that things have changed.

When people are already signed in to the members area of the website, they can not purchase the course we have listed on CoursePress Pro. There is no button to do anything. The button has disappeared. When Woocommerce is deactivated, there is a button to enroll.

We are running Woocommerce 2.6.14, php version 5.6.30, CoursePress Pro 2.0.5

I deactivated all of the plugins except Coursepress pro and woocommerce, and we still had the issue. When I deactivated WooCommerce, the button showed up.

We have had it set up to purchase through Woocommerce since we set it up. We tested it out with not being logged in and we are able to sign up for a free account, but once that is done, the button disappears again since we are now logged in.

Any assistance would be greatly appreciated. We have people signing up and they can't do it through the site any longer.

  • Nithin

    Hey Tammie,

    Hope you are doing great today. :slight_smile:

    Could you please replace the following file class-woocommerce.php attached below, in the following path located under /wp-content/plugins/coursepress/2.0/include/coursepress/helper/integration/class-woocommerce.php, and then check whether this works fine. You'll have to use a FTP application to make the above changes.

    Please do note that this fix will be provided in the next release, so that you don't have to worry about the file being overwritten when the plugin is updated. Please do let us know how that goes, have a nice weekend. :slight_smile:

    Best Regards,
    Nithin

  • Nithin

    Hi Tammie,

    I have cleared the site cache and my browser cache and refreshed the page, but still no button.

    I could see what you meant, I had to delete the existing product, and re-publish the course, so that a new product gets created, and it's working fine now. Since you had enabled sale price with 0$, the course is free at the moment.

    yourWebsiteURL.com/product/the-biz-of-kids-yoga-101-online-course/

    Please check, and see whether you still have any issues related to this, we would be glad to give a closer look. Have a nice day. :slight_smile:

    Best Regards,
    Nithin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.