Issue with out of stock products – shown as 0 stock
-
As described years back, https://www.ads-software.com/support/topic/out-of-stock-status-not-being-displayed-showing-0-availabilty-instead/, since the last two woocommerce updates, i am experiencing an issue on products shown as 0 stock on one of my sites ( havent updated woocommerce on other site, afraid of happening the same).
So when a product is 0 stock set, instead showing Out of stock it shows ”0 Stock” and ”add to cart button is available; but of course, it adds nothing to cart.
What to do?
-
Hey there, @macborta! Thanks for contacting us. I’m happy to help you.
I tried to replicate it on my website while having only WooCommerce as an active plugin, and it works as expected showing the product out of stock and disabling the add to cart button (if back orders are not allowed).
This thread you shared is from a third-party plugin called Stock Locations for WooCommerce. Do you use this plugin?
If you do, are you able to replicate the issue on your website while the plugin is deactivated?
The reason I’m asking is because if the issue only happens if Stock Locations for WooCommerce is active, then please contact their support so they can assist you further with this.
If you are having the issue without this other plugin, please let us know so we can help you investigate what is causing this. ??
Have a wonderful day!
Thank you @carolm29 for your fast reply. Sadly, no, its not an issue related to that plugin. actually, I have disabled all the plugins, changed theme to twenty-twenty, problem remained. Don’t know exactly what could be the issue.
I thought its woocommerce plugin related.
Here’s an example of the product showin 0 stock instead of out of stock. ??
-
This reply was modified 6 months, 3 weeks ago by
macborta.
Hi,
In order to troubleshoot this further, we’d need a good overview of what’s installed on your site at the moment. With this in mind, please share a copy of you status report as found under WooCommerce > Status.
Also, please confirm the following:
- Whether back-order is enabled for that product
- Whether you’re seeing the same thing after disabling the “Estimated Delivery for WooCommerce” plugin (I’m asking as I can see some JavaScript errors on the site linked to this plugin)
Thanks!
It seems its not from these plugins. I did exported a CSV from Products – export. I saw that on on column ”In stock?” its the value ”1” even if on column ”Stock” value is ”0”. That ain’t normal but I don’t know whats the source of the issue, and however, I dont know if im replacing with ”0” value for ”0” stock will work for now only or not.
And no, i’m not using back-orders option.
Hi @macborta,
It seems its not from these plugins. I did exported a CSV from Products – export. I saw that on on column ”In stock?” its the value ”1” even if on column ”Stock” value is ”0”. That ain’t normal but I don’t know whats the source of the issue, and however, I dont know if im replacing with ”0” value for ”0” stock will work for now only or not.
The “In stock”? column is binary, so 1 is true and 0 is false. If you have stock management, and the stock is 0, the columns should show “In stock?” as 0 (so out of stock), and “Stock” as 0 (as you have 0 stock of this product). Your results are unusual, and it may mean something else is interfering with your site.
And no, i’m not using back-orders option.
Thank you for the additional details. 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.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Once we have more information, we’ll be able to assist you further.
Thanks!
-OPThank you for your reply!
I know its binary, and i’m wondering what have made it change.
On fatal error there only been two errors regarding a cache plugin that failed to automatically update.
WordPress Environment<br><br>WordPress address (URL): https://techplaza.ro<br>Site address (URL): https://techplaza.ro<br>WC Version: 9.2.3<br>Legacy REST API Package Version: Modulul Legacy REST API nu este instalat pe acest site.<br>Action Scheduler Version: ? 3.8.1<br>Log Directory Writable: ?<br>WP Version: 6.6.1<br>WP Multisite: –<br>WP Memory Limit: 1 Go<br>WP Debug Mode: –<br>WP Cron: –<br>Language: ro_RO<br>External object cache: – Server Environment<br><br>Server Info: LiteSpeed<br>PHP Version: 8.2.22<br>PHP Post Max Size: 1 Go<br>PHP Time Limit: 600<br>PHP Max Input Vars: 15000<br>cURL Version: 7.61.1<br>OpenSSL/1.1.1k<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.6.18-MariaDB-cll-lve<br>Max Upload Size: 1 Go<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database<br><br>WC Database Version: 9.2.3<br>WC Database Prefix: P4UuMA_<br>Dimensiune total? baz? de date: 3183.47MB<br>Dimensiune date baz? de date: 730.45MB<br>Dimensiune index baz? de date: 2453.02MB<br>P4UuMA_woocommerce_sessions: Date: 8.02 MO + Index: 0.38 MO + Motor InnoDB<br>P4UuMA_woocommerce_api_keys: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_woocommerce_attribute_taxonomies: Date: 0.11 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_woocommerce_downloadable_product_permissions: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_woocommerce_order_items: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_woocommerce_order_itemmeta: Date: 0.06 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_woocommerce_tax_rates: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_woocommerce_tax_rate_locations: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_woocommerce_shipping_zones: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_woocommerce_shipping_zone_locations: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_woocommerce_shipping_zone_methods: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_woocommerce_payment_tokens: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_woocommerce_payment_tokenmeta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_woocommerce_log: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_actionscheduler_actions: Date: 41.56 MO + Index: 38.78 MO + Motor InnoDB<br>P4UuMA_actionscheduler_claims: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_actionscheduler_groups: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_actionscheduler_logs: Date: 27.56 MO + Index: 17.72 MO + Motor InnoDB<br>P4UuMA_cartflows_ca_cart_abandonment: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_cartflows_ca_email_history: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_cartflows_ca_email_templates: Date: 0.17 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_cartflows_ca_email_templates_meta: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_cmplz_cookiebanners: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_cmplz_cookies: Date: 0.05 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_cmplz_dnsmpd: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_cmplz_services: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_commentmeta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_comments: Date: 0.05 MO + Index: 0.09 MO + Motor InnoDB<br>P4UuMA_cr_local_forms: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_cr_reminders_log: Date: 0.02 MO + Index: 0.08 MO + Motor InnoDB<br>P4UuMA_curiero_mygls_awb_data: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_e_events: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_e_notes: Date: 0.02 MO + Index: 0.17 MO + Motor InnoDB<br>P4UuMA_e_notes_users_relations: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_e_submissions: Date: 0.02 MO + Index: 0.27 MO + Motor InnoDB<br>P4UuMA_e_submissions_actions_log: Date: 0.02 MO + Index: 0.11 MO + Motor InnoDB<br>P4UuMA_e_submissions_values: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_feed: Date: 31.56 MO + Index: 0.91 MO + Motor InnoDB<br>P4UuMA_hfcm_scripts: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_ibtpay_orders_pre: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_links: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_litespeed_img_optming: Date: 70.59 MO + Index: 79.80 MO + Motor InnoDB<br>P4UuMA_mailpoet_automations: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_mailpoet_automation_runs: Date: 0.02 MO + Index: 0.08 MO + Motor InnoDB<br>P4UuMA_mailpoet_automation_run_logs: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_mailpoet_automation_run_subjects: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_mailpoet_automation_triggers: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_mailpoet_automation_versions: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_custom_fields: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_dynamic_segment_filters: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_feature_flags: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_forms: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_mailpoet_log: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_mailpoet_migrations: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_newsletters: Date: 0.05 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_mailpoet_newsletter_links: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_mailpoet_newsletter_option: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_newsletter_option_fields: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_newsletter_posts: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_newsletter_segment: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_newsletter_templates: Date: 3.52 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_mailpoet_scheduled_tasks: Date: 0.08 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_mailpoet_scheduled_task_subscribers: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_segments: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_mailpoet_sending_queues: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_mailpoet_settings: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_statistics_bounces: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_mailpoet_statistics_clicks: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_mailpoet_statistics_forms: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_statistics_newsletters: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_mailpoet_statistics_opens: Date: 0.02 MO + Index: 0.08 MO + Motor InnoDB<br>P4UuMA_mailpoet_statistics_unsubscribes: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_mailpoet_statistics_woocommerce_purchases: Date: 0.02 MO + Index: 0.08 MO + Motor InnoDB<br>P4UuMA_mailpoet_stats_notifications: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_mailpoet_subscribers: Date: 0.02 MO + Index: 0.23 MO + Motor InnoDB<br>P4UuMA_mailpoet_subscriber_custom_field: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_subscriber_ips: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_subscriber_segment: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_mailpoet_subscriber_tag: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_mailpoet_tags: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_user_agents: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_mailpoet_user_flags: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_nod_brands: Date: 0.22 MO + Index: 0.20 MO + Motor InnoDB<br>P4UuMA_nod_categories: Date: 0.05 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_nod_categories_match: Date: 0.05 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_nod_category_brand_percentage_changes: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_nod_category_shipping: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_nod_default_shipping: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_nod_import_buffer: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_options: Date: 13.45 MO + Index: 0.34 MO + Motor InnoDB<br>P4UuMA_postmeta: Date: 345.92 MO + Index: 106.16 MO + Motor InnoDB<br>P4UuMA_posts: Date: 93.59 MO + Index: 30.14 MO + Motor InnoDB<br>P4UuMA_rank_math_404_logs: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_rank_math_analytics_ga: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_rank_math_analytics_gsc: Date: 0.05 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_rank_math_analytics_inspections: Date: 0.02 MO + Index: 0.11 MO + Motor InnoDB<br>P4UuMA_rank_math_analytics_keyword_manager: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_rank_math_analytics_objects: Date: 10.52 MO + Index: 4.55 MO + Motor InnoDB<br>P4UuMA_rank_math_internal_links: Date: 3.52 MO + Index: 1.52 MO + Motor InnoDB<br>P4UuMA_rank_math_internal_meta: Date: 0.22 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_rank_math_redirections: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_rank_math_redirections_cache: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_sameday_awb: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_sameday_locker: Date: 2.52 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_sameday_package: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_sameday_pickup_point: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_sameday_service: Date: 0.08 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_scw_contact_form_leads: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_seo: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_snippets: Date: 0.05 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_surecart_incoming_webhooks: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_surecart_integrations: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_termmeta: Date: 1.50 MO + Index: 0.48 MO + Motor InnoDB<br>P4UuMA_terms: Date: 0.52 MO + Index: 0.45 MO + Motor InnoDB<br>P4UuMA_term_relationships: Date: 16.55 MO + Index: 8.52 MO + Motor InnoDB<br>P4UuMA_term_taxonomy: Date: 1.52 MO + Index: 0.77 MO + Motor InnoDB<br>P4UuMA_trp_gettext_original_meta: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_trp_gettext_original_strings: Date: 0.34 MO + Index: 0.16 MO + Motor InnoDB<br>P4UuMA_trp_gettext_ro_ro: Date: 0.47 MO + Index: 0.34 MO + Motor InnoDB<br>P4UuMA_trp_original_meta: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_trp_original_strings: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_usermeta: Date: 0.08 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_users: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_wc_admin_notes: Date: 0.06 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_wc_admin_note_actions: Date: 0.06 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_wc_category_lookup: Date: 0.17 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_wc_customer_lookup: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_wc_download_log: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_wc_orders: Date: 0.02 MO + Index: 0.11 MO + Motor InnoDB<br>P4UuMA_wc_orders_meta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_wc_order_addresses: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_wc_order_coupon_lookup: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_wc_order_operational_data: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_wc_order_product_lookup: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_wc_order_stats: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_wc_order_tax_lookup: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_wc_product_attributes_lookup: Date: 9.55 MO + Index: 6.55 MO + Motor InnoDB<br>P4UuMA_wc_product_download_directories: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_wc_product_meta_lookup: Date: 4.52 MO + Index: 13.53 MO + Motor InnoDB<br>P4UuMA_wc_rate_limits: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_wc_reserved_stock: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_wc_tax_rate_classes: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_wc_webhooks: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_woodmart_wishlists: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_woodmart_wishlist_products: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_wpforms_logs: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_wpforms_payments: Date: 0.02 MO + Index: 0.14 MO + Motor InnoDB<br>P4UuMA_wpforms_payment_meta: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB<br>P4UuMA_wpforms_tasks_meta: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_wpf_filters: Date: 0.13 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_wpf_meta_data: Date: 25.55 MO + Index: 53.22 MO + Motor InnoDB<br>P4UuMA_wpf_meta_keys: Date: 0.11 MO + Index: 0.08 MO + Motor InnoDB<br>P4UuMA_wpf_meta_values: Date: 0.02 MO + Index: 2078.30 MO + Motor InnoDB<br>P4UuMA_wpf_meta_values_bk: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_wpf_modules: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_wpf_modules_type: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_wpf_usage_stat: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_wpmailsmtp_debug_events: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_wpmailsmtp_emails_log: Date: 3.52 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_wpmailsmtp_email_tracking_events: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB<br>P4UuMA_wpmailsmtp_email_tracking_links: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB<br>P4UuMA_wpmailsmtp_tasks_meta: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB<br>P4UuMA_wpr_above_the_fold: Date: 0.08 MO + Index: 0.06 MO + Motor InnoDB<br>P4UuMA_wpr_rocket_cache: Date: 2.31 MO + Index: 3.86 MO + Motor InnoDB<br>P4UuMA_wpr_rucss_used_css: Date: 7.39 MO + Index: 1.67 MO + Motor InnoDB Post Type Counts<br><br>attachment: 90374<br>cms_block: 28<br>custom_css: 2<br>cwginstocknotifier: 9<br>elementor_library: 2<br>gsb_buttons: 1<br>language_switcher: 2<br>mailpoet_page: 1<br>nav_menu_item: 1561<br>page: 26<br>pi_efrs_custom_group: 2<br>pi_shipping_method: 1<br>portfolio: 9<br>post: 10<br>product: 32893<br>product_variation: 12<br>revision: 1034<br>sc_form: 1<br>shop_order: 18<br>woodmart_layout: 5<br>woodmart_sidebar: 1<br>woodmart_size_guide: 1<br>woodmart_slide: 2<br>wp_font_face: 33<br>wp_font_family: 12<br>wp_global_styles: 2<br>wp_navigation: 1<br>wp_template_part: 1<br>wpforms: 2 Security<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (36)<br><br>Query Monitor: de John Blackbourn – 3.16.4<br>Advanced Cron Manager: de BracketSpace – 2.5.10<br>Automatic Translate Addon For Loco Translate: de Cool Plugins – 2.4.4<br>Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: de codewoogeek – 5.4.2<br>Bulk image resizer: de Giulio Pandolfelli – 2.0.1<br>Cancel order request for WooCommerce: de PI Websolution – 1.3.3.60<br>Code Snippets: de Code Snippets Pro – 3.6.5.1<br>Complianz | GDPR/CCPA Cookie Consent: de Really Simple Plugins – 7.1.0<br>Joinchat: de Creame – 5.1.7<br>Custom Shipping Methods for WooCommerce: de Imaginate Solutions – 1.9.1<br>Customer Reviews for WooCommerce: de CusRev – 5.59.2<br>easySales: de easySales – 1.1.48<br>Elementor: de Elementor.com – 3.23.4<br>Estimated Delivery for WooCommerce: de Daniel Riera – 1.4.5<br>Facturare - Persoana Fizica sau Juridica: de Avian Studio – 1.2.2<br>Header Footer Code Manager: de DraftPress – 1.1.38<br>Loco Translate: de Tim Whitlock – 2.6.11<br>MailPoet Premium: de MailPoet – 4.58.0<br>MailPoet: de MailPoet – 4.58.2<br>Woocommerce Nod Extension: de NOD – 1.5.8<br>PRO Elements: de PROElements.org – 3.23.3<br>Rank Math SEO PRO: de Rank Math – 3.0.67<br>Rank Math SEO: de Rank Math – 1.0.226<br>tbi bank RO: de Ilko Ivanov – 3.4.1<br>?n construc?ie: de WebFactory Ltd – 4.01<br>Plata prin iPay BT pentru WooCommerce: de Banca Transilvania – 2.4.5<br>CTX Feed: de WebAppick – 6.5.15<br>WooCommerce Cart Abandonment Recovery: de CartFlows Inc – 1.3.0<br>Product Filter by WBW: de WBW – 2.6.8<br>Pixel Manager for WooCommerce: de SweetCode – 1.43.5<br>WooCommerce Oblio: de Oblio Software – 1.0.60<br>WooCommerce: de Automattic – 9.2.3<br>Woodmart Core: de – 1.0.44<br>Woot.ro: de Woot.ro – 2.0.4<br>WP Mail SMTP Pro: de WP Mail SMTP – 4.1.0.1<br>WP Rocket: de WP Media – 3.16.2.1 Inactive Plugins (1)<br><br>GTM4WP - A Google Tag Manager (GTM) plugin for WordPress: de Thomas Geiger – 1.20.2 Dropin Plugins ()<br><br>advanced-cache.php: advanced-cache.php<br>maintenance.php: maintenance.php Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: RON (lei)<br>Currency Position: right_space<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 de zile<br>Level threshold: –<br>Log directory size: 8 Mo WC Pages<br><br>Baz? magazin: #47 - /shop/<br>Co?: #15 - /cos/ - Con?ine scurt-codul [woocommerce_cart]<br>Finalizare: #16 - /finalizare/ - Con?ine scurt-codul [woocommerce_checkout]<br>Contul meu: #17 - /contul-meu/<br>Termeni ?i condi?ii: #145602 - /termeni-si-conditii/ Theme<br><br>Name: Woodmart Child<br>Version: 1.0.0<br>Author URL: https://xtemos.com<br>Child Theme: ?<br>Parent Theme Name: Woodmart<br>Parent Theme Version: 7.6.0<br>Parent Theme Author URL: https://themeforest.net/user/xtemos<br>WooCommerce Support: ? Templates<br><br>Overrides: woodmart/woocommerce/archive-product.php<br>woodmart/woocommerce/cart/cart-item-data.php<br>woodmart/woocommerce/cart/cart.php<br>woodmart/woocommerce/cart/cross-sells.php<br>woodmart/woocommerce/cart/mini-cart.php<br>woodmart/woocommerce/checkout/form-checkout.php<br>woodmart/woocommerce/checkout/thankyou.php<br>woodmart/woocommerce/content-product-cat.php<br>woodmart/woocommerce/content-product.php<br>woodmart/woocommerce/content-single-product.php<br>woodmart/woocommerce/content-widget-product.php<br>woodmart/woocommerce/global/breadcrumb.php<br>woodmart/woocommerce/global/form-login.php<br>woodmart/woocommerce/global/quantity-input.php<br>woodmart/woocommerce/loop/add-to-cart.php<br>woodmart/woocommerce/loop/loop-end.php<br>woodmart/woocommerce/loop/loop-start.php<br>woodmart/woocommerce/loop/no-products-found.php<br>woodmart/woocommerce/loop/orderby.php<br>woodmart/woocommerce/loop/pagination.php<br>woodmart/woocommerce/loop/sale-flash.php<br>woodmart/woocommerce/myaccount/form-login.php<br>woodmart/woocommerce/product-searchform.php<br>woodmart/woocommerce/single-product/add-to-cart/grouped.php<br>woodmart/woocommerce/single-product/add-to-cart/variable.php<br>woodmart/woocommerce/single-product/meta.php<br>woodmart/woocommerce/single-product/product-attributes.php<br>woodmart/woocommerce/single-product/product-image.php<br>woodmart/woocommerce/single-product/product-thumbnails.php<br>woodmart/woocommerce/single-product/rating.php<br>woodmart/woocommerce/single-product/related.php<br>woodmart/woocommerce/single-product/sale-flash.php<br>woodmart/woocommerce/single-product/tabs/description.php<br>woodmart/woocommerce/single-product/tabs/tabs.php<br>woodmart/woocommerce/single-product/title.php<br>woodmart/woocommerce/single-product/up-sells.php<br>woodmart/woocommerce/single-product-reviews.php<br>woodmart/woocommerce/single-product.php MailPoet<br><br>Sending Method: PHPMail<br>Send all site's emails with: Metoda implicit? de trimitere WordPress<br>Task Scheduler method: Action Scheduler<br>Cron ping URL: https://techplaza.ro?mailpoet_router&endpoint=cron_daemon&action=ping Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br><br>Daily Cron: ? Next scheduled: 2024-08-31 14:38:15 +00:00<br>Options: ?<br>Notes: 65<br>Onboarding: completed Action Scheduler<br><br>Canceled: 7<br>Oldest: 2024-07-31 15:27:57 +0000<br>Newest: 2024-07-31 15:27:57 +0000<br><br>Complete: 104.847<br>Oldest: 2024-07-31 15:27:44 +0000<br>Newest: 2024-08-31 08:18:19 +0000<br><br>Failed: 5.841<br>Oldest: 2024-05-23 14:39:28 +0000<br>Newest: 2024-08-29 14:46:24 +0000<br><br>Pending: 12<br>Oldest: 2024-08-31 08:18:46 +0000<br>Newest: 2024-09-02 16:24:00 +0000 Status report information<br><br>Generated at: 2024-08-31 08:19:28 +00:00<br>
I have tried to take around 5K Sku’s exported out of site, changed the value to of ”in stock” via CSV and imported it. 1 Hour later, everything came back as before, showing wrong status.
Hi @macborta
Based on your explanation, it seems like there might be an issue with your database, where the “in stock” value is not updating correctly. It’s unusual that the issue persists even after you’ve manually updated the value via CSV.
I’d recommend taking a backup of your site and then try to repair and optimize your database. You can do this from your hosting control panel, using WP CLI or using a plugin like WP-DBManager, Advanced Database Cleaner , and WP-Optimize.
If the issue still persists, it might be worth checking if the issue is related to a cron job that’s running on your site and changing the stock status.
If you’re still having trouble, I would suggest testing using a fresh WordPress and WooCommerce installation.
I hope this helps! Please let us know how it goes or if you need further assistance.
-
This reply was modified 6 months, 3 weeks ago by
- The topic ‘Issue with out of stock products – shown as 0 stock’ is closed to new replies.