• Resolved boxingkoala

    (@boxingkoala)


    Hi. Have had a few customers mention this issue. It seems some customers have their cart clear after they login. it appears the come to the website, add what they want to order, then login and after logging in find their cart is empty.

    Any ideas on why this may be happening? I have not been able to replicate the issue myself.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter boxingkoala

    (@boxingkoala)

    I should add I use woocommerce

    WordPress Environment
    
    WordPress address (URL): https://www.davesseed.com
    Site address (URL): https://www.davesseed.com
    WC Version: 7.3.0
    REST API Version: ?</img> 7.3.0
    WC Blocks Version: ?</img> 9.1.5
    Action Scheduler Version: ?</img> 3.5.3
    Log Directory Writable: ?</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ?</img>
    Language: en_US
    External object cache: –
    
    Server Environment
    
    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.66.0
    OpenSSL/1.1.1q-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.39-42-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?</img>
    fsockopen/cURL: ?</img>
    SoapClient: ?</img>
    DOMDocument: ?</img>
    GZip: ?</img>
    Multibyte String: ?</img>
    Remote Post: ?</img>
    Remote Get: ?</img>
    
    Database
    
    WC Database Version: 7.3.0
    WC Database Prefix: yva_
    Total Database Size: 117.77MB
    Database Data Size: 74.90MB
    Database Index Size: 42.87MB
    yva_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    yva_woocommerce_order_items: Data: 0.20MB + Index: 0.08MB + Engine InnoDB
    yva_woocommerce_order_itemmeta: Data: 2.52MB + Index: 2.03MB + Engine InnoDB
    yva_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    yva_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_404_to_301: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_actionscheduler_actions: Data: 2.02MB + Index: 1.19MB + Engine InnoDB
    yva_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_actionscheduler_logs: Data: 2.02MB + Index: 1.33MB + Engine InnoDB
    yva_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_cartbounty_pro: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    yva_cartbounty_pro_coupons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_cartbounty_pro_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_cartflows_ca_cart_abandonment: Data: 1.47MB + Index: 0.02MB + Engine InnoDB
    yva_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_cff_facebook_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_cff_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_cff_feed_caches: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_cff_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_comments: Data: 0.33MB + Index: 0.28MB + Engine InnoDB
    yva_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_itsec_dashboard_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    yva_itsec_logs: Data: 0.06MB + Index: 0.11MB + Engine InnoDB
    yva_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    yva_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_options: Data: 21.09MB + Index: 0.34MB + Engine InnoDB
    yva_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_popularpostsdata: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    yva_popularpostssummary: Data: 1.52MB + Index: 2.41MB + Engine InnoDB
    yva_popularpoststransients: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_postmeta: Data: 13.52MB + Index: 4.03MB + Engine InnoDB
    yva_posts: Data: 5.52MB + Index: 0.31MB + Engine InnoDB
    yva_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_rank_math_analytics_gsc: Data: 19.05MB + Index: 27.72MB + Engine InnoDB
    yva_rank_math_analytics_inspections: Data: 0.25MB + Index: 0.14MB + Engine InnoDB
    yva_rank_math_analytics_objects: Data: 0.14MB + Index: 0.05MB + Engine InnoDB
    yva_rank_math_internal_links: Data: 0.33MB + Index: 0.11MB + Engine InnoDB
    yva_rank_math_internal_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    yva_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_sbi_feed_caches: Data: 0.23MB + Index: 0.02MB + Engine InnoDB
    yva_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_sbi_instagram_posts: Data: 0.27MB + Index: 0.00MB + Engine InnoDB
    yva_sbi_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_sgs_log_events: Data: 0.42MB + Index: 0.00MB + Engine InnoDB
    yva_sgs_log_visitors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_smush_dir_images: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    yva_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_social_users: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_stock_log: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    yva_termmeta: Data: 0.09MB + Index: 0.11MB + Engine InnoDB
    yva_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    yva_term_taxonomy: Data: 0.13MB + Index: 0.03MB + Engine InnoDB
    yva_UPCP_Catalogues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_Catalogue_Items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_Categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_Custom_Fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_Fields_Meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_Items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_Item_Images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_SubCategories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_Tagged_Items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_Tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_Tag_Groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_UPCP_Videos: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_usermeta: Data: 0.36MB + Index: 0.22MB + Engine InnoDB
    yva_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    yva_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    yva_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    yva_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wc_customer_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    yva_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_wc_order_product_lookup: Data: 0.28MB + Index: 0.27MB + Engine InnoDB
    yva_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    yva_wc_order_tax_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    yva_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_wc_product_meta_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    yva_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wd_fb_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wd_fb_info: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wd_fb_option: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wd_fb_shortcode: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wd_fb_theme: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    yva_wfpklist_template_data: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    yva_woo_shippment_provider: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    yva_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    yva_yoast_indexable: Data: 0.23MB + Index: 0.11MB + Engine InnoDB
    yva_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    yva_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    yva_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    yva_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    Post Type Counts
    
    acoplw_badges: 3
    acoplw_prod_list: 2
    attachment: 1074
    cartflows_flow: 1
    cartflows_step: 2
    cookielawinfo: 6
    custom_css: 9
    e-landing-page: 7
    elementor_library: 4
    itsec-dash-card: 6
    itsec-dashboard: 1
    mc4wp-form: 1
    nav_menu_item: 26
    oembed_cache: 1
    page: 19
    post: 36
    postman_sent_mail: 250
    product: 558
    product_variation: 195
    revision: 1
    shop_coupon: 5
    shop_order: 1204
    wp_global_styles: 1
    wpforms: 1
    
    Security
    
    Secure connection (HTTPS): ?</img>
    Hide errors from visitors: ?</img>
    
    Active Plugins (39)
    
    Acowebs Product Labels For Woocommerce: by Acowebs – 1.4.6
    Starter Templates: by Brainstorm Force – 3.1.23
    Astra Widgets: by Brainstorm Force – 1.2.12
    Autoptimize: by Frank Goossens (futtta) – 3.1.5
    BBQ Firewall: by Jeff Starr – 20221002
    Code Snippets: by Code Snippets Pro – 3.2.2
    Smash Balloon Custom Facebook Feed: by Smash Balloon – 4.1.6
    Elementor: by Elementor.com – 3.10.1
    ElementsKit Lite: by Wpmet – 2.8.1
    Essential Addons for Elementor: by WPDeveloper – 5.5.2
    Site Kit by Google: by Google – 1.92.0
    Smash Balloon Instagram Feed: by Smash Balloon – 6.1.1
    Jetpack: by Automattic – 11.7.1
    Post SMTP: by Post SMTP – 2.3.2
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: by WebToffee – 4.0.4
    PW WooCommerce Gift Cards: by Pimwick
    LLC – 1.226
    
    Rank Math SEO: by Rank Math – 1.0.106
    Sidebar Manager: by Brainstorm Force – 1.1.7
    Simple Banner: by Ryan Petersen – 2.12.2
    Simple Social Buttons: by WPBrigade – 4.0.3
    Social Media Feather: by socialmediafeather – 2.1.3
    StockPack – Stock images in WordPress: by Derikon Development – 3.3.6
    Woocommerce Table Rate Shipping Pro: by JEM Plugins – 2.4.10
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.24
    
    Password Strength Settings for WooCommerce: by Daniel Santoro – 3.0.0
    Advanced Shipment Tracking for WooCommerce: by zorem – 3.5.1
    WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.21
    CartBounty Pro - Save and recover abandoned carts for WooCommerce: by Streamline.lv – 9.9.1.2
    WooCommerce Extended Coupon Features FREE: by Soft79 – 3.2.9
    Extra Product Sorting Options for WooCommerce: by SkyVerge – 2.9.1
    WooCommerce Eway Payment Gateway: by WooCommerce – 3.5.2
    WooCommerce Stripe Gateway: by WooCommerce – 7.0.2
    WooCommerce Google Analytics Integration: by WooCommerce – 1.5.19
    WooCommerce Payments: by Automattic – 5.3.0
    WooCommerce PayPal Payments: by WooCommerce – 2.0.1
    WooCommerce: by Automattic – 7.3.0
    WordPress Popular Posts: by Hector Cabrera – 6.1.1
    SiteGround Central: by SiteGround – 2.0.9
    Smush: by WPMU DEV – 3.12.4
    
    Inactive Plugins (7)
    
    Health Check & Troubleshooting: by The www.remarpro.com community – 1.5.1
    iThemes Security: by iThemes – 8.1.4
    Maintenance: by WebFactory Ltd – 4.07
    ShopLentor – WooCommerce Builder for Elementor & Gutenberg: by HasThemes – 2.5.4
    SiteGround Optimizer: by SiteGround – 7.2.9
    SiteGround Security: by SiteGround – 1.3.8
    Sold Out Badge for WooCommerce: by Charlie Etienne – 4.3.5
    
    Must Use Plugins (2)
    
    Elementor Safe Mode: by Elementor.com – 1.0.0
    Health Check Troubleshooting Mode: by – 1.7.2
    
    Settings
    
    API Enabled: ?</img>
    Force SSL: ?</img>
    Currency: AUD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    pw gift card (pw-gift-card)
    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: ?</img>
    Enforce Approved Product Download Directories: –
    Order datastore: WC_Order_Data_Store_CPT
    
    WC Pages
    
    Shop base: #7662 - /shop/
    Cart: #97 - /cart/
    Checkout: #98 - /checkout/
    My account: #99 - /my-account/
    Terms and conditions: #4756 - /about/terms-conditions/
    
    Theme
    
    Name: Astra
    Version: 4.0.2
    Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    Child Theme: ?</img> – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ?</img>
    
    Templates
    
    Overrides: –
    
    WooCommerce PayPal Payments
    
    Onboarded: ?</img>
    Shop country code: AU
    WooCommerce currency supported: ?</img>
    Advanced Card Processing available in country: ?</img>
    Pay Later messaging available in country: ?</img>
    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
    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: ?</img> Next scheduled: 2023-01-25 09:54:46 +10:00
    Options: ?</img>
    Notes: 75
    Onboarding: completed
    
    WooCommerce Payments
    
    Version: 5.3.0
    Connected to WPCOM: Yes
    Blog ID: 192467009
    Account ID: acct_1J7W3d2ERw1yWVGM
    
    Action Scheduler
    
    Canceled: 76
    Oldest: 2022-12-27 06:09:03 +0000
    Newest: 2023-01-11 21:25:06 +0000
    
    Complete: 3,362
    Oldest: 2022-12-27 18:53:41 +0000
    Newest: 2023-01-24 23:24:56 +0000
    
    Failed: 15
    Oldest: 2021-09-01 07:50:45 +0000
    Newest: 2023-01-13 09:59:23 +0000
    
    Pending: 3
    Oldest: 2023-01-25 01:50:33 +0000
    Newest: 2023-01-31 19:05:09 +0000
    
    Status report information
    
    Generated at: 2023-01-25 09:41:43 +10:00
    `
    Thread Starter boxingkoala

    (@boxingkoala)

    I have been able to replicate the issue. It seems when you add products to the cart as a guest, then click checkout and login as a returning customer, the cart then clears. I switched to storefront theme from astra and problem is still there. I am now working through switching plugins off to see if there is a conflct.

    Thread Starter boxingkoala

    (@boxingkoala)

    It seems it is the Jetpack plugin causing the issue

    Hi @boxingkoala. Interesting bug find. If you have any sense of how this might be resolved in code or have any other details I’d recommend creating an Issue in GitHub here: https://github.com/woocommerce/woocommerce/issues

    Hi @boxingkoala

    Thanks for reaching out!

    I was able to replicate the scenario on your site. Here’s the checkout page while still in Guest Mode:

    After logging in (I created testuser01 in your site), I am redirected to an empty cart page:

    Hence, I tested this scenario on my personal site, however, I was unable to reproduce the issue on my end.

    Checkout page while still in Guest Mode:

    Checkout page after logging in:

    Can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if this works?

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    If this did not resolve the issue, please provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    Let us know how it goes!

    Thread Starter boxingkoala

    (@boxingkoala)

    Thanks for replying. Please not the cart only clears when a guest adds items to their cart but then logins into their account when at the checkout. It currently works on my site as I found it was Jetpack that caused the conflict and so have thus turned it off to avoid the issue for now.

    Roxy

    (@roxannestoltz)

    Hi @boxingkoala ,

    Just to clarify, the issue occurs with only Jetpack and WooCommerce active on your site, and your theme set to Storefront, is this correct?

    I am unable to reproduce this issue on my staging site with only WooCommerce and Jetpack active, as well as using the default Storefront theme, as the items remain in the cart when adding them as a guest and then logging in as a customer.

    I’d suggest submitting a GitHub issue about this, as it would be viewed by the developers of the plugin.

    Feel free to submit one, via the following link:

    https://github.com/Automattic/jetpack/issues/new/choose

    Thread Starter boxingkoala

    (@boxingkoala)

    I have submitted an issue on Github a couple weeks ago, Looks like a few others have the same issue and only fix for now is to keep jetpack turned of.

    Roxy

    (@roxannestoltz)

    Hi @boxingkoala ,

    Thanks for confirming!

    I have checked the GitHub repository and can see the open issue here.

    Since this is an open issue, our developers are aware of this, and although we do not have an ETA on the fix, you can subscribe to the issue to be lopped in on updates as they happen.

    Hope this helps!

    Plugin Support Chris M. – a11n

    (@csmcneill)

    Howdy @boxingkoala,

    The issue is caused by cookie conflict between WCPay and Jetpack Sync. The Jetpack team is working on a fix here: https://github.com/Automattic/jetpack/pull/31423

    In the meantime, the sites experiencing the issue can be fixed by contacting support at https://woocommerce.com/my-account/create-a-ticket/ and asking a Happiness Engineer to disable Dedicated Sync. Please note that it might take a bit of time for the change to take effect.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cart clears when customer logins’ is closed to new replies.