Incorrect product count on cart page
-
Hi,
Thanks for the wonderful plugin by the way! ??
I have a product for sample named Kinship (https://www.bellissimocoffee.com.au/product/kinship/).
Where issues are:
– cart page displays product variation separately from the product; counting it as a second product with 0.00 price
– new-order-email being received also displays the product separately from its product variationWhenever a customer chooses among the product variations, the cart counts it as two different products selected (product name + chosen product variation). By default, you can see below the dropdown that there is already a “1x Kinship”. However, when I choose among the variations, it adds up and the cart notes it as two selected products. Please see screenshots below:
default product page display: https://pasteboard.co/HLJ7znJ.png
upon selecting product variation: https://pasteboard.co/HLJ8AyE.png
cart page result: https://pasteboard.co/HLJ8TLv.pngWith that, it’s resulting to a weird new order email that we receive. Product variation is being noted as a separate product in the form; making it quite confusing. As you can see from the screenshots below how order product is presented in the new-order-form layout.
Previous form layout: https://pasteboard.co/HLJaI54.png
New form layout: https://pasteboard.co/HLJbdyr.pngYour kind help is highly appreciated. Thank you,
The page I need help with: [log in to see the link]
-
That’s definitely some strange behavior!
Could you please 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.Hi Hannah,
Thanks for your response. Totally appreciate that. System report is pasted below. Thank you,
### WordPress Environment ### Home URL: https://www.bellissimocoffee.com.au Site URL: https://www.bellissimocoffee.com.au WC Version: 3.5.1 Log Directory Writable: ? WP Version: 4.9.8 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: – Language: en External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.2.11 PHP Post Max Size: 1 GB PHP Time Limit: 90 PHP Max Input Vars: 1000 cURL Version: 7.61.1 OpenSSL/1.0.2p SUHOSIN Installed: – MySQL Version: 5.6.41 Max Upload Size: 32 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.4.7 WC Database Prefix: wp_ Total Database Size: 23.15MB Database Data Size: 17.47MB Database Index Size: 5.68MB wp_woocommerce_sessions: Data: 0.45MB + Index: 0.01MB wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB wp_woocommerce_order_items: Data: 0.16MB + Index: 0.10MB wp_woocommerce_order_itemmeta: Data: 1.07MB + Index: 0.80MB wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.01MB wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB wp_commentmeta: Data: 0.00MB + Index: 0.01MB wp_comments: Data: 0.43MB + Index: 0.18MB wp_ip_geo_block_cache: Data: 0.00MB + Index: 0.01MB wp_ip_geo_block_logs: Data: 0.04MB + Index: 0.01MB wp_ip_geo_block_stat: Data: 0.00MB + Index: 0.00MB wp_layerslider: Data: 0.00MB + Index: 0.00MB wp_layerslider_revisions: Data: 0.00MB + Index: 0.00MB wp_links: Data: 0.00MB + Index: 0.00MB wp_options: Data: 2.06MB + Index: 0.17MB wp_postmeta: Data: 4.96MB + Index: 2.90MB wp_posts: Data: 0.83MB + Index: 0.16MB wp_redirection_404: Data: 0.27MB + Index: 0.13MB wp_redirection_groups: Data: 0.00MB + Index: 0.00MB wp_redirection_items: Data: 0.00MB + Index: 0.01MB wp_redirection_logs: Data: 0.00MB + Index: 0.01MB wp_revslider_css: Data: 0.09MB + Index: 0.00MB wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB wp_revslider_slides: Data: 0.11MB + Index: 0.00MB wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB wp_subscriptio_scheduled_events: Data: 0.00MB + Index: 0.00MB wp_termmeta: Data: 0.00MB + Index: 0.01MB wp_terms: Data: 0.00MB + Index: 0.01MB wp_term_relationships: Data: 0.01MB + Index: 0.02MB wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB wp_usermeta: Data: 0.72MB + Index: 0.39MB wp_users: Data: 0.04MB + Index: 0.05MB wp_wc_download_log: Data: 0.00MB + Index: 0.00MB wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB wp_wfBadLeechers: Data: 0.00MB + Index: 0.00MB wp_wfBlockedCommentLog: Data: 0.00MB + Index: 0.00MB wp_wfBlockedIPLog: Data: 0.01MB + Index: 0.01MB wp_wfBlocks: Data: 0.00MB + Index: 0.00MB wp_wfBlocks7: Data: 0.00MB + Index: 0.00MB wp_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB wp_wfConfig: Data: 0.47MB + Index: 0.01MB wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB wp_wfFileChanges: Data: 0.00MB + Index: 0.00MB wp_wfFileMods: Data: 1.92MB + Index: 0.28MB wp_wfHits: Data: 0.66MB + Index: 0.12MB wp_wfHoover: Data: 0.00MB + Index: 0.00MB wp_wfIssues: Data: 0.01MB + Index: 0.01MB wp_wfKnownFileList: Data: 1.00MB + Index: 0.12MB wp_wfLeechers: Data: 0.00MB + Index: 0.00MB wp_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.01MB wp_wfLockedOut: Data: 0.00MB + Index: 0.00MB wp_wfLocs: Data: 0.00MB + Index: 0.00MB wp_wfLogins: Data: 0.14MB + Index: 0.03MB wp_wfNet404s: Data: 0.00MB + Index: 0.00MB wp_wfNotifications: Data: 0.02MB + Index: 0.00MB wp_wfPendingIssues: Data: 0.00MB + Index: 0.00MB wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB wp_wfScanners: Data: 0.00MB + Index: 0.00MB wp_wfSNIPCache: Data: 0.01MB + Index: 0.00MB wp_wfStatus: Data: 0.08MB + Index: 0.03MB wp_wfThrottleLog: Data: 0.00MB + Index: 0.00MB wp_wfVulnScanners: Data: 0.00MB + Index: 0.00MB wp_woocommerce_extra_flat_rates: Data: 0.00MB + Index: 0.00MB wp_woof_query_cache: Data: 0.00MB + Index: 0.00MB wp_wpml_mails: Data: 1.87MB + Index: 0.01MB wp_yoast_seo_links: Data: 0.01MB + Index: 0.01MB wp_yoast_seo_meta: Data: 0.00MB + Index: 0.01MB ### Post Type Counts ### amn_exact-metrics: 1 attachment: 137 custom_css: 1 global_product_addon: 2 mc4wp-form: 2 nav_menu_item: 14 page: 31 post: 2 product: 84 product_variation: 74 revision: 95 shop_coupon: 2 shop_order: 1127 shop_order_refund: 15 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (43) ### ManageWP - Worker: by ManageWP – 4.6.3 The7 LayerSlider WP: by Kreatura Media – 6.7.6 The7 Ultimate Addons for WPBakery Page Builder: by Brainstorm Force – 3.17.0 Akismet Anti-Spam: by Automattic – 4.0.8 Autocomplete WooCommerce Orders: by Liam McArthur – 1.1.0 – Not tested with the active version of WooCommerce Booster Plus for WooCommerce: by Algoritmika Ltd – 4.0.1 – Not tested with the active version of WooCommerce Check Email: by Chris Taylor – 0.5.5 Contact Form 7: by Takayuki Miyoshi – 5.0.5 Custom Related Products for WooCommerce: by Scott Nelle – 1.3 – Not tested with the active version of WooCommerce The7 Elements: by Dream-Theme – 1.14.0 Duplicate Page: by mndpsingh287 – 2.8 Export User Data: by Q Studio – 1.3.1 Functionality: by Shea Bunge – 2.0.0 Google Analytics Dashboard for WP (GADWP): by ExactMetrics – 5.3.5 Heartbeat Control: by Jeff Matson – 1.2.5 Insert Headers and Footers: by WPBeginner – 1.4.3 The7 WPBakery Page Builder: by Michael M - WPBakery.com – 5.5.2 MailChimp for WordPress: by ibericode – 4.2.5 My Custom Functions: by Space X-Chimp – 4.31 Order / Coupon / Subscription Export Import Plugin for WooCommerce (BASIC): by WebToffee – 1.3.6 – Not tested with the active version of WooCommerce Postmark (Official): by Andrew Yates & Matt Gibbs – 1.9.6 Product CSV Import Export (BASIC): by WebToffee – 1.4.8 – Not tested with the active version of WooCommerce Profile Builder: by Cozmoslabs – 2.9.2 Redirection: by John Godley – 3.5 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.0.2 The7 Slider Revolution: by ThemePunch – 5.4.8 Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.18 WooCommerce Dynamic Pricing & Discounts: by RightPress – 2.2.8 – Not tested with the active version of WooCommerce WC Shipping Rates Importer: by joesat – 1.1.0 – Not tested with the active version of WooCommerce WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.2.1 – Not tested with the active version of WooCommerce Advanced Order Export For WooCommerce: by AlgolPlus – 1.5.6 – Not tested with the active version of WooCommerce Booster for WooCommerce: by Algoritmika Ltd – 4.0.1 – Not tested with the active version of WooCommerce WooCommerce PDF Invoice: by RightPress – 3.1.9 – Not tested with the active version of WooCommerce WooCommerce Product Add-ons: by WooCommerce – 3.0.1 WOOF - WooCommerce Products Filter: by realmag777 – 1.2.2 Simple Registration for WooCommerce: by Astoundify – 1.5.2 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.5.1 Yoast SEO: by Team Yoast – 9.0.3 – Not tested with the active version of WooCommerce WP Customise Login Logo: by Surbhit Dubey – 1.0 WP Fastest Cache: by Emre Vona – 0.8.8.6 WP Mail Logging: by Christian Z?ller – 1.8.5 WP Migrate DB: by Delicious Brains – 1.0.4 WP-Optimize: by David Anderson Ruhani Rabin Team Updraft – 2.2.6 ### Settings ### API Enabled: ? Force SSL: ? Currency: AUD () 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) ### WC Pages ### Shop base: #16 - /shop/ Cart: #17 - /cart/ Checkout: #18 - /checkout/ My account: #19 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: The7 Version: 7.0.0 Author URL: https://dream-theme.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: dt-the7/woocommerce/cart/cart.php dt-the7/woocommerce/cart/cross-sells.php dt-the7/woocommerce/checkout/form-billing.php dt-the7/woocommerce/checkout/form-checkout.php dt-the7/woocommerce/checkout/form-coupon.php dt-the7/woocommerce/checkout/form-login.php dt-the7/woocommerce/checkout/form-shipping.php dt-the7/woocommerce/checkout/review-order.php dt-the7/woocommerce/checkout/thankyou.php dt-the7/woocommerce/content-product.php dt-the7/woocommerce/content-product_cat.php dt-the7/woocommerce/global/breadcrumb.php dt-the7/woocommerce/global/form-login.php dt-the7/woocommerce/global/quantity-input.php dt-the7/woocommerce/loop/loop-end.php dt-the7/woocommerce/loop/loop-start.php dt-the7/woocommerce/loop/pagination.php dt-the7/woocommerce/myaccount/form-login.php dt-the7/woocommerce/notices/error.php dt-the7/woocommerce/notices/notice.php dt-the7/woocommerce/notices/success.php dt-the7/woocommerce/order/order-details-customer.php dt-the7/woocommerce/order/order-details.php dt-the7/woocommerce/single-product/meta.php dt-the7/woocommerce/single-product/price.php dt-the7/woocommerce/single-product/related.php dt-the7/woocommerce/single-product/up-sells.php
Hey there,
I’m sorry about the delay in getting back to you – I lost the notifications on my end.
Have you been able to solve this?
We’ve seen this type of behavior before and taking the following steps has resolved this issue in the past:
- Use the WooCommerce product exporter to export all of the products
- Remove all rows from the resulting sheet where the “In stock?” value is greater than 0
- Remove all columns except for ID and “In stock?’
- Set the value for all rows’ “In stock?” to 1
- Merge that sheet back in (import, check the box to update rather than create new products or skip)
- Edit the sheet again, setting the “In stock?” value to 0 for all rows
- Repeat step 5
- Rejoice
Kind regards,
Hi guys,
So sorry I wasn’t able to keep in touch.. We found out that this is a glitch due to Product Add-ons plugin and WordPress version incompatibility. After the latest update with the plugin Product Add-ons, everything was able to go back to normal.
Thanks @wbrubaker by the way for sharing that. Totally appreciate it.
All the best,
Hi there,
Glad to hear you were able to get this resolved. Thanks for updating the forum with your resolution.
- The topic ‘Incorrect product count on cart page’ is closed to new replies.