Cart not clearing
-
Hi, i have a woocommerce site and the cart doesnt clear after some time. It used to not clear after purchases as well but i put a code that cleared it and it worked.
Now i cant figure out how to make it clear after some time, so the cart will be there forever as long as the user doesnt clear the cart, cache or anything else like that. I heard woocommerce has a 48 hour auto clear but it doesnt seem to clear. Any help would be much appreciated!
Thanks!
The page I need help with: [log in to see the link]
-
Hi @kwmarket,
So that we can take a closer look at your setup, kindly share with us a copy of your System Status from WooCommerce > Status.
Thanks.
Hi Abwaita, here it is.
Thanks!### WordPress Environment ### WordPress address (URL): https://dearjflower.com Site address (URL): https://dearjflower.com WC Version: 5.1.0 REST API Version: ? 5.1.0 WC Blocks Version: ? 4.4.3 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.0.2 Log Directory Writable: ? WP Version: ? 5.6.4 - There is a newer version of WordPress available (5.7.2) WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.16 PHP Post Max Size: 32 MB PHP Time Limit: 90 PHP Max Input Vars: 1000 cURL Version: 7.61.1 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.19-MariaDB Max Upload Size: 32 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.0.0 WC Database Prefix: djfv2_ Total Database Size: 151.60MB Database Data Size: 110.09MB Database Index Size: 41.51MB djfv2_woocommerce_sessions: Data: 1.34MB + Index: 0.02MB + Engine MyISAM djfv2_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_order_items: Data: 0.72MB + Index: 0.43MB + Engine MyISAM djfv2_woocommerce_order_itemmeta: Data: 13.93MB + Index: 4.70MB + Engine MyISAM djfv2_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine MyISAM djfv2_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_actionscheduler_actions: Data: 2.94MB + Index: 1.09MB + Engine MyISAM djfv2_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM djfv2_actionscheduler_logs: Data: 1.74MB + Index: 1.38MB + Engine MyISAM djfv2_bv_fw_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB djfv2_bv_ip_store: Data: 0.23MB + Index: 0.20MB + Engine InnoDB djfv2_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB djfv2_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM djfv2_comments: Data: 4.99MB + Index: 2.06MB + Engine MyISAM djfv2_csshero4: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_followup_coupons: Data: 0.02MB + Index: 0.03MB + Engine InnoDB djfv2_followup_coupon_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB djfv2_followup_customers: Data: 0.34MB + Index: 0.55MB + Engine InnoDB djfv2_followup_customer_carts: Data: 1.44MB + Index: 0.11MB + Engine InnoDB djfv2_followup_customer_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB djfv2_followup_customer_orders: Data: 0.31MB + Index: 0.13MB + Engine InnoDB djfv2_followup_email_excludes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB djfv2_followup_email_logs: Data: 0.09MB + Index: 0.05MB + Engine InnoDB djfv2_followup_email_orders: Data: 0.31MB + Index: 0.13MB + Engine InnoDB djfv2_followup_email_tracking: Data: 0.06MB + Index: 0.08MB + Engine InnoDB djfv2_followup_followup_history: Data: 0.16MB + Index: 0.05MB + Engine InnoDB djfv2_followup_order_categories: Data: 0.42MB + Index: 0.41MB + Engine InnoDB djfv2_followup_order_items: Data: 0.23MB + Index: 0.28MB + Engine InnoDB djfv2_followup_subscribers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB djfv2_followup_subscribers_to_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB djfv2_followup_subscriber_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB djfv2_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_gf_entry: Data: 0.08MB + Index: 0.01MB + Engine MyISAM djfv2_gf_entry_meta: Data: 0.19MB + Index: 0.14MB + Engine MyISAM djfv2_gf_entry_notes: Data: 0.06MB + Index: 0.02MB + Engine MyISAM djfv2_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_gf_form_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_gf_form_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_gf_form_view: Data: 0.01MB + Index: 0.01MB + Engine MyISAM djfv2_hplugin_root: Data: 0.02MB + Index: 0.00MB + Engine InnoDB djfv2_itsec_distributed_storage: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_itsec_fingerprints: Data: 1.90MB + Index: 0.69MB + Engine MyISAM djfv2_itsec_geolocation_cache: Data: 0.23MB + Index: 0.12MB + Engine MyISAM djfv2_itsec_lockouts: Data: 0.07MB + Index: 0.02MB + Engine MyISAM djfv2_itsec_logs: Data: 15.80MB + Index: 2.96MB + Engine MyISAM djfv2_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_itsec_temp: Data: 1.04MB + Index: 0.95MB + Engine MyISAM djfv2_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_mailchimp_carts: Data: 1.45MB + Index: 0.03MB + Engine MyISAM djfv2_mailchimp_jobs: Data: 0.91MB + Index: 0.04MB + Engine MyISAM djfv2_options: Data: 5.33MB + Index: 0.24MB + Engine MyISAM djfv2_pmxe_exports: Data: 0.03MB + Index: 0.00MB + Engine MyISAM djfv2_pmxe_google_cats: Data: 0.26MB + Index: 0.05MB + Engine MyISAM djfv2_pmxe_posts: Data: 0.10MB + Index: 0.04MB + Engine MyISAM djfv2_pmxe_templates: Data: 0.01MB + Index: 0.00MB + Engine MyISAM djfv2_postmeta: Data: 27.87MB + Index: 13.30MB + Engine MyISAM djfv2_posts: Data: 5.15MB + Index: 0.73MB + Engine MyISAM djfv2_rank_math_404_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM djfv2_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB djfv2_rank_math_analytics_objects: Data: 0.05MB + Index: 0.02MB + Engine InnoDB djfv2_rank_math_internal_links: Data: 0.04MB + Index: 0.01MB + Engine MyISAM djfv2_rank_math_internal_meta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM djfv2_rank_math_redirections: Data: 0.01MB + Index: 0.00MB + Engine MyISAM djfv2_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine MyISAM djfv2_rank_math_sc_analytics: Data: 1.62MB + Index: 0.53MB + Engine MyISAM djfv2_shortpixel_folders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_shortpixel_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_social_users: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_termmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM djfv2_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM djfv2_term_relationships: Data: 0.09MB + Index: 0.17MB + Engine MyISAM djfv2_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM djfv2_usermeta: Data: 12.76MB + Index: 7.45MB + Engine MyISAM djfv2_users: Data: 0.70MB + Index: 0.66MB + Engine MyISAM djfv2_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM djfv2_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM djfv2_wc_bookings_availability: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_wc_bookings_availabilitymeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_wc_booking_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_wc_customer_lookup: Data: 0.33MB + Index: 0.28MB + Engine MyISAM djfv2_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM djfv2_wc_order_product_lookup: Data: 0.41MB + Index: 0.40MB + Engine MyISAM djfv2_wc_order_stats: Data: 0.28MB + Index: 0.19MB + Engine MyISAM djfv2_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_wc_product_meta_lookup: Data: 0.02MB + Index: 0.05MB + Engine MyISAM djfv2_wc_reserved_stock: Data: 0.01MB + Index: 0.00MB + Engine MyISAM djfv2_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM djfv2_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_exported_csv_items: Data: 3.23MB + Index: 0.06MB + Engine MyISAM djfv2_woocommerce_exported_xml_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_woocommerce_pickup_locations_geodata: Data: 0.00MB + Index: 0.01MB + Engine MyISAM djfv2_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM djfv2_wpml_mails: Data: 0.11MB + Index: 0.00MB + Engine InnoDB djfv2_yith_wcwl: Data: 0.16MB + Index: 0.08MB + Engine MyISAM djfv2_yith_wcwl_lists: Data: 0.22MB + Index: 0.13MB + Engine MyISAM djfv2_yith_ywrac_email_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### attachment: 684 blocks: 2 bookable_resource: 1 copy-to-clipboard: 1 custom_css: 1 customize_changeset: 6 export_template: 1 follow_up_email: 3 mc4wp-form: 1 nav_menu_item: 24 page: 26 post: 2 postman_sent_mail: 250 product: 238 product_option_group: 3 product_variation: 4 revision: 433 shop_coupon: 10 shop_order: 6335 shop_order_refund: 29 tm_global_cp: 9 wc_booking: 6 wc_pickup_location: 1 wpcf7_contact_form: 2 ywrac_cart: 1 ywrac_email: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (29) ### WordPress Backup & Security Plugin - BlogVault: by Backup by BlogVault – 4.58 Classic Editor: by WordPress Contributors – 1.6 Contact Form 7: by Takayuki Miyoshi – 5.3.2 Duplicate Page: by mndpsingh287 – 4.3 Facebook for WooCommerce: by Facebook – 2.1.4 iThemes Security Pro: by iThemes – 6.5.6 Mailchimp for WooCommerce: by Mailchimp – 2.5.0 Nextend Social Login: by Nextendweb – 3.0.26 Post SMTP: by Yehuda Hassine – 2.0.16 Rank Math SEO: by Rank Math – 1.0.55 ShortPixel Adaptive Images: by ShortPixel – 2.1.2 ShortPixel Image Optimizer: by ShortPixel – 4.21.1 WooCommerce Checkout Field Editor: by WooCommerce – 1.5.27 Follow-Up Emails: by WooCommerce – 4.9.12 WooCommerce iPay88 Payment Gateway: by – WooCommerce Google Analytics Integration: by WooCommerce – 1.5.0 WooCommerce Print Invoices/Packing Lists: by SkyVerge – 3.8.6 WooCommerce Product Add-ons: by WooCommerce – 3.0.21 WooCommerce Product Dependencies: by SomewhereWarm – 1.2.5 Product Options for WooCommerce: by WPShowCase – 6.8 WooCommerce Local Pickup Plus: by SkyVerge – 2.7.2 WooCommerce - Store Exporter Deluxe: by Visser Labs – 4.7 WooCommerce TM Extra Product Options: by themeComplete – 4.9.12.1 WooCommerce: by Automattic – 5.1.0 (update to version 5.3.0 is available) WooSidebars: by WooCommerce – 1.4.5 ReCaptcha v2 for Contact Form 7: by IQComputing – 1.3.3 YITH WooCommerce Added to Cart Popup Premium: by YITH – 1.6.0 YITH WooCommerce Multi-step Checkout Premium: by YITH – 1.8.0 YITH WooCommerce Wishlist: by YITH – 3.0.17 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: MYR (RM) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: booking (booking) 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 ### Shop base: #428 - /shop/ Cart: #429 - /cart/ Checkout: #430 - /checkout/ My account: #431 - /my-account/ Terms and conditions: #2616 - /terms-and-conditions/ ### Theme ### Name: Dear J Flower Version: 3.0 Author URL: Child Theme: ? Parent Theme Name: Flatsome Parent Theme Version: 3.10.1 Parent Theme Author URL: https://www.uxthemes.com/ WooCommerce Support: ? ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php /home/dearjflo/public_html/wp-content/plugins/woocommerce-tm-extra-product-options/templates/cart/cart-item-data.php flatsome/woocommerce/cart/cart-shipping.php flatsome/woocommerce/cart/cart.php flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome/woocommerce/checkout/terms.php flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/content-widget-product.php flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php version 3.6.0 is out of date. The core version is 4.0.0 flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-login.php version 3.6.0 is out of date. The core version is 4.1.0 flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php version 3.5.0 is out of date. The core version is 3.9.0 flatsome/woocommerce/notices/notice.php version 3.5.0 is out of date. The core version is 3.9.0 flatsome/woocommerce/notices/success.php version 3.5.0 is out of date. The core version is 3.9.0 flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php version 3.0.0 is out of date. The core version is 3.9.0 flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php version 3.6.0 is out of date. The core version is 4.3.0 flatsome/woocommerce/single-product.php flatsome/woocommerce/content-product_cat.php version 2.6.1 is out of date. The core version is 4.7.0 Outdated Templates: ? Learn how to update ### Local Pickup Plus ### Status: ? Enabled Geocoding: – Pickup Locations: 1 Pickup Appointments: – Pickup Location Tax: – Checkout Display: Pickup selection mode: per orderCart item handling mode: automatic groupingDefault cart item handling: ship items ### Action Scheduler ### Canceled: 7 Oldest: 2021-05-05 13:47:23 +0000 Newest: 2021-05-19 08:04:34 +0000 Complete: 9,828 Oldest: 2021-04-23 14:10:28 +0000 Newest: 2021-05-24 13:47:35 +0000 Pending: 10 Oldest: 2021-05-24 14:02:35 +0000 Newest: 2021-05-31 00:47:53 +0000 ### Templates ### Extended logging mode for Store Exporter Deluxe: ?Inactive?Turn on Logging mode Debugging mode for Store Exporter Deluxe: ?Inactive?Turn on Debugging mode Scheduled Export to FTP: ? Scheduled Export to SFTP: ? The required SFTP functions are not available; ssh2_connect() ssh2_auth_password() ssh2_sftp(). Contact your hosting provider. ### Status report information ### Generated at: 2021-05-24 21:59:02 +08:00
Hey there!
This is almost always caused by caching on the site. It doesn’t look like you have caching plugins on the site, so likely the caching is done on the server side.
WooCommerce doesn’t save page content, that would be externally done, by caching.
Check with your host to see if they can have the cart, checkout, and My Account pages set to not be cached on your site.
Alright I’ll ask the hosting to check this out. Thanks so much for the replies! I’ll update if anything
Hey again!
Keep us updated if you need more from us, but I think that your hosts are the best suited to helping this.
We haven’t heard back from you in a while, so hopefully your hosting as been able to get this sorted!
I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
- The topic ‘Cart not clearing’ is closed to new replies.