Take this course button doesn't add to cart

Home Forums Legacy Support Support queries Other issues Take this course button doesn't add to cart

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #9437
    howlun
    Participant
    Hi, I am having this issue here where Take this Course button should add the course straight to checkout (based on my settings in WPLMS/Misc). If the user is logged in, things work perfectly, user is brought straight to checkout for payment. But, if it is a guest, after he clicked on Take this Course button, he is redirected to an empty Cart. Do you know what causes this?
    #9438
    howlun
    Participant
    My site is: http://learn.unidyo.com Test admin account: tester/123456
    #9894
    Anshuman Sahu
    Keymaster
    Since this issue is faced by your only and no other user have reported this issue ,we need a valid ftp credentials to debug this issue at your end .
    #10077
    howlun
    Participant
    FTP: Server IP/Domain: unidyo.com username: [email protected] password: v3MJQFwZwA
    #10206
    Anshuman Sahu
    Keymaster
    We were unable to access your wplms files with those credentials .It is showing nothing to me when i log in with the given credentials please check : http://prntscr.com/95zdt6 Please share a valid ftp credentials .
    #10281
    howlun
    Participant
    Hi, sorry for the mistake. I have corrected it, and verified. Please check again. Thank you.
    #10478
    Anshuman Sahu
    Keymaster
    While debugging this we're seeing a wierd behavior, refer screenshot : The control adds the product and redirects to checkout page, but then it redirects back to the cart page, which is really strange. Since this is the "only" case of such issue, we suspect this could be related to server settings. The Woocommerce session which holds the cart items clears out when redirecting to checkout page. Please try conntacting your webhost on this . Alternatively please try settings up your site on localhost setup and try replicating the same issue .
    #10527
    howlun
    Participant
    Yes, we configured to go to checkout directly, skipping the cart and product page. The thing is, when user is logged in, there is no issue. Okay, I will try to deploy this on localhost for testing. Brb.
    #10642
    howlun
    Participant
    Hi Support, Did you do something to the code manually and forgot to revert the change? We are getting weird behavior with testCookie get parameters. Please be reminded to remove all your test code. Thank you
    #10704
    Anshuman Sahu
    Keymaster
    No we undid the changes that we have done when we tested some codes . Please clear you browser cookies and check again .
    #10844
    howlun
    Participant
    Hi Support, We have deployed to localhost, and the issue doesn't exist. We currently using Bluehost Wordpress hosting. But, what could be the root cause? If it is incompatibility of the hosting environment, can you provide the requirements? Or can you tell us which hosting providers are compatible? Thank you
    #10948
    Anshuman Sahu
    Keymaster
    So this is a hosting issue ,please contact them to check if they have some kind of settings for this weird issue . Check for mod security or .htaccess rules on the server .
    #11302
    howlun
    Participant
    Hi Alex, we have found the root cause of the issue. It is due to the cache server, Varnish. We have stopped it, until we find a setting to overcome the issue. The issue is considered resolved for now. Thank you.
Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Take this course button doesn't add to cart’ is closed to new replies.