Woocommerce displays incorrect orders
-
Woocommerce displays incorrect orders in orders list when user register the first time.
He saw some old random order in his order list when I search the same user/ filter by customer in woocommerce order list, same random order also display there.I have updated the woocommerce to the latest version 4.0.1 still error happening, I am using wpengine, so I have disabled cache for my account pages as well as I have disabled cache for the entire website by support still error happen.
-
Hi @sandiphere! The most common reason for this is a caching issue. Since you’ve disabled caching but are still experiencing the issue, I recommend doing some conflict testing to see if it helps.
For conflict testing, I would set up a staging site and use the Twenty Nineteen theme and only WooCommerce. Then see if the orders are displayed correctly when a test user registers for the first time.
For full details of how to do conflict testing, see this guide.
- This reply was modified 4 years, 7 months ago by Damianne P (a11n).
- This reply was modified 4 years, 7 months ago by Damianne P (a11n).
Activate latest Twenty Twenty theme and deactivated all plugin except, still when register from my account page, its shows a random old order which was not placed by this email address
the orders which wrongly attached to new registered customer is from guest users order, same thing display in admin panel also, when I filter with the new register customer, in admin same wrong order listing display
When a new user registers to your site, is it always the same order that is created for them, or does each user get an order that corresponds to the last checkout or the last guest checkout? Does the incorrect order also show under another customer’s account? Please share any patterns that you notice.
Also, could you please share your system report. You can find it by going to WooCommerce > Status > Get system report and then click Copy for support to be able to paste it in your reply.
- This reply was modified 4 years, 7 months ago by Damianne P (a11n).
No when new user register in website, its display random order in the list, sometimes its single order, sometimes 2 to 3 orders listed in the order list, Also its not display from last checkout, maximum time its display the orders from 2017
also if I search that email in order list in admin panel and filter the orders by that new register user email, in admin also the same order lited like front end. tose orders place via different email id but still those listed when I filter order by new user email id, I have registered 10 times, every time, some different random order fro 2017 display in order lists.
### WordPress Environment ###Home URL: https://shopmarket.wpengine.com
Site URL: https://shopmarket.wpengine.com
WC Version: 3.5.7
Log Directory Writable: ?
WP Version: ? 5.3.2 – There is a newer version of WordPress available (5.4)
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: ?
WP Cron: ?
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.3.16-1+ubuntu18.04.1+deb.sury.org+1
PHP Post Max Size: 100 MB
PHP Time Limit: 3600
PHP Max Input Vars: 10000
cURL Version: 7.58.0
OpenSSL/1.1.1dSUHOSIN Installed: –
MySQL Version: 5.7.28-31-log
Max Upload Size: 50 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 3.5.7
WC Database Prefix: wp_
MaxMind GeoIP Database: ?
Total Database Size: 311.96MB
Database Data Size: 236.65MB
Database Index Size: 75.31MB
wp_woocommerce_sessions: Data: 2.52MB + Index: 0.05MB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
wp_woocommerce_order_items: Data: 0.28MB + Index: 0.09MB
wp_woocommerce_order_itemmeta: Data: 2.52MB + Index: 3.03MB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
cerber_acl: Data: 0.02MB + Index: 0.02MB
cerber_blocks: Data: 0.02MB + Index: 0.00MB
cerber_countries: Data: 0.02MB + Index: 0.00MB
cerber_lab: Data: 0.02MB + Index: 0.00MB
cerber_lab_ip: Data: 0.02MB + Index: 0.00MB
cerber_lab_net: Data: 0.02MB + Index: 0.02MB
cerber_log: Data: 1.52MB + Index: 0.31MB
cerber_qmem: Data: 0.02MB + Index: 0.02MB
cerber_traffic: Data: 97.61MB + Index: 3.52MB
wp_aws_cache: Data: 18.52MB + Index: 0.00MB
wp_aws_index: Data: 1.52MB + Index: 0.00MB
wp_berocket_termmeta: Data: 0.02MB + Index: 0.00MB
wp_braapf_product_stock_status_parent: Data: 0.02MB + Index: 0.02MB
wp_braapf_product_variation_attributes: Data: 0.02MB + Index: 0.05MB
wp_braapf_term_taxonomy_hierarchical: Data: 0.02MB + Index: 0.05MB
wp_braapf_variation_attributes: Data: 0.02MB + Index: 0.03MB
wp_cerber_files: Data: 0.02MB + Index: 0.00MB
wp_cerber_sets: Data: 0.06MB + Index: 0.00MB
wp_cerber_uss: Data: 0.05MB + Index: 0.02MB
wp_cf7_vdata: Data: 0.11MB + Index: 0.00MB
wp_cf7_vdata_entry: Data: 4.52MB + Index: 0.00MB
wp_commentmeta: Data: 0.22MB + Index: 0.22MB
wp_comments: Data: 3.52MB + Index: 1.94MB
wp_fb3d_pages: Data: 0.02MB + Index: 0.05MB
wp_links: Data: 0.02MB + Index: 0.02MB
wp_nm_personalized: Data: 0.02MB + Index: 0.00MB
wp_options: Data: 3.52MB + Index: 0.16MB
wp_pbs: Data: 0.02MB + Index: 0.00MB
wp_pmxi_files: Data: 0.02MB + Index: 0.00MB
wp_pmxi_history: Data: 0.02MB + Index: 0.00MB
wp_pmxi_images: Data: 0.02MB + Index: 0.00MB
wp_pmxi_imports: Data: 0.05MB + Index: 0.00MB
wp_pmxi_posts: Data: 0.05MB + Index: 0.03MB
wp_pmxi_templates: Data: 0.05MB + Index: 0.00MB
wp_postmeta: Data: 30.56MB + Index: 17.06MB
wp_posts: Data: 4.52MB + Index: 1.31MB
wp_pum_subscribers: Data: 0.02MB + Index: 0.06MB
wp_redirection_404: Data: 0.02MB + Index: 0.06MB
wp_redirection_groups: Data: 0.02MB + Index: 0.03MB
wp_redirection_items: Data: 0.02MB + Index: 0.09MB
wp_redirection_logs: Data: 0.02MB + Index: 0.08MB
wp_responsive_menu: Data: 0.02MB + Index: 0.00MB
wp_revslider_css: Data: 0.13MB + Index: 0.00MB
wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB
wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB
wp_revslider_sliders: Data: 0.13MB + Index: 0.00MB
wp_revslider_slides: Data: 0.48MB + Index: 0.00MB
wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB
wp_sendpress_autoresponders: Data: 0.02MB + Index: 0.00MB
wp_sendpress_connections: Data: 0.02MB + Index: 0.00MB
wp_sendpress_customfields: Data: 0.02MB + Index: 0.00MB
wp_sendpress_list_subscribers: Data: 0.08MB + Index: 0.19MB
wp_sendpress_queue: Data: 0.02MB + Index: 0.16MB
wp_sendpress_schedules: Data: 0.02MB + Index: 0.00MB
wp_sendpress_subscribers: Data: 0.13MB + Index: 0.17MB
wp_sendpress_subscribers_meta: Data: 0.09MB + Index: 0.14MB
wp_sendpress_subscribers_status: Data: 0.02MB + Index: 0.00MB
wp_sendpress_subscribers_tracker: Data: 0.02MB + Index: 0.02MB
wp_sendpress_subscribers_url: Data: 0.02MB + Index: 0.00MB
wp_sendpress_url: Data: 0.02MB + Index: 0.02MB
wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB
wp_statistics_exclusions: Data: 0.02MB + Index: 0.03MB
wp_statistics_historical: Data: 0.02MB + Index: 0.05MB
wp_statistics_pages: Data: 0.02MB + Index: 0.08MB
wp_statistics_search: Data: 2.52MB + Index: 3.55MB
wp_statistics_useronline: Data: 0.02MB + Index: 0.00MB
wp_statistics_visit: Data: 0.02MB + Index: 0.02MB
wp_statistics_visitor: Data: 29.55MB + Index: 14.58MB
wp_termmeta: Data: 0.06MB + Index: 0.06MB
wp_terms: Data: 0.02MB + Index: 0.03MB
wp_term_relationships: Data: 0.08MB + Index: 0.05MB
wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB
wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB
wp_tm_tasks: Data: 0.02MB + Index: 0.02MB
wp_usermeta: Data: 3.52MB + Index: 3.03MB
wp_users: Data: 0.16MB + Index: 0.16MB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
wp_woocommerce_per_product_shipping_rules: Data: 0.02MB + Index: 0.00MB
wp_wp_rp_tags: Data: 0.06MB + Index: 0.03MB
wp_wsal_metadata: Data: 21.55MB + Index: 21.08MB
wp_wsal_occurrences: Data: 2.52MB + Index: 3.03MB
wp_wsal_options: Data: 2.50MB + Index: 0.02MB
wp_yoast_seo_links: Data: 0.05MB + Index: 0.02MB
wp_yoast_seo_meta: Data: 0.05MB + Index: 0.00MB### Post Type Counts ###
3d-flip-book: 3
acf-field: 6
acf-field-group: 4
attachment: 1441
br_filters_group: 1
br_product_filter: 2
ctct_forms: 3
ctct_lists: 10
custom_css: 1
custom-css-js: 2
dflip: 1
flipboxes: 1
gift_card: 19
nav_menu_item: 59
page: 53
photo_book: 1
popup: 7
popup_theme: 7
post: 119
product: 409
product_variation: 19
promotions: 27
sendpress_list: 2
shop_coupon: 2
shop_order: 4323
shop_order_refund: 24
sp_faq: 9
sp_newsletters: 2
sp_settings: 2
sp_template: 2
sptemplates: 3
wpcf7_contact_form: 6
wpsl_stores: 5### Security ###
Secure connection (HTTPS): ?
Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
Hide errors from visitors: ?### Active Plugins (63) ###
Advanced Access Manager: by Vasyl Martyniuk <[email protected]> – 6.1.1
Advanced CF7 DB: by Vsourz Digital – 1.7.2
Advanced Custom Fields PRO: by Elliot Condon – 5.8.7
Advanced Woo Search: by ILLID – 1.90
Auto Image Attributes From Filename With Bulk Updater: by Arun Basil Lal – 1.6
Automatic image ALT attributes: by Birmingham – 2.0
Autoptimize: by Frank Goossens (futtta) – 2.6.1
Check and Enable GZIP compression: by Richard’s Toolbox – 1.1.11
Classic Editor: by WordPress Contributors – 1.5
Constant Contact Forms for WordPress: by Constant Contact – 1.5.3
Contact Form 7 Datepicker: by Aurel Canciu – 2.6.0
Contact Form 7 – Dynamic Text Extension: by Chris Mavricos
SevenSpark – 2.0.3Contact Form 7 Modules: Hidden Fields: by Katz Web Services
Inc. – 2.0.2Contact Form 7 Modules: Send All Fields: by Katz Web Services
Inc. – 2.0.2Contact Form 7: by Takayuki Miyoshi – 5.1.6
Simple Custom CSS and JS: by SilkyPress.com – 3.28
Smash Balloon Custom Facebook Feed: by Smash Balloon – 2.12.2
Custom Post Type UI: by WebDevStudios – 1.7.1
dflip: by Deepak Ghimire – 1.4.31
Easy FancyBox: by RavanH – 1.8.18
Easy WP SMTP: by wpecommerce
alexanderfoxc – 1.3.9.2Flexible Shipping UPS: by WP Desk – 1.7.5
Go Live Update Urls: by OnPoint Plugins – 5.3.0
Anti-Malware Security and Brute-Force Firewall: by Eli Scheetz – 4.19.50
Imsanity: by Exactly WWW – 2.5.0
KingComposer: by King-Theme – 2.6.17
LoginPress Pro | VestaThemes.com: by WPBrigade – 2.1.2
LoginPress – Customizing the WordPress Login: by WPBrigade – 1.4.1
Nav Menu Roles: by Kathy Darling – 1.9.5
Popup Maker – Advanced Targeting Conditions: by WP Popup Maker – 1.4.0
Popup Maker – Advanced Theme Builder: by WP Popup Maker – 1.1.5
Popup Maker: by Popup Maker – 1.8.14
YoastSEO Quick Edit: by roc – 1.0.0
Really Simple SSL: by Rogier Lankhorst
Mark Wolters – 3.2.7Redirection: by John Godley – 4.5.1
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.2
Responsive Menu: by Peter Featherstone – 3.1.24
WP REST API: by WP REST API Team – 2.0-beta15
Slider Revolution: by ThemePunch – 5.4.1
Scheduled Products for WooCommerce: by Lauri Karisola / WooElements.com – 1.0.0 – Not tested with the active version of WooCommerce
SendPress Newsletters: by SendPress – 1.10.9.23
WP FAQ: by WP OnlineSupport – 3.3.2
Category Order and Taxonomy Terms Order: by Nsp-Code – 1.5.7.1
Compress JPEG & PNG images: by TinyPNG – 3.2.1
WooCommerce Advanced Free Shipping: by Jeroen Sormani – 1.1.4
Advanced AJAX Product Filters for WooCommerce: by BeRocket – 1.4.1
WooCommerce Authorize.Net AIM Gateway: by SkyVerge – 3.12.1 – 3.14.6 is available – Not tested with the active version of WooCommerce
WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.18 – 1.6.21 is available
WooCommerce Stripe Gateway: by WooCommerce – 4.3.1
WooCommerce Google Analytics Pro: by SkyVerge – 1.8.8 – 1.8.10 is available
WooCommerce PDF Invoices: by Bas Elbers – 3.0.7
WooCommerce Product Filter: by Farhad Ahmadi – 2.8.0 – Not tested with the active version of WooCommerce
WooCommerce Variation Swatches and Photos: by Lucas Stark – 2.1.7 – 3.1.0 is available – Not tested with the active version of WooCommerce
WooCommerce: by Automattic – 3.5.7 – 4.0.1 is available
WordPress Importer: by wordpressdotorg – 0.6.4
Yoast SEO: by Team Yoast – 12.7.1
WP Accessibility Helper: by Alex Volkov – 0.5.9.3
WP Cerber Security, Antispam & Malware Scan: by Cerber Tech Inc. – 8.5.9
WP-Optimize – Clean, Compress, Cache: by David Anderson
Ruhani Rabin
Team Updraft – 3.0.19WP Rollback: by Impress.org – 1.7.0
WP Statistics: by VeronaLabs – 12.6.12
WP Store Locator: by Tijmen Smit – 2.2.232
YITH WooCommerce Name Your Price: by YITH – 1.1.10### Settings ###
API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: simple (simple)
grouped (grouped)
variable (variable)
external (external)
gift-card (gift-card)Taxonomies: Product Visibility: exclude-from-search (exclude-from-search)
exclude-from-catalog (exclude-from-catalog)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)### WC Pages ###
Shop base: #53 – /online-store/
Cart: #54 – /cart/
Checkout: #55 – /checkout/
My account: #56 – /my-account/
Terms and conditions: ? Page not set### Theme ###
Name: Doris Market
Version: 2.4
Author URL: https://www.ads-software.com/
Child Theme: ? – 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: ?### Templates ###
Overrides: shopmarket/woocommerce/archive-product.php
shopmarket/woocommerce/cart/cart-empty.php
shopmarket/woocommerce/cart/cart-item-data.php
shopmarket/woocommerce/cart/cart-shipping.php
shopmarket/woocommerce/cart/cart-totals.php
shopmarket/woocommerce/cart/cart.php
shopmarket/woocommerce/cart/cross-sells.php
shopmarket/woocommerce/cart/mini-cart.php
shopmarket/woocommerce/cart/proceed-to-checkout-button.php
shopmarket/woocommerce/cart/shipping-calculator.php
shopmarket/woocommerce/content-product.php
shopmarket/woocommerce/content-product_cat.php
shopmarket/woocommerce/content-single-product.php
shopmarket/woocommerce/content-widget-product.php version 3.3.0 is out of date. The core version is 3.5.5
shopmarket/woocommerce/content-widget-reviews.php
shopmarket/woocommerce/global/wrapper-end.php
shopmarket/woocommerce/global/wrapper-start.php
shopmarket/woocommerce/loop/loop-end.php
shopmarket/woocommerce/loop/loop-start.php
shopmarket/woocommerce/loop/pagination.php
shopmarket/woocommerce/loop/rating.php
shopmarket/woocommerce/myaccount/dashboard.php
shopmarket/woocommerce/myaccount/form-login.php version 3.4.0 is out of date. The core version is 3.5.0
shopmarket/woocommerce/myaccount/my-account.php version 2.6.0 is out of date. The core version is 3.5.0
shopmarket/woocommerce/product-searchform.php
shopmarket/woocommerce/single-product/meta.php
shopmarket/woocommerce/single-product/price.php
shopmarket/woocommerce/single-product/product-image.php version 3.3.2 is out of date. The core version is 3.5.1
shopmarket/woocommerce/single-product/product-thumbnails.php version 3.3.2 is out of date. The core version is 3.5.1
shopmarket/woocommerce/single-product/rating.php
shopmarket/woocommerce/single-product/tabs/additional-information.php
shopmarket/woocommerce/single-product/tabs/description.php
shopmarket/woocommerce/single-product/tabs/tabs.php
shopmarket/woocommerce/single-product-reviews.php version 3.2.0 is out of date. The core version is 3.5.0
shopmarket/woocommerce/single-product.php
shopmarket/woocommerce/taxonomy-product_cat.php
shopmarket/woocommerce/taxonomy-product_tag.phpOutdated Templates: ?
Learn how to update
### Authorize.Net AIM ###
Environment: Production
Debug Mode: Off
`Hi @sandiphere! Thanks for sharing your system report. From looking at it, I see that you’re running an older version of WooCommerce and several of your plugins have updates available. However, I don’t see any indicators as to what could be causing this issue.
I would suggest that you do some conflict testing to see if this is being cause by one of your plugins. We have a guide to help you with that here.
Please give it a try and let us know how you get on.
I have done all conflict testing
Deactivate all plugin, update woocommerce to latest, activate default WordPress theme, but nothing solve.I have found a conflict that, _customer_user in wp_postmets tagged user id upto 1399 where my latest user id is 1006, so when new user register he get id 1007 and as in postmeta table its already saved user id 1399 its match random order and display in order list
I have manually update the last user id in wp_users to 1400 so that new user can get id 1401 but still new user getting sequancial id like 1007,1008 can you let me know how i can make chnage so that new user get id after 1400
Hi @sandiphere. It sounds like something is corrupted in your database, perhaps from an import? In general, guest orders should have a
_customer_user
value of 0. I would suggest changing the value of this field to 0 for those old guest orders to avoid having old guest orders assigned to new customers on your site.I hope that helps!
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Not sure if this is the correct place to write, but experiencing big problems with checkout on orders.
The order is placed, and the description of the product is given, with price, and yet a random SKU is attributed to the product (not the product’s correct SKU)
The automatic stock check then reduced the stock count of the SKU given, and NOT the stock of the product sold, as in the description.
If the price of the product sold is the same price as the SKU that has been randomly generated, I am not certain whether the customer has bought the product as described, or the product matching the SKU.
Another problem is that sometimes the price is altered.
If I have sold a product at e.g. £25.00, it has sometimes put that I have sold three products at £8.33 each, the total being £25.00. Again, a muddle, as not sure if the customer has bought three items or just the one.
I have updated the Woocommerce database, and all plugins are updated.
I would appreciate any help. Please write in simple language, as not very computer literate. Many thanksHi @maridadi
Have you resolved this issue? A client of mine is experiencing the exact same problems, and wondering if found out what was wrong.
Thanks!
Hi,
I have the exact same issue. Any of you found the solution? This is a very annoying issue. @aknapp1gmailcom @sandiphere
Thanks in advance
Hi @starrwolf
FYI, I created a separate thread for my specific issue. Still waiting on a follow up response, but in case you wanted to follow that as well…
Sorry not to have responded sooner.
No, I have not been able to resolve this issue, (slightly reassuring to know that it is not just me having this problem, though it doesn’t help any of us!)
Really frustrating, and looks so bad with customers, as means one is not sure what it is they have ordered.
Makes a real mess of the stock taking as well, as what has been ordered is not adjusted, but the incorrect item is, so have to keep changing that manually.
Seems as if something is not syncing, but nobody has an answer, and no help from whoever has made it go wrong.I am not sure your problem resolved or not but here is my small suggestion : Please try to regenerate the product lookup table from Woocommerce settings and also clear transient cache and Orphaned variations too.
- The topic ‘Woocommerce displays incorrect orders’ is closed to new replies.