Quantity Discrepancy in New Orders
-
Hello,
We are experiencing an odd bug where after a customer has purchased, the quantity of their purchases are showing up incorrectly (always one more, but the price is still correct). For example we sell one item for $995 and it will show up like so:
Product: Qty: Price
Item1 2 $995.00It happens over a variety of products, around 50% of the time. Please advise on how I may fix this problem.
Sometimes it will split the price in half to match the quantity. In the above scenario it would say Quantity: 2 and Price:
$497.50
-
Hi there ??
That’s odd. Firstly, let’s check if there is an error on the WooCommerce Logs. So please, provide us the following:
- 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.
- Error log: share a copy of the fatal error log found under WooCommerce > System Status > Logs (if available)
Thanks!
Hi Gabriel here is the system report:
### WordPress Environment ### WordPress address (URL): https://opcexpert.com Site address (URL): https://opcexpert.com WC Version: 5.0.0 REST API Version: ? 5.0.0 WC Blocks Version: ? 4.0.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.9.0 Log Directory Writable: ? WP Version: 5.6.1 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.27 PHP Post Max Size: 256 MB PHP Time Limit: 0 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1g-fips SUHOSIN Installed: – MySQL Version: 5.7.32-35-log Max Upload Size: 256 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: 192.10MB Database Data Size: 130.76MB Database Index Size: 61.34MB wp_woocommerce_sessions: Data: 1.02MB + 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.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.15MB + Index: 0.12MB + Engine MyISAM 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.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + 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: 0.06MB + Index: 0.03MB + Engine InnoDB wp_cleantalk_ac_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cleantalk_sessions: Data: 1.02MB + Index: 0.00MB + Engine InnoDB wp_cleantalk_sfw: Data: 0.38MB + Index: 0.34MB + Engine InnoDB wp_cleantalk_sfw_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cleantalk_sfw_temp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cleantalk_spamscan_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cleantalk_ua_bl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 0.11MB + Index: 0.06MB + Engine MyISAM wp_fusion_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fusion_form_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fusion_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fusion_form_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_addon_feed: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_entry: Data: 7.52MB + Index: 1.95MB + Engine InnoDB wp_gf_entry_meta: Data: 31.56MB + Index: 35.67MB + Engine InnoDB wp_gf_entry_notes: Data: 0.27MB + Index: 0.11MB + Engine InnoDB wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_meta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form_view: Data: 0.23MB + Index: 0.20MB + Engine InnoDB wp_gmw_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_gmw_locationmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_gmw_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 14.06MB + Index: 0.11MB + Engine MyISAM wp_postmeta: Data: 7.22MB + Index: 1.29MB + Engine MyISAM wp_posts: Data: 16.58MB + Index: 0.27MB + Engine MyISAM wp_pts_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_pts_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pts_tables: Data: 0.31MB + Index: 0.00MB + Engine InnoDB wp_pts_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_randomtext: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_form_meta: Data: 0.07MB + Index: 0.00MB + Engine MyISAM wp_rg_form_view: Data: 0.26MB + Index: 0.12MB + Engine MyISAM wp_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_lead: Data: 6.39MB + Index: 0.86MB + Engine MyISAM wp_rg_lead_detail: Data: 18.15MB + Index: 16.65MB + Engine MyISAM wp_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_lead_meta: Data: 1.53MB + Index: 0.87MB + Engine MyISAM wp_rg_lead_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_zapier: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shopmagic_automation_outcome: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_shopmagic_automation_outcome_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shopmagic_guest: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_shopmagic_guest_meta: Data: 0.14MB + Index: 0.06MB + Engine InnoDB wp_shopmagic_optin_email: Data: 0.02MB + Index: 0.00MB + 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_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_swift_performance_image_optimizer: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_swift_performance_warmup: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_terms: Data: 0.07MB + Index: 0.13MB + Engine MyISAM wp_term_relationships: Data: 0.03MB + Index: 0.07MB + Engine MyISAM wp_term_taxonomy: Data: 0.06MB + Index: 0.07MB + Engine MyISAM wp_usermeta: Data: 0.31MB + Index: 0.19MB + Engine MyISAM wp_users: Data: 0.01MB + Index: 0.03MB + Engine MyISAM wp_wc_admin_notes: Data: 0.02MB + 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.02MB + Index: 0.03MB + 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.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM 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.52MB + 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: 12.55MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 1.02MB + Index: 0.08MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 4.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.38MB + Index: 0.14MB + 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.13MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfwafconfig: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wplc_chat_msgs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wplc_chat_sessions: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_wplc_offline_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 0.31MB + Index: 0.19MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + 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_prominent_words: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.11MB + Index: 0.11MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM ### Post Type Counts ### attachment: 296 cart_url: 9 custom_css: 1 elementor_library: 1 flamingo_contact: 62 flamingo_inbound: 129 fusion_element: 1 nav_menu_item: 24 oembed_cache: 55 page: 92 popup: 1 popup_theme: 8 post: 4 product: 31 revision: 1488 shop_coupon: 3 shop_order: 425 shopmagic_automation: 2 slide: 1 turbo-sidebar-cpt: 1 wc_afrsm: 1 wc_afrsm_zone: 1 wp_block: 6 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (32) ### Gravity Forms: by Gravity Forms – 2.4.22 All-in-One WP Migration Unlimited Extension: by ServMask – 2.38 All-in-One WP Migration: by ServMask – 7.36 Anti-Spam by CleanTalk: by СleanTalk – 5.153.1 Custom Permalinks: by Sami Ahmed Siddiqui – 1.7.1 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.1.1 Avada Builder: by ThemeFusion – 3.2.1 Avada Core: by ThemeFusion – 5.2.1 GEO my WP: by Eyal Fitoussi – 3.7 Geolocation IP Detection: by Yellow Tree (Benjamin Pick) – 3.3.0 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.16.0 Gravity Forms Geolocation Add-on: by Eyal Fitoussi – 2.7.0.1 Gravity Forms Campaign Monitor Add-On: by Gravity Forms – 3.9 Gravity Forms Zapier Add-on: by Gravity Forms – 3.3 Current Year and Copyright Shortcodes: by David Gewirtz – 1.0.2 Maintenance: by WebFactory Ltd – 4.0 Popup Maker: by Popup Maker – 1.15.0 Post Type Switcher: by John James Jacoby – 3.2.0 Pricing Table by Supsystic: by supsystic.com – 1.8.8 Random Text: by Greg Jackson – 0.3.0 Lazy Load - Optimize Images: by WP Rocket – 2.3.4 Simple CSS: by Tom Usborne – 1.1.1 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.47 Widgets On Pages: by Todd Halfpenny – 1.5.0 WooCommerce AJAX Cart: by Moises Heberle – 1.3.20 WooCommerce Cart URL: by Shop Plugins – 1.1.9 WooCommerce PayPal Pro (Classic and PayFlow Editions) Gateway: by WooCommerce – 4.5.1 WooCommerce: by Automattic – 5.0.0 Wordfence Security: by Wordfence – 7.4.14 Yoast SEO Premium: by Team Yoast – 15.8.2 WP Database Backup: by Prashant Walke – 5.7.1 WP Mail SMTP: by WPForms – 2.6.0 ### Inactive Plugins (16) ### Advanced Flat Rate Shipping For WooCommerce: by theDotstore – 3.9.2 Autocomplete WooCommerce Orders: by QuadLayers – 1.3.4 Autoptimize: by Frank Goossens (futtta) – 2.8.1 Booster for WooCommerce: by Pluggabl LLC – 5.3.7 Buy Now Button for WooCommerce: by wpismylife – 1.0.0 Font Resizer: by cubetech.ch – 1.3.5 GDPR Cookie Consent Banner: by termly – 2.3.15 Gravity Forms Email Blacklist: by hallme – 2.5 Qty Increment Buttons for WooCommerce: by taisho – 2.7.5 ShopMagic for WooCommerce: by WP Desk – 2.22.1 ShortPixel Image Optimizer: by ShortPixel – 4.21.1 SiteGround Migrator: by SiteGround – 1.0.26 Smush: by WPMU DEV – 3.8.2 W3 Total Cache: by BoldGrid – 2.1.0 WP Rollback: by Impress.org – 1.7.1 Yoast SEO: by Team Yoast – 15.7 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: object-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) 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: #1131 - /shop/ Cart: #1132 - /cart/ Checkout: #1133 - /checkout/ My account: #1134 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Avada Child Version: 1.0.0 Author URL: https://theme-fusion.com Child Theme: ? Parent Theme Name: Avada Parent Theme Version: 7.2.1 Parent Theme Author URL: https://themeforest.net/user/ThemeFusion WooCommerce Support: ? ### Templates ### Overrides: Avada/woocommerce/cart/cart.php Avada/woocommerce/checkout/form-pay.php Avada/woocommerce/checkout/review-order.php Avada/woocommerce/checkout/thankyou.php Avada/woocommerce/loop/loop-start.php Avada/woocommerce/single-product/add-to-cart/variable.php Avada/woocommerce/single-product/short-description.php Avada/woocommerce/single-product/tabs/additional-information.php Avada/woocommerce/single-product/tabs/description.php ### Action Scheduler ### Complete: 136 Oldest: 2021-01-25 19:44:54 +0000 Newest: 2021-02-19 19:18:27 +0000 Failed: 3 Oldest: 2021-01-12 17:27:53 +0000 Newest: 2021-01-13 22:47:40 +0000
Hi @soles21 –
I see you have some cart-related plugins activated on your site. I’m wondering if this might be a plugin conflict of some sort.
You can read more about plugin and theme conflicts in our Self-Service Guide.
Here’s how you can figure out which one may be causing the problem:
Before you start
- First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
- Second, I would suggest to install a plugin called Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it allows you to disable plugins without effecting your current site visitors.
How to test for conflicts
In order to test for conflicts using Health Check & Troubleshooting:- Go to Tools > Site Health > Troubleshooting.
- Select Enable Troubleshooting Mode. This will disable all your plugins and set your theme to a default one.
- Go to Plugins. There you can enable WooCommerce by selecting Enable While Troubleshooting.
- Try to reproduce the problem. If the problem is resolved, it’s clearly a conflict. Now we need to figure out which plugin is causing this conflict.
- If you can’t reproduce the problem with only WooCommerce enabled, go ahead and re-enable the other plugins one by one. Test after each one until the problem occurs again – this will tell you which plugin is conflicting.
- If you are unable to reproduce the problem with the rest of your plugins enabled it could be your theme causing the conflict. To test for this, please enable your original theme at your WordPress Dashboard in the Troubleshooting Mode section at the top (it will look similar to this: https://d.pr/i/bbvkLY). In the Troubleshooting window, you’ll be able to see a dropdown with available themes. Choose the one you normally use. Try reproducing the problem you’re experiencing. If you can reproduce it, your theme is the source of the conflict.
Once you’ve done that, please check out How to test for plugin and theme conflicts and follow the steps there. Please let us know how that goes.`
Hi @soles21,
We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was useful and you were able to find a solution to your problem!
If you have further questions, please feel free to open a new topic.
Thanks.
- The topic ‘Quantity Discrepancy in New Orders’ is closed to new replies.