Solved

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

Posted on 2014-09-30
7
1,152 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 28

Expert Comment

by:chilternPC
Comment Utility
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
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 28

Expert Comment

by:chilternPC
Comment Utility
yep that sounds about right.
0
 

Author Comment

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

Expert Comment

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

Author Closing Comment

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

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
This video teaches users how to migrate an existing Wordpress website to a new domain.

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now