Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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,311 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

 
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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

705 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