Random Products appearing in customer cart
-
We are having random products showing up in customers’ carts. In fact, I had it happen to me as an admin as well.
This is a coffee sales site. On two separate occasions I’ve “shopped” our website and the site is randomly putting stuff in my shopping cart. I’ve tested it with K-cups and with standard bags of coffee – it either duplicates or puts in another product. In one case, I ended up with 6 items in my cart when I only put in two. This is also happening to customers. It’s causing huge problems for us. Please help!
The page I need help with: [log in to see the link]
-
Hello @webdesignbymark,
We are having random products showing up in customers’ carts. In fact, I had it happen to me as an admin as wel
I tried adding the k-cups to my cart and didn’t find any duplicate products in the cart whatsoever.
Are these “duplicate” products added before to the cart or purchased? This might be a cookie problem. 🙂
Could you also 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.
Look forward to hearing back from you.
### WordPress Environment ### WordPress address (URL): https://bonefrog-coffee.com Site address (URL): https://bonefrog-coffee.com WC Version: 7.0.0 REST API Version: ✔ 7.0.0 WC Blocks Version: ✔ 8.5.1 Action Scheduler Version: ✔ 3.5.2 Log Directory Writable: ✔ WP Version: 6.0.3 WP Multisite: – WP Memory Limit: 526 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache/2.4.54 (Unix) OpenSSL/1.1.1f PHP Version: 7.4.32 PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.68.0 OpenSSL/1.1.1f SUHOSIN Installed: – MySQL Version: 5.5.5-10.5.17-MariaDB-1:10.5.17+maria~ubu2004 Max Upload Size: 256 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 7.0.0 WC Database Prefix: wp_ Total Database Size: 125.61MB Database Data Size: 79.81MB Database Index Size: 45.80MB wp_woocommerce_sessions: Data: 5.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 1.52MB + Index: 0.41MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 11.52MB + Index: 8.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_acfw_store_credits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_acfw_virtual_coupons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.17MB + Index: 0.20MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.11MB + Index: 0.09MB + Engine InnoDB wp_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_campaigns: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_coupons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_customers: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp_affiliate_wp_direct_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_lifetime_customers: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_notifications: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_payouts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_referralmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_referrals: Data: 0.39MB + Index: 0.05MB + Engine InnoDB wp_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_sales: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_visits: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_as3cf_items: Data: 0.42MB + Index: 0.11MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 3.52MB + Index: 2.27MB + Engine InnoDB wp_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_entry: Data: 0.20MB + Index: 0.03MB + Engine InnoDB wp_gf_entry_meta: Data: 0.34MB + Index: 0.39MB + Engine InnoDB wp_gf_entry_notes: Data: 0.16MB + Index: 0.06MB + Engine InnoDB wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_kbp_countdown_entry: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_kbp_form_entry: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_kbp_form_entrymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_lecm_rewrite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nextend2_section_storage: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nextend2_smartslider3_sliders: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nextend2_smartslider3_slides: Data: 0.09MB + Index: 0.11MB + Engine InnoDB wp_options: Data: 6.44MB + Index: 0.25MB + Engine InnoDB wp_postmeta: Data: 30.56MB + Index: 21.06MB + Engine InnoDB wp_posts: Data: 3.52MB + Index: 0.92MB + Engine InnoDB wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_analytics_ga: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_rank_math_analytics_inspections: Data: 0.06MB + Index: 0.11MB + Engine InnoDB wp_rank_math_analytics_keyword_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shortpixel_postmeta: Data: 0.34MB + Index: 0.25MB + Engine InnoDB wp_shortpixel_queue: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 10.52MB + Index: 8.03MB + Engine InnoDB wp_users: Data: 0.50MB + Index: 0.42MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wcpdf_packing_slip_number: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.47MB + Index: 0.23MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_od_time_framemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_od_time_frames: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.22MB + Index: 0.23MB + Engine InnoDB wp_wc_order_stats: Data: 1.52MB + Index: 0.52MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 188 custom_css: 1 ip: 20 kadence_wootemplate: 7 nav_menu_item: 34 oembed_cache: 2 page: 17 post: 12 product: 25 product_variation: 80 revision: 5 shop_coupon: 2 shop_order: 6885 shop_order_refund: 8 shop_subscription: 176 wp_block: 4 wp_global_styles: 2 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (47) ### Gravity Forms: by Gravity Forms – 2.6.7 Advanced Coupons for WooCommerce Free: by Rymera Web Co – 4.5.0.2 Advanced Coupons for WooCommerce Premium: by Rymera Web Co – 3.5.1 Advanced Database Cleaner PRO: by Younes JFR. – 3.2.1 AffiliateWP - Lifetime Commissions: by Sandhills Development LLC – 1.6.1 AffiliateWP - PayPal Payouts: by Pippin Williamson and Andrew Munro – 1.4 AffiliateWP - Recurring Referrals: by Sandhills Development LLC – 1.9 AffiliateWP: by AffiliateWP – 2.9.7 AffiliateWP - Affiliate Area Tabs: by Sandhills Development LLC – 1.4 AffiliateWP - Affiliate Portal: by Sandhills Development LLC – 1.1.3 AffiliateWP - Affiliate Product Rates: by Sandhills Development LLC – 1.2 AffiliateWP - Allowed Products: by Sandhills Development LLC – 1.3 AffiliateWP - Checkout Referrals: by Sandhills Development LLC – 1.2 AffiliateWP - Direct Link Tracking: by Sandhills Development LLC – 1.3 AffiliateWP - Order Details For Affiliates: by Sandhills Development LLC – 1.3 WP Offload Media: by Delicious Brains – 3.0.2 Gravity Forms - Block IPs: by Bright Plugins – 1.0.0 Site Kit by Google: by Google – 1.86.0 Gravity Forms Constant Contact Add-On: by Gravity Forms – 1.7 Gravity Forms reCAPTCHA Add-On: by Gravity Forms – 1.1 Kadence Blocks - PRO Extension: by Kadence WP – 1.7.18 Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 2.4.17 Kadence Pro - Premium addon for the Kadence Theme: by Kadence WP – 1.0.7 Kadence Shop Kit: by Kadence WP – 2.0.8 Smart Slider 3 Pro: by Nextend – 3.5.1.11 Rank Math SEO PRO: by Rank Math – 3.0.22 Rank Math SEO: by Rank Math – 1.0.100.1 ShortPixel Image Optimizer: by ShortPixel – 5.1.1 Toolbox for WooCommerce Subscriptions - Shipping: by Grow Development – 1.0.1 Toolbox for WooCommerce Subscriptions: by Shop Plugins – 1.4.25 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 2.22.23.25 Use Any Font: by Dnesscarkey – 6.2.97 User Switching: by John Blackbourn & contributors – 1.7.0 Shippo Shipping PRO for WooCommerce: by OneTeamSoftware – 2.0.12 Multi-Carrier Shippo Shipping Rates & Address Validation for WooCommerce: by OneTeamSoftware – 1.5.7 WooCommerce All Products For Subscriptions: by WooCommerce – 4.0.2 WooCommerce Checkout Field Editor: by WooCommerce – 1.7.6 WooCommerce Stripe Gateway: by WooCommerce – 6.9.0 WooCommerce Order Delivery: by Themesquad – 2.2.2 WooCommerce PayPal Payments: by WooCommerce – 1.9.4 PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.2.3 WooCommerce PDF Invoices & Packing Slips Professional: by WP Overnight – 2.13.0 WooCommerce PDF Invoices & Packing Slips Premium Templates: by WP Overnight – 2.19.0 WooCommerce Subscriptions: by WooCommerce – 4.6.0 WooCommerce: by Automattic – 7.0.0 Sequential Order Numbers for WooCommerce: by WebToffee – 1.4.8 Zoho Mail: by Zoho Mail – 1.4.8 ### Inactive Plugins (2) ### AffiliateWP - Blocks: by Sandhills Development LLC – 1.0.1 Duplicate Page and Post: by Arjun Thakur – 2.9.1 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### 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) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: ✔ Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #1929 - /products/ Cart: #6 - /cart/ Checkout: #7 - /checkout/ My account: #8 - /my-account/ Terms and conditions: #2217 - /terms-conditions/ ### Theme ### Name: bonefrog Version: 1.0.0 Author URL: https://webdesignbymark.com/ Child Theme: ✔ Parent Theme Name: Kadence Parent Theme Version: 1.1.30 Parent Theme Author URL: https://www.kadencewp.com/ WooCommerce Support: ✔ ### Templates ### Overrides: /home/runcloud/webapps/Bonefrog-Coffee/wp-content/plugins/kadence-woo-extras/lib/gallery/product-image.php ### Subscriptions ### WCS_DEBUG: ✔ No Subscriptions Mode: ✔ Live Subscriptions Live URL: https://bonefrog-coffee.com Subscription Statuses: wc-active: 162 wc-pending-cancel: 3 wc-pending: 1 wc-on-hold: 2 wc-cancelled: 8 WooCommerce Account Connected: ✔ Yes Active Product Key: ❌ No Custom Retry Rules: ✔ No Custom Retry Rule Class: ✔ No Custom Raw Retry Rule: ✔ No Custom Retry Rule: ✔ No Retries Migration Status: ✔ Completed Report Cache Enabled: ✔ Yes Cache Update Failures: ✔ 0 failure ### Store Setup ### Country / State: United States (US) — Washington ### Subscriptions by Payment Gateway ### Stripe: wc-active: 162 wc-cancelled: 8 wc-on-hold: 2 wc-pending: 1 wc-pending-cancel: 3 ### Payment Gateway Support ### Stripe: products refunds tokenization add_payment_method subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes subscription_payment_method_change subscription_payment_method_change_customer subscription_payment_method_change_admin multiple_subscriptions PayPal: refunds ### WooCommerce PayPal Payments ### Onboarded: ✔ Shop country code: US WooCommerce currency supported: ✔ PayPal card processing available in country: ✔ Pay Later messaging available in country: ✔ Webhook status: ✔ Vault enabled: ✔ Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: – Tracking enabled: ✔ ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ✔ Next scheduled: 2022-10-30 23:29:57 -07:00 Options: ✔ Notes: 39 Onboarding: completed ### All Products for WooCommerce Subscriptions ### Template Overrides: – ### Action Scheduler ### Complete: 302 Oldest: 2022-10-29 09:59:59 -0700 Newest: 2022-10-30 09:34:57 -0700 Pending: 169 Oldest: 2022-10-30 09:56:31 -0700 Newest: 2028-09-26 06:30:05 -0700 Failed: 9 Oldest: 2022-09-18 18:05:46 -0700 Newest: 2022-10-16 18:06:40 -0700 ### Order Delivery ### Minimum working days: 0 Checkout location: After billing details Checkout options: calendar Max delivery days: 90 Delivery fields: optional Enable local pickup: ❌ Overrides: - ### Shipping Days ### Sunday: ❌ Cut-off time: - Monday: ✔ Cut-off time: - Tuesday: ✔ Cut-off time: - Wednesday: ✔ Cut-off time: - Thursday: ✔ Cut-off time: - Friday: ✔ Cut-off time: - Saturday: ❌ Cut-off time: - ### Delivery Ranges ### Default: 1 - 10 Shipping methods: - ### Delivery Days ### Sunday: ✔ Nº of orders: 0 Shipping methods: all Time frames: no Monday: ✔ Nº of orders: 0 Shipping methods: all Time frames: no Tuesday: ✔ Nº of orders: 0 Shipping methods: all Time frames: no Wednesday: ✔ Nº of orders: 0 Shipping methods: all Time frames: no Thursday: ✔ Nº of orders: 0 Shipping methods: all Time frames: no Friday: ✔ Nº of orders: 0 Shipping methods: all Time frames: no Saturday: ✔ Nº of orders: 0 Shipping methods: all Time frames: no ### Status report information ### Generated at: 2022-10-30 09:55:46 -07:00
I have tried to add the product to the cart, but I can’t replicate it on my end. You can take a look at this short gif: http://somup.com/c36wbrvaPI
Can you clear your browser cache by following this guide and try again, then send us the results? You can also try with another browser also check it in Chrome incognito mode.
Hi Amir
Thanks for looking into this for me.
I think the problem was the caching plugin. And from searching around this is a problem that others have encountered with caching as well. That said, what caching plugin do you recommend I use and where would I find specific instructions on how to configure it correctly to work with WC?
I’m glad you were able to find the culprit of your issue here and thanks for sharing it with the community too! 🙂
While there is a multitude of caching plugins available on the internet, I cannot recommend one. However, this support documentation could be a good starting point: Configuring caching plugins
Hope this helps!
- The topic ‘Random Products appearing in customer cart’ is closed to new replies.