Getting a "Please choose product options by visiting" message when attempting to use add to cart button on woocommerce and failing to add to cart

Whenever I try to add a product to cart using “add to cart” button on my woocommerce shop it is unsuccessful and instead on account page has the notification “Please choose product options by visiting…”.

I tried deactivating all of my plugins and it did not fix the problem but when i deactivated my PRO theme and used a wordpress theme the problem went away leading me to believe that there is a conflict with the theme itself.

Hello Cassidy,

Thanks for posting in. This usually happen when you are trying to add a variable product to your cart. You need to select one of the product options before doing so. If your product does not have any variation, you may need to change the product type to “Simple”. Kindly check out this doc:

We would be happy to double check your site if we can log in. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.

Changing the product to a simple product did not fix the issue.

Hello Cassidy,

The password or username seems incorrect. It does not work for us. In the meantime, I was able to add a product to the cart. The problem I encountered is that youor cart page is not showing because of some errors in the console.

I would suggest that you temporarily disable your cache and optimizer plugins before testing the site again.

Best Regards.

Sorry about that! I updated the password to the correct one. I tried disabling those plugins and the problem persists. I can see the cart on my end after I attempt to add something to it, it just says that its empty.

Hey Cassidy,

The password still does not work for me.

I checked your products and they are variable products:

There must be missing in your custom layout. You should be using the “Add to Cart Form” element in the Woo Single product layout.

Thanks.

Again i apologize, I just checked and it was the email that was incorrect so i have updated it to the correct email in the note this time.

As for the Select options button, It only appears like that when I have added in the “related products” options in the cornerstone builder and does not give me the option to change the button to “add to cart” it just takes people to the main product page. But the problem still persists that from the main product page I am unable to add products to the cart at this time

Hi Cassidy,

I have checked and found that all the products on your website are variable products, to add to the cart you need to choose the variation available for the specific product. That is, the Add to Cart Button redirects it to the product details page.
In the product details page Layout you are using the Add to Cart Button element, instead of that please use the Add to Cart Form element to choose the variation and add the product to the cart.
I temporarily added the element and was able to add the product into the cart after choosing the variation.

Please remember to use the Add to Cart Form element in the Single WooCommerce layout to choose quantities for simple products and variation and quantities for variable products.

Hope it helps.
Thanks

Awesome, I added the Add to Cart Form on my single product page layout instead of the add to cart button and it solved my issue. Thank you so much for the help!

You are most welcome, Cassidy.