WC mini cart product count issue
-
I have an issue with the mini cart for woo commerce button. The product count appears to be solid circle instead of showing the numbers. I chekced the global settings of my theme and made sure taht the colours and settings match but i still cannot figure out why this is happening.
Im using astra theme.
-
Hey there, @jyas! Thanks for contacting us. I’m happy to help you.
Does the issue persists if you change to a default theme such as Storefront?
Can you please share a screenshot of what you see so we can take a look? I recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.
Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.Looking forward to your reply.
Have a wonderful day!
Hello. Thank you for your email. The issue does not occur when I change to another theme, for example the twenty twenty four. However once I change it back to my astra theme, the issue occurs. It didn't appear when I first added it onto my page. It seems like there's an issue within the theme css or something like that. Below are the screenshots for your reference. By default the mini cart has no colour selected, just the generic black and white badge icon with the product count showing. However, even when none are selected, when i try adding to cart, the count does not appear. You can also test this out on the website - https://esteemmusk.com.au/ https://snipboard.io/S62Zpa.jpg https://snipboard.io/R9HVNx.jpg https://snipboard.io/JbieEB.jpg Below is the System status report and the fatal error log. I hope this helps.
2024-04-06T05:17:50+00:00 CRITICAL Uncaught Error: Call to undefined method ElementorPro\Core\Utils::_unstable_check_document_permissions() in /home/vizualis/esteemmusk.com.au/wp-content/plugins/pro-elements/modules/payments/module.php:150 CONTEXT: {"error":{"type":1,"file":"\/home\/vizualis\/esteemmusk.com.au\/wp-content\/plugins\/pro-elements\/modules\/payments\/module.php","line":150},"backtrace":["","#0 [internal function]: ElementorPro\\Modules\\Payments\\Module->get_stripe_tax_rates()","#1 \/home\/vizualis\/esteemmusk.com.au\/wp-content\/plugins\/elementor\/core\/common\/modules\/ajax\/module.php(176): call_user_func()","#2 \/home\/vizualis\/esteemmusk.com.au\/wp-includes\/class-wp-hook.php(324): Elementor\\Core\\Common\\Modules\\Ajax\\Module->handle_ajax_request()","#3 \/home\/vizualis\/esteemmusk.com.au\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()","#4 \/home\/vizualis\/esteemmusk.com.au\/wp-includes\/plugin.php(517): WP_Hook->do_action()","#5 \/home\/vizualis\/esteemmusk.com.au\/wp-admin\/admin-ajax.php(192): do_action()","#6 {main}","thrown"]} Kind regards. JamielWordPress Environment WordPress address (URL): https://esteemmusk.com.au Site address (URL): https://esteemmusk.com.au WC Version: 8.7.0 REST API Version: ? 8.7.0 Action Scheduler Version: ? 3.7.2 Log Directory Writable: ? WP Version: 6.5.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – Server Environment Server Info: LiteSpeed PHP Version: 8.2.16 PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 3000 cURL Version: 7.87.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 10.6.17-MariaDB Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.7.0 WC Database Prefix: XIDOmID_ Total Database Size: 35.88MB Database Data Size: 34.93MB Database Index Size: 0.95MB XIDOmID_woocommerce_sessions: Data: 0.05MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_actionscheduler_actions: Data: 0.12MB + Index: 0.06MB + Engine MyISAM XIDOmID_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_actionscheduler_logs: Data: 0.08MB + Index: 0.08MB + Engine MyISAM XIDOmID_aioseo_cache: Data: 0.09MB + Index: 0.01MB + Engine MyISAM XIDOmID_aioseo_crawl_cleanup_blocked_args: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_aioseo_crawl_cleanup_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_aioseo_notifications: Data: 0.06MB + Index: 0.01MB + Engine MyISAM XIDOmID_aioseo_posts: Data: 0.06MB + Index: 0.00MB + Engine MyISAM XIDOmID_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_comments: Data: 0.03MB + Index: 0.02MB + Engine MyISAM XIDOmID_e_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_e_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_e_submissions_actions_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_e_submissions_values: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_fsmpt_email_logs: Data: 0.60MB + Index: 0.00MB + Engine MyISAM XIDOmID_gla_attribute_mapping_rules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_gla_budget_recommendations: Data: 0.11MB + Index: 0.12MB + Engine MyISAM XIDOmID_gla_merchant_issues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_gla_shipping_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_gla_shipping_times: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_jetpack_sync_queue: Data: 0.18MB + Index: 0.01MB + Engine MyISAM XIDOmID_jetpack_waf_blocklog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_automations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_automation_runs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_automation_run_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_automation_run_subjects: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_automation_triggers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_automation_versions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_dynamic_segment_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_feature_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_mailpoet_newsletters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_newsletter_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_newsletter_option: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_newsletter_option_fields: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_mailpoet_newsletter_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_newsletter_segment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_newsletter_templates: Data: 1.04MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_scheduled_tasks: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_mailpoet_scheduled_task_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_segments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_mailpoet_sending_queues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_statistics_bounces: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_statistics_clicks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_statistics_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_statistics_newsletters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_statistics_opens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_statistics_unsubscribes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_statistics_woocommerce_purchases: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_stats_notifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_subscribers: Data: 0.00MB + Index: 0.02MB + Engine MyISAM XIDOmID_mailpoet_subscriber_custom_field: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_subscriber_ips: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_subscriber_segment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_subscriber_tag: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_tags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_user_agents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_mailpoet_user_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_options: Data: 27.02MB + Index: 0.12MB + Engine MyISAM XIDOmID_postmeta: Data: 3.35MB + Index: 0.19MB + Engine MyISAM XIDOmID_posts: Data: 1.97MB + Index: 0.08MB + Engine MyISAM XIDOmID_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_usermeta: Data: 0.10MB + Index: 0.02MB + Engine MyISAM XIDOmID_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM XIDOmID_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wc_orders: Data: 0.00MB + Index: 0.02MB + Engine MyISAM XIDOmID_wc_orders_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_order_addresses: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wc_order_operational_data: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM XIDOmID_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wpforms_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wpforms_payments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wpforms_payment_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wpforms_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM XIDOmID_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB XIDOmID_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM Post Type Counts attachment: 48 bsf_custom_fonts: 1 custom_css: 1 customize_changeset: 108 e-landing-page: 1 elementor_font: 1 elementor_library: 1 elementor-hf: 1 feedback: 17 mailpoet_page: 1 nav_menu_item: 16 oembed_cache: 1 page: 14 post: 2 product: 7 product_variation: 7 revision: 420 shop_order_placehold: 3 ultimate-woo-cart: 1 wp_global_styles: 2 wp_navigation: 1 wpforms: 3 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (13) FluentSMTP: by FluentSMTP & WPManageNinja Team – 2.2.72 Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.2 All in One SEO: by All in One SEO Team – 4.6.0 Custom Fonts: by Brainstorm Force – 2.1.4 Elementor: by Elementor.com – 3.20.3 Elementor Header & Footer Builder: by Brainstorm Force Nikhil Chavan – 1.6.26 Jetpack: by Automattic – 13.3 PRO Elements: by PROElements.org – 3.19.3 Spectra: by Brainstorm Force – 2.12.7 WooPayments: by Automattic – 7.4.0 WooCommerce PayPal Payments: by WooCommerce – 2.6.1 WooCommerce: by Automattic – 8.7.0 WPForms Lite: by WPForms – 1.8.7.2 Inactive Plugins (2) CartFlows: by CartFlows Inc – 2.0.6 Starter Templates: by Brainstorm Force – 4.1.6 Dropin Plugins () maintenance.php: maintenance.php 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) Connected to Woo.com: – Enforce Approved Product Download Directories: ? HPOS feature screen enabled: ? HPOS feature enabled: ? Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – Logging Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 2 KB WC Pages Shop base: #38 - /store/ Cart: #25 - /cart/ Checkout: #637 - /checkout/ My account: #27 - /my-account/ Terms and conditions: ? Page not set Theme Name: Astra Version: 4.6.11 Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme 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: – WooPayments Version: 7.4.0 Connected to WPCOM: Yes WPCOM Blog ID: 226321722 Account ID: acct_1OdtbaC6ahnyPLPg Payment Gateway: Enabled Test Mode: Disabled Enabled APMs: card WooPay: Not eligible Apple Pay / Google Pay: Disabled Fraud Protection Level: basic Multi-currency: Enabled Public Key Encryption: Disabled Auth and Capture: Enabled Documents: Disabled Logging: Disabled WooCommerce PayPal Payments Onboarded: ? Shop country code: AU WooCommerce currency supported: ? Advanced Card Processing available in country: ? Pay Later messaging available in country: ? Webhook status: – PayPal Vault enabled: – ACDC Vault enabled: – Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: – Subscriptions Mode: Disabled Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked 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: customize-store minified-js new-product-management-experience product-pre-publish-modal settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-04-10 08:05:14 +10:00 Options: ? Notes: 69 Onboarding: completed Action Scheduler Complete: 246 Oldest: 2024-03-11 01:27:57 +1100 Newest: 2024-04-10 09:53:46 +1000 Failed: 48 Oldest: 2023-11-24 19:34:18 +1100 Newest: 2024-04-09 00:02:26 +1000 Pending: 8 Oldest: 2024-04-10 10:08:46 +1000 Newest: 2024-04-30 10:00:00 +1000 Status report information Generated at: 2024-04-10 09:58:09 +10:00
Also, below is the screenshot of using the other theme. notice how the transparent style is crossed and then the defualt one is enabled which allows the count to show, the opposite happens for the theme im currently using.
https://snipboard.io/iKkxpX.jpgHey, @jyas!
Thank you for the information!
Since the issue only happens on the Astra theme, please reach out to their support so they can assist you further with this. You can contact them here.
You can share the thread link so they can see the information you already shared ??
Please let us know if there’s anything else we can do to help or if you have any questions.
Have a wonderful day!
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
- The topic ‘WC mini cart product count issue’ is closed to new replies.