Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WooCommerce add to cart does not work if you are not logged in/authenticated

Posted on 2014-09-30
7
Medium Priority
?
2,590 Views
Last Modified: 2014-10-06
If I am logged in (as "admin") the "add to cart" links on my page work fine:
http://www.hovertrowel.com/smoothing-paddles/

(scroll down about half-way)

For the public, they do not work, and obviously I want them to. There is an option that redirects the user to the cart page after a successful addition, but since that is not happening, no redirect occurs, and the home page just reloads.

I've gotten no help on the WooCommerce forums, so trying my luck here! Would appreciate any advice.

Thank you!
0
Comment
Question by:bbdesign
  • 3
  • 3
7 Comments
 
LVL 29

Expert Comment

by:chilternPC
ID: 40353462
It could be another plugin clashing (ones that use javascript  ) with it - try disabling all other plugins and then retry.

it could be a php Session problem (check with your host)

also

check WooCommerce ->Settings->Pages
 -------------------------------------------------------------------
 X Prepend product permalinks with shop base page (shop) Note: The shop page has children - child pages will not work if you enable this option.
 -------------------------------------------------------------------
Untick it

Or  try

changing  the WP permalinks to default
0
 
LVL 15

Expert Comment

by:eemit
ID: 40355476
Not sure what do you want exactly, maybe this:

WooCommerce/Settings/Checkout/

Checkout Process
Checkout: Enable guest checkout
Allows customers to checkout without creating an account.
0
 

Accepted Solution

by:
bbdesign earned 0 total points
ID: 40355509
Thanks for the comments. I tried all of them out, did not fix. However, I think the problem is that the products were set to Private rather than Public.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 29

Expert Comment

by:chilternPC
ID: 40355517
yep that sounds about right.
0
 

Author Comment

by:bbdesign
ID: 40355556
Your suggestions were spot-on and helpful, but not the answer in this case. Not sure what I do with this question.
0
 
LVL 29

Expert Comment

by:chilternPC
ID: 40355589
you can either delete the question or take your answer as the solution (I think)
0
 

Author Closing Comment

by:bbdesign
ID: 40363221
Answers provided were good but not the solution. I ended up finding the solution on my own.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
While Plesk offers many potential benefits to website administrators, including compatibility with Windows Server and other leading technologies, the company has also been working to differentiate it from other control panels for content management…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question