Re-adding product to cart does not work

WooCommerce bug: I cannot re-add a product after it has been removed from the cart. Here are the steps to reproduce:

  1. Add a product, redirected to cart page
  2. Remove product by clicking “x” on cart page
  3. Click “Return to Shop”
  4. Re-add product
  5. Empty cart
    I have disabled caching, checked status of WooCommerce files and cookies. Anyone else experience this or have a solution? I do have autoptimize on but only for HTML / CSS.

I have disabled all plugins except:

  • Contact Form 7
  • Flamingo
  • Global Blocks for Cornerstone X Pro
  • Google Analyticator
  • WooCommerce

All caching and optimization plugins disabled.

WooCommerce report:

`
### WordPress Environment ###

Home URL: http://entertainmenthub.tv
Site URL: http://entertainmenthub.tv
WC Version: 3.1.2
Log Directory Writable: ✔
WP Version: 4.8.2
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US

### Server Environment ###

Server Info: Apache
PHP Version: 7.0.18
PHP Post Max Size: 64 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.19.7
NSS/3.27.1

SUHOSIN Installed: –
MySQL Version: ❌ 5.5.51 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements
Max Upload Size: 64 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

WC Database Version: 3.1.2
WC Database Prefix: wp_
woocommerce_sessions: ✔
woocommerce_api_keys: ✔
woocommerce_attribute_taxonomies: ✔
woocommerce_downloadable_product_permissions: ✔
woocommerce_order_items: ✔
woocommerce_order_itemmeta: ✔
woocommerce_tax_rates: ✔
woocommerce_tax_rate_locations: ✔
woocommerce_shipping_zones: ✔
woocommerce_shipping_zone_locations: ✔
woocommerce_shipping_zone_methods: ✔
woocommerce_payment_tokens: ✔
woocommerce_payment_tokenmeta: ✔

### Security ###

Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
Hide errors from visitors: ✔

### Active Plugins (5) ###

Contact Form 7: by Takayuki Miyoshi – 4.9
Flamingo: by Takayuki Miyoshi – 1.7
Global Blocks for Cornerstone and X Pro: by Michael Bourne – 1.3.2
Google Analyticator: by SumoMe – 6.5.4
WooCommerce: by Automattic – 3.1.2

### Settings ###

API Enabled: ✔
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)


### WC Pages ###

Shop base: #102 - /shop/
Cart: #22 - /cart/
Checkout: #23 - /checkout/
My account: #24 - /my-account/

### Theme ###

Name: Pro – Child Theme
Version: 1.0.0
Author URL: http://theme.co/
Child Theme: ✔
Parent Theme Name: Pro
Parent Theme Version: 1.2.3
Parent Theme Author URL: http://theme.co/
WooCommerce Support: ✔

### Templates ###

Archive Template: Your theme has a woocommerce.php file
you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.

Overrides: pro/woocommerce/cart/cross-sells.php
x-child/woocommerce/checkout/form-checkout.php
pro/woocommerce/loop/loop-end.php
pro/woocommerce/loop/loop-start.php
pro/woocommerce/loop/pagination.php
pro/woocommerce/notices/error.php
pro/woocommerce/notices/notice.php
pro/woocommerce/notices/success.php
pro/woocommerce/single-product/related.php
pro/woocommerce/single-product/tabs/tabs.php
pro/woocommerce/single-product/up-sells.php
pro/woocommerce/single-product-reviews.php

`

Just checking back 24+ hours later. Any input?

Hi,

I tried the steps in my test sites but I can’t replicate the issue.

Can you confirm that you are fully updated? (Theme and Plugins)

You can find the latest version numbers here: (http://theme.co/changelog/) Then you can compare them to what’s installed on your site.

If you find anything to be out of date, you can review our update guide.

Please also check your plugins version numbers and make sure the they are compatible.

Hope that helps.

Thank you for your response. Looks like I have WooCommerce 3.1.1. What is the best way to downgrade?

Ok, I downgraded to WooCommerce 3.1.1. I am still having the same issue outlined above.

Hi,

Would you mind providing us with login credentials so we can take a closer look? Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

All the best!

You bet. I’ll post a secure note in this reply as well.

Ok, so this is working now. I’m going to adjust some settings and see if I can get the site optimized again without jacking up the cart…

Please let us know how it goes.

Thanks