My Account show orders of a other customer
-
Hi. We export & import a woocommerce shop. Now in the My Account, a other customer’s orders are showing when a user login.
Also in the backend under orders, the wrong customer’s name appears under ‘Customer:’ (the field just below ‘Status’).
The Billing and Shipping show the correct customer’s details.
I’ve disabled all plugins & switched to the 2021 default theme, but customer name is still incorrect.
Any suggestions?
-
Hi there @willem70
I understand you exported and imported a WooCommerce shop but a customer’s orders are showing under another customer’s account and the wrong customer name appears.
It sounds like something may have happened during the import.
Could you confirm how the shop was exported and imported? Did you use another plugin or extension?
It will be also great if you could share your current System Status Report.
You can get it by navigating to the
WooCommerce / Status
section of your site. Once there, click on theGet system report
button and then copy it by clicking on theCopy for support
button. Then paste it here in a comment.Hi Abhi. Thanks for the reply.
Yes that is correct. When I go to Woocommerce > Orders and open any order, the correct details appear under Billing and Shipping, but a different customer name appear under the ‘Customer:’ field.
No, we didn’t use a plugin. The export & import was done via the standard WordPress export / import function (under Tools). Will now paste the report below.### WordPress Environment ### WordPress address (URL): https://papillon.co.za Site address (URL): https://papillon.co.za 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 - There is a newer version of WordPress available (5.8) WP Multisite: – WP Memory Limit: 384 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.21 PHP Post Max Size: 32 MB PHP Time Limit: 90 PHP Max Input Vars: 3500 cURL Version: 7.52.1 OpenSSL/1.0.2u SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~stretch Max Upload Size: 32 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.0.0 WC Database Prefix: wp_ Total Database Size: 402.55MB Database Data Size: 288.25MB Database Index Size: 114.30MB wp_woocommerce_sessions: Data: 0.11MB + Index: 0.02MB + 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: 0.06MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.22MB + Index: 0.22MB + 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.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 6.52MB + Index: 8.48MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 3.52MB + Index: 4.03MB + Engine InnoDB wp_addonlibrary_addons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_addonlibrary_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 7.52MB + Index: 9.09MB + Engine InnoDB wp_e_submissions: Data: 0.03MB + Index: 0.27MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_addon_payment_callback: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_addon_payment_transaction: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_entry_meta: Data: 0.06MB + Index: 0.08MB + Engine InnoDB wp_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_meta: Data: 1.42MB + 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_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.03MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 4.02MB + Index: 0.00MB + Engine InnoDB wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 8.50MB + Index: 2.06MB + Engine InnoDB wp_postmeta: Data: 164.61MB + Index: 62.20MB + Engine InnoDB wp_posts: Data: 48.52MB + Index: 5.06MB + Engine InnoDB wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_simple_history: Data: 3.52MB + Index: 1.95MB + Engine InnoDB wp_simple_history_contexts: Data: 17.55MB + Index: 13.03MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.00MB + 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.08MB + Index: 0.05MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 1.52MB + Index: 2.03MB + Engine InnoDB wp_users: Data: 0.16MB + Index: 0.17MB + 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.11MB + Index: 0.06MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 2.52MB + Index: 1.33MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + 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_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 2.36MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 6.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.25MB + Index: 0.08MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.14MB + Index: 0.03MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.16MB + Index: 0.11MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_table_rates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 2.42MB + Index: 2.06MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.16MB + Index: 0.09MB + Engine InnoDB ### Post Type Counts ### attachment: 624 custom_css: 5 customize_changeset: 43 elementor_library: 27 elementor-hf: 3 nav_menu_item: 60 oembed_cache: 2 page: 57 post: 224 product: 284 product_variation: 14 revision: 2969 shop_coupon: 146 shop_order: 16520 wc_membership_plan: 2 wc_user_membership: 1022 wpforms: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (55) ### Gravity Forms: by Gravity Forms – 2.5.7 Livemesh Addons for Elementor: by Livemesh – 6.10.2 Starter Templates: by Brainstorm Force – 2.6.15 Astra Widgets: by Brainstorm Force – 1.2.9 PublishPress Capabilities: by PublishPress – 2.1 Classic Editor: by WordPress Contributors – 1.6 Code Snippets: by Code Snippets Pro – 2.14.1 Cookie Notice & Compliance for GDPR / CCPA: by Hu-manity.co – 2.1.0 Simple Custom CSS and JS: by SilkyPress.com – 3.37 Duplicate Page: by mndpsingh287 – 4.4 Elementor Pro: by Elementor.com – 3.3.2 Elementor: by Elementor.com – 3.3.0 Essential Addons for Elementor: by WPDeveloper – 4.8.0 Gallery Custom Links: by Jordy Meow – 2.0.4 Gravity Forms CSS Ready Class Selector: by Brad Vincent – 1.1 Gravity Forms CSS Themes Free: by Mo Pristas – 8.5 Gravity Forms Placeholder Add-On: by Able Engine William Wilkerson – 1.1.0 Gravity Forms Mailchimp Add-On: by Gravity Forms – 4.9 Gravity Forms PayFast Add-On: by PayFast – 1.1 Head and Footer Scripts Inserter: by Space X-Chimp – 4.51 Elementor Header & Footer Builder: by Brainstorm Force Nikhil Chavan – 1.6.3 Insert Headers and Footers: by WPBeginner – 1.6.0 Mailchimp for WooCommerce: by Mailchimp – 2.5.1 Nav Menu Roles: by Kathy Darling – 2.0.1 PDF viewer for Elementor: by RedLettuce Plugins – 2.9.3 Post Type Switcher: by Triple J Software Inc. – 3.2.1 Premium Addons for Elementor: by Leap13 – 4.4.1 Really Simple SSL: by Really Simple Plugins – 5.0.2 Redirection: by John Godley – 5.1.1 Shortcodes Ultimate: by Vladimir Anokhin – 5.10.1 Simple History: by P?r Thernstr?m – 2.42.0 SiteOrigin Widgets Bundle: by SiteOrigin – 1.21.0 Advanced Editor Tools (previously TinyMCE Advanced): by Automattic – 5.6.0 Uber Login Logo: by UberWeb – 1.5.1 Visibility Logic for Elementor: by StaxWP – 2.1.6 WooCommerce Custom Add To Cart Button: by Barn2 Plugins – 1.1.1 WooCommerce Checkout Field Editor: by WooCommerce – 1.5.38 WooCommerce Dynamic Pricing: by Lucas Stark – 3.1.22 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.1 Booster for WooCommerce: by Pluggabl LLC – 5.4.2 WooCommerce Login Popup and Shortcodes: by Phpbits Creative Studio – 1.0.2 WooCommerce Memberships: by SkyVerge – 1.8.5 WooCommerce Min/Max Quantities: by WooCommerce – 2.4.20 WooCommerce PayFast Gateway: by WooCommerce – 1.4.19 WooCommerce Product Table: by Barn2 Plugins – 2.8.6 WooCommerce Table Rate Shipping: by WooCommerce – 3.0.30 WooCommerce: by Automattic – 5.5.1 (update to version 5.5.2 is available) Wordfence Security: by Wordfence – 7.5.4 WordPress Importer: by wordpressdotorg – 0.7 Yoast SEO: by Team Yoast – 16.7 WP Mail Logging: by Wysija – 1.9.8 WP Mail SMTP: by WPForms – 2.9.0 Social Chat: by QuadLayers – 4.8.4 WPForms Lite: by WPForms – 1.6.8 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.8.5 ### Inactive Plugins (1) ### YITH WooCommerce Customize My Account Page: by YITH – 3.1.4 ### Settings ### API Enabled: ? Force SSL: – Currency: ZAR (R) 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 ### Shop base: #3941 - /shop/ Cart: #3942 - /cart/ Checkout: #3943 - /checkout/ My account: #3944 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Astra Child Version: 1.0.0 Author URL: https://wpastra.com/about/ Child Theme: ? Parent Theme Name: Astra Parent Theme Version: 2.6.0 – 3.6.5 is available Parent Theme Author URL: https://wpastra.com/about/ WooCommerce Support: ? ### Templates ### Overrides: astra-child/woocommerce/myaccount/dashboard.php ### Action Scheduler ### Canceled: 2 Oldest: 2021-07-23 07:44:29 +0000 Newest: 2021-07-23 08:03:33 +0000 Complete: 21,077 Oldest: 2021-06-24 07:17:32 +0000 Newest: 2021-07-23 15:49:41 +0000 Failed: 7 Oldest: 2021-07-17 06:28:55 +0000 Newest: 2021-07-23 13:38:41 +0000 Pending: 5 Oldest: 2021-07-24 06:28:41 +0000 Newest: 2021-07-29 17:34:38 +0000 ### Status report information ### Generated at: 2021-07-23 17:12:38 +00:00
Hallo Abhi @theabhig, any feedback?
Hi there,
Thank you for specifying that you’ve exported and imported the whole site using the default WordPress exporter in Tools >> Export.
Since this behaviour persists during a conflict test – most likely, orders are assigned to incorrect users in the database.
It’s hard to say why exactly orders were assigned to different users, perhaps one of your plugins modifies how orders are stored in the database, and that threw off the default WordPress importer/exporter. Alternatively, perhaps user IDs on the new site are different from user IDs on the old site, and orders were assigned to old user IDs which are now used by different users.
If you still have the old site – I’d suggest deleting all orders and users on your new site, finding a customer and order export/import plugin and using that to migrate orders and users from the old site to the new one. That would be the easier solution.
If the old site is gone – there’s a chance you’ll have to edit the data in your database tables manually and assign orders to correct users.
You could also open the .XML file and check if orders are assigned to correct user IDs, and then check if the user IDs on the old and the new site match.
I also see that you have a WordPress Importer plugin installed – I assume you’ve installed it after migrating the data and it wasn’t used to actually import the data?
I hope this helps!
Hi there,
We haven’t heard from you in a while so I’ll be marking this thread as resolved.
Feel free to open a new thread and link to this one if you have further questions though.
Have a wonderful day ahead!
- The topic ‘My Account show orders of a other customer’ is closed to new replies.