Shopping cart not updating
-
Hi there, I have a problem with my WordPress/WooCommerce installation. Whenever I want to add a product to my shopping cart, it ends up there for about two seconds, and then disappears again. I’ve tried the following things:
– Changing site theme
– Deactivating all plugins to see if any of them caused the issue
– Flushing all cache, both from WordPress itself and from the SiteGround tools
– Removed WooCommerce and installed it again
– Change PHP versionI’m kind of lost to what the cause can be, so I’m hoping you guys can help me out here, since the issues doesn’t seem to be with WooCommerce itself.
Kind regards
The page I need help with: [log in to see the link]
-
Hi @devriesrjj,
So with only the default Storefront theme and core WooCommerce plugin active the issue persists and the product added to the cart still disappears after few seconds, right?
This is a bit strange, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Also, do you see any Fatal Error under WooCommerce > Status > Logs? If yes, please copy and paste it here.
Thanks!
Hi @devriesrjj Please make sure that you are not serving cache to either the Cart or Checkout pages. Cache should never be served there. This will also depend on who you are hosted with as well.
Hi @rainfallnixfig, I’ve tried with three themes so far, but all seem to be giving me this result. I checked the logs, but there’s only mentioning of updates as far as I can see.
SYSTEM REPORT
### WordPress Environment ### WordPress address (URL): https://partystarterkit.nl Site address (URL): httpss://partystarterkit.nl WC Version: 5.5.1 REST API Version: ? 5.5.1 WC Blocks Version: ? 5.3.2 Action Scheduler Version: ? 3.2.1 WC Admin Version: ? 2.4.1 Log Directory Writable: ? WP Version: 5.7.2 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: nl_NL External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.21 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1k-fips SUHOSIN Installed: – MySQL Version: 5.7.32-35-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.5.1 WC Database Prefix: tgy_ Totale databasegrootte: 11.34MB Database datagrootte: 8.80MB Database index grootte: 2.54MB tgy_woocommerce_sessions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB tgy_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB tgy_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB tgy_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_actionscheduler_actions: Data: 0.11MB + Index: 0.13MB + Engine InnoDB tgy_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_actionscheduler_logs: Data: 0.09MB + Index: 0.06MB + Engine InnoDB tgy_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_comments: Data: 0.11MB + Index: 0.09MB + Engine InnoDB tgy_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_options: Data: 3.52MB + Index: 0.08MB + Engine InnoDB tgy_postmeta: Data: 1.52MB + Index: 0.47MB + Engine InnoDB tgy_posts: Data: 1.52MB + Index: 0.13MB + Engine InnoDB tgy_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB tgy_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_revslider_sliders_bkp: Data: 0.06MB + Index: 0.02MB + Engine InnoDB tgy_revslider_slides: Data: 0.06MB + Index: 0.02MB + Engine InnoDB tgy_revslider_slides_bkp: Data: 0.16MB + Index: 0.02MB + Engine InnoDB tgy_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_soo_wishlists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_soo_wishlists_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_usermeta: Data: 0.03MB + Index: 0.03MB + Engine InnoDB tgy_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB tgy_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB tgy_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB tgy_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB tgy_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB tgy_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_webwinkelkeur_invite_error: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB tgy_yoast_indexable: Data: 0.16MB + Index: 0.11MB + Engine InnoDB tgy_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB tgy_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB tgy_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB tgy_yoast_seo_links: Data: 0.13MB + Index: 0.09MB + Engine InnoDB tgy_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 46 custom_css: 3 customize_changeset: 44 elementor_library: 1 mc4wp-form: 1 nav_menu_item: 57 oembed_cache: 2 page: 64 portfolio: 33 post: 26 product: 63 product_variation: 2 revision: 212 shop_coupon: 1 shop_order: 2 wpcf7_contact_form: 1 wpforms: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (23) ### Contact Form 7: door Takayuki Miyoshi – 5.4.2 Cookie Notice & Compliance for GDPR / CCPA: door Hu-manity.co – 2.1.0 Facebook for WooCommerce: door Facebook – 2.6.1 WPBakery Page Builder: door Michael M - WPBakery.com – 6.6.0 Kirki Customizer Framework: door David Vongries – 3.1.8 Google Ads & Marketing by Kliken: door Kliken – 1.0.7 Meta Box: door MetaBox.io – 5.4.6 Page scroll to id: door malihu – 1.7.3 Slider Revolution: door ThemePunch – 6.5.4 SiteGround Optimizer: door SiteGround – 5.8.2 Sober Addons: door UIX Themes – 1.5.3 Soo Demo Importer: door SooThemes – 1.0 Soo Product Filter: door UIX Themes – 1.0.8 Soo Wishlist: door UIX Themes – 1.2.5 UpdraftPlus - Backup/Restore: door UpdraftPlus.Com DavidAnderson – 1.16.56 Variation Swatcher for WooCommerce: door ThemeAlien – 1.0.11 WebwinkelKeur: door Albert Peschar – 3.12 WOOCS - WooCommerce Currency Switcher: door realmag777 – 1.3.6.2 WooCommerce PayPal Checkout Gateway: door WooCommerce – 2.1.2 WooCommerce Stripe Gateway: door WooCommerce – 5.2.3 WooCommerce Shipping & Tax: door WooCommerce – 1.25.17 WooCommerce: door Automattic – 5.5.1 Yoast SEO: door Team Yoast – 16.7 ### Inactive Plugins (0) ### ### Settings ### API Enabled: ? Force SSL: – Currency: EUR (€) 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) Connected to WooCommerce.com: ? ### WC Pages ### Winkelbasis: #396 - /shop/ Winkelmand: #397 - /cart/ Afrekenen: #398 - /checkout/ Mijn account: ? De pagina moet als Openbaar zijn ingesteld Algemene voorwaarden: #472 - /algemene-voorwaarden/ ### Theme ### Name: Sober Version: 3.1.3 Author URL: https://uix.store Child Theme: ? – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt raden we het gebruik van een child thema aan. Zie: Hoe maak je een child thema WooCommerce Support: ? ### Templates ### Overrides: sober/woocommerce/cart/cart-shipping.php sober/woocommerce/cart/cart.php sober/woocommerce/cart/mini-cart.php sober/woocommerce/checkout/form-checkout.php sober/woocommerce/checkout/form-coupon.php sober/woocommerce/checkout/form-login.php sober/woocommerce/checkout/review-order.php sober/woocommerce/global/form-login.php sober/woocommerce/global/quantity-input.php sober/woocommerce/global/wrapper-end.php sober/woocommerce/global/wrapper-start.php sober/woocommerce/loop/add-to-cart.php sober/woocommerce/loop/price.php sober/woocommerce/loop/result-count.php sober/woocommerce/myaccount/dashboard.php sober/woocommerce/myaccount/form-edit-account.php sober/woocommerce/myaccount/form-login.php sober/woocommerce/myaccount/my-address.php sober/woocommerce/notices/error.php sober/woocommerce/notices/success.php sober/woocommerce/order/form-tracking.php sober/woocommerce/single-product/add-to-cart/external.php sober/woocommerce/single-product/add-to-cart/grouped.php sober/woocommerce/single-product/add-to-cart/simple.php sober/woocommerce/single-product/add-to-cart/variable.php sober/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php sober/woocommerce/single-product/product-image.php sober/woocommerce/single-product/product-thumbnails.php sober/woocommerce/single-product/related.php sober/woocommerce/single-product/review-meta.php sober/woocommerce/single-product/tabs/additional-information.php sober/woocommerce/single-product/tabs/tabs.php sober/woocommerce/single-product/up-sells.php sober/woocommerce/single-product-reviews.php ### Action Scheduler ### Afgerond: 281 Oldest: 2021-06-20 16:16:32 +0000 Newest: 2021-07-16 08:22:54 +0000 ### Status report information ### Generated at: 2021-07-16 08:22:57 +00:00
Hi @serafinnyc, is that something I should be able to find in my hosting dashboard? I already contacted the hosting provider, and they couldn’t find anything weird.
Hi @devriesrjj,
As correctly advised by @serafinnyc you have to make sure that the Cart and Checkout pages are not being cached. You can check that with your host.
There are a few more things you can try. The first one is to enable debug logging in WordPress. To do that, edit the
wp-config.php
file in the root folder of the site on the server. Add this:define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', true );
As errors are logged, they should appear in
wp-content/debug.log
. You can open this file in a text editor and go from there.Keep us updated on this.
Hi @rainfallnixfig, I added the snippet you provided, but I’m not getting any errors. I’ve asked the hosting party to take a look again, since I also believe it to be a caching issue.
Hi there,
Thanks for updating us on this issue.
I’ve asked the hosting party to take a look again, since I also believe it to be a caching issue.
Most likely this is something your hosting company can investigate and help solve if it’s server-side caching related.
Let us know how that goes. We’ll be here to help further.
Hi there,
We’ve not heard back from you in a while so I’ll go ahead and mark this thread as resolved. Hopefully, you were able to find a way forward with the issue.
Please feel free to create a new thread on the forum if you need further help.
Thanks.
- The topic ‘Shopping cart not updating’ is closed to new replies.