Coursepress + Woocommerce = redirecting incorrectly

Hey there,

After wrestling with marketpress for months, client has decided to jump ship and move their shopping cart to woocommerce. (humongous coupon issue we were having a few months ago came back and it was the last straw)

I'm working on the setup of the woo shopping cart here:

http://dearhandmade.staging.wpengine.com/

Here is the shop area:

http://dearhandmade.staging.wpengine.com/shop/

The first 4 items on that page are coursepress classes. The Woocommerce products are linked up with their respective Coursepress classes, but here's where our issue is:

When you go into coursepress settings and turn on the checkbox marked in the attached screenshot, it's messing up the basic main shop link (http://dearhandmade.staging.wpengine.com/shop). When that checkbox is turned on, clicking on "shop" in the site's navbar takes user to a coursepress class page.

I had to turn the checkbox off because I need to show client I've made progress this evening, and she can't be seeing incorrect redirects that are blocking her from seeing what I worked on tonight.

Support access granted, please take a look at this asap.

  • Milan
    • WordPress Wizard

    Hello Steph Calvert

    Hope you are well today and thanks for asking us. :slight_smile:

    Let's walk on same path first. :slight_smile:

    When you go into coursepress settings and turn on the checkbox marked in the attached screenshot, it's messing up the basic main shop link (http://dearhandmade.staging.wpengine.com/shop). When that checkbox is turned on, clicking on "shop" in the site's navbar takes user to a coursepress class page.

    This is really strange but I am not able to replicate this on my sandbox site. Hence, please conduct Plugin Conflict test as described in our this support manual,
    https://premium.wpmudev.org/manuals/using-wpmu-dev/getting-support/

    Scroll down above page a bit to examine flowchart stating how to conduct plugin conflict well.

    Looking forward to hearing back!
    Cheers,
    Milan

  • Steph Calvert
    • The Crimson Coder

    Hi Milan,

    When I left this post last night, the checkbox was unchecked. If you go to this link:

    http://dearhandmade.staging.wpengine.com and click the shop link in the nav, you'll go there no problem.

    Where the problem comes in is if you go into the coursepress area, turn on that checkbox that I pointed to in my screengrab, and then try to go to the main shop page. No matter how you try to get there, whether it's clicking the nav button or just typing this url into the browser, it redirects to a coursepress class page:

    http://dearhandmade.staging.wpengine.com/shop

    Can you please confirm you were not able to replicate when you went into the backend and turned that checkbox on before I do any testing?

  • Milan
    • WordPress Wizard

    Hello Steph Calvert

    Seems like you misinterpreted my first post. :slight_smile:

    I said that I tried to replicate this issue on my sandbox site not on yours. :slight_smile: On your site I can confirm that this strange redirect is taking place but on my site, with WooCommerce and CoursePress Pro + checkbox for redirecting is turned on I am not able to regenerate. That's why as for troubleshooting I suggested you to conduct, Plugin Conflict test. Have you done it yet ? If not then please follow instructions in my first post and do it as soon as possible so that we can move forward in this real fast. :slight_smile:

    Looking forward for your results on Plugin Conflict. :slight_smile:
    Cheers,
    Milan

  • Steph Calvert
    • The Crimson Coder

    Good morning - working on this client site this morning. Just deactivated all plugins except for coursepress + woocommerce. Set site to default 2015 theme. Tested.

    Same error.

    Please help asap. This client is the one that waited four months for help from wpmudev on marketpress / coupon problems and they're going to be ex clients if this issue isn't worked out soon.

  • Adam Czajczyk
    • Support Gorilla

    Hello Steph,

    I hope you're well today!

    I performed some more tests on my own setup and finally I was able to replicate this issue even with Twenty Sixteen theme and no other plugins active. This never worked that way so I think it's strictly related either to one of the recent CoursePress updates and/or WooCommerce updates.

    I've already marked it as a bug for developers, asking them for a fix. Hopefully they'll be able to solve that soon.

    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.