On backorder VS Out of stock
-
Hi,
I’m encountering a problem when importing products in WooCommerce. As I remember, this issue comes up with the last WooCommerce update (v 5.0).
My customer uses Hiboutik to manage the stock. To update the eshop, we export a CSV file and import it in WooCommerce. Previously, when a product had 0 of stock, is was imported in WooCommerce as “Out of stock”. Recently – using the same method – the product is set to “On backorder”. I precise that I’ve verified that the “Allow backorders” option is set on “Do not allow”.
Also, I can’t modify the stock status of some “On backorder” products. I’ve increased the stock, updated the product page and then decreased to 0 and updated again but nothing change.
Thanks in advance for your precious help,
best regards,
Michael
-
Hello Michael,
It seems some products are imported with incorrect order status, and for some, you’re unable to change the stock status after import.
I see you’re using Hiboutik to manage the stock. What happens when you disable the plugin and then try to import products/ make changes to stock? Do you still see the same behavior?
If yes, 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.
Hello Asshik,
Thank you very much for you prompt answer and sorry for the delay: I wasn’t able to make tests before.
I’ve deactivated the Hiboutik plugin and nothing change. When I add stock on a variation, the product is set as “In stock”. However, when I reset all the stocks at 0, the product status isn’t “Out of stock” but always “On backorder”.
Also, another strange behaviour concerns variations’ dropdown (in a product page). Normally, when the stock of an attribute is 0, the dropdown is still showing the attribute (eg. XL). However, this is not the case in some of the products contained in the shop.
Does a data base cleanup could improve something?
Please find below the system status. Best regards,
Michael—
### WordPress Environment ### WordPress address (URL): https://www.pepecassius.ch Site address (URL): https://www.pepecassius.ch WC Version: 5.1.0 REST API Version: ? 5.1.0 WC Blocks Version: ? 4.4.3 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.0.2 Log Directory Writable: ? WP Version: ? 5.6.2 - There is a newer version of WordPress available (5.7) WP Multisite: – WP Memory Limit: 640 MB WP Debug Mode: – WP Cron: ? Language: fr_FR External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.27 PHP Post Max Size: 300 MB PHP Time Limit: 60 PHP Max Input Vars: 10000 cURL Version: 7.52.1 OpenSSL/1.0.2l SUHOSIN Installed: – MySQL Version: 5.7.32-log Max Upload Size: 300 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.1.0 WC Database Prefix: wp_611594_ Total Database Size: 273.20MB Database Data Size: 218.99MB Database Index Size: 54.21MB wp_611594_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB wp_611594_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_611594_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_611594_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_611594_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_611594_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_611594_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_611594_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_611594_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_actionscheduler_actions: Data: 3.52MB + Index: 2.34MB + Engine InnoDB wp_611594_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_actionscheduler_logs: Data: 2.52MB + Index: 3.03MB + Engine InnoDB wp_611594_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_611594_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_611594_eum_logs: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_611594_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_import_detail_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_import_log_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_import_postID: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_options: Data: 5.03MB + Index: 0.48MB + Engine InnoDB wp_611594_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_postmeta: Data: 57.14MB + Index: 13.72MB + Engine InnoDB wp_611594_posts: Data: 71.47MB + Index: 3.45MB + Engine InnoDB wp_611594_simple_history: Data: 5.05MB + Index: 3.78MB + Engine InnoDB wp_611594_simple_history_contexts: Data: 61.06MB + Index: 20.22MB + Engine InnoDB wp_611594_smackcsv_file_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_smackuci_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_termmeta: Data: 0.13MB + Index: 0.14MB + Engine InnoDB wp_611594_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_611594_term_relationships: Data: 1.23MB + Index: 0.45MB + Engine InnoDB wp_611594_term_taxonomy: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_611594_ultimate_csv_importer_acf_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_ultimate_csv_importer_mappingtemplate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_ultimate_csv_importer_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_ultimate_csv_importer_shortcode_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_ultimate_post_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_usermeta: Data: 1.03MB + Index: 0.06MB + Engine InnoDB wp_611594_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_611594_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_611594_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_611594_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_611594_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_611594_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_611594_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_611594_wc_product_meta_lookup: Data: 1.50MB + Index: 1.11MB + Engine InnoDB wp_611594_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_wpf_filters: Data: 0.03MB + Index: 0.00MB + Engine InnoDB wp_611594_wpf_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_wpf_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_wpf_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_wpmelon_advbedit_temp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_611594_yoast_indexable: Data: 6.16MB + Index: 3.63MB + Engine InnoDB wp_611594_yoast_indexable_hierarchy: Data: 0.44MB + Index: 0.58MB + Engine InnoDB wp_611594_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_611594_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_611594_yoast_prominent_words: Data: 0.09MB + Index: 0.09MB + Engine InnoDB wp_611594_yoast_seo_links: Data: 0.17MB + Index: 0.09MB + Engine InnoDB ### Post Type Counts ### acf-field: 77 acf-field-group: 13 acf-options-page: 1 attachment: 2948 br_product_filter: 3 custom_css: 1 customize_changeset: 38 elementor_font: 1 elementor_library: 25 elementskit_content: 2 marques_produits: 4 nav_menu_item: 31 oembed_cache: 38 page: 12 plus-mega-menu: 2 post: 2 product: 1160 product_variation: 4296 revision: 3669 shop_order: 11 slider_header: 4 valeurs: 4 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (50) ### ACF Content Analysis for Yoast SEO: by Thomas Kr?ftner ViktorFroberg marol87 pekz0r angrycreative Team Yoast – 3.0.1 Adminimize: by Frank Bültge – 1.11.7 Advanced Custom Fields: Font Awesome: by mattkeys – 3.1.1 Advanced Custom Fields PRO: by Elliot Condon – 5.9.5 Auto Image Attributes From Filename With Bulk Updater: by Arun Basil Lal – 1.6 Autoptimize: by Frank Goossens (futtta) – 2.8.1 Better Admin Bar: by KubiQ – 3.1 Better Search Replace: by Delicious Brains – 1.3.4 Custom Post Type UI: by WebDevStudios – 1.8.2 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.1.1 Dynamic Content for Elementor: by Dynamic.ooo – 1.12.2 Elementor Pro: by Elementor.com – 3.1.1 Elementor: by Elementor.com – 3.1.1 ElementsKit Lite: by Wpmet – 2.1.7 Enable Media Replace: by ShortPixel – 3.5.0 Favicon by RealFaviconGenerator: by Philippe Bernard – 1.3.20 Flexible Shipping: by WP Desk – 4.0.10 Folders: by Premio – 2.6.8 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.16.2 Header Footer Code Manager: by 99robots – 1.1.9 Health Check & Troubleshooting: by La communauté WordPress – 1.4.5 Instant Images: by Darren Cooney – 4.3.5 Loco Translate: by Tim Whitlock – 2.5.0 MouseWheel Smooth Scroll: by KubiQ – 5.5 My Custom Functions: by Space X-Chimp – 4.48 ACF Options Page Admin: by John A. Huebner II – 3.9.6 Perfect Brands for WooCommerce: by QuadLayers – 1.8.6 Really Simple SSL: by Really Simple Plugins – 4.0.9 Show Net Revenue from WooCommerce Stripe Gateway: by Matt Rose – 1.1.0 Simple Custom Post Order: by Colorlib – 2.5.3 Simple History: by P?r Thernstr?m – 2.39.0 Easy Updates Manager: by Easy Updates Manager Team – 9.0.7 SVG Support: by Benbodhi – 2.3.18 Temporary Login Without Password: by StoreApps – 1.6.7 The Plus Addons for Elementor Page Builder Lite: by POSIMYTH – 2.0.4 The Plus Addons for Elementor Page Builder: by POSIMYTH – 4.1.7 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.47 User Role Editor: by Vladimir Garagulya – 4.58.2 WebP Converter for Media: by Mateusz Gbiorczyk – 2.3.0 WooCommerce Advanced Bulk Edit: by George Iron – 4.6.2.3 WooCommerce Stripe Gateway: by WooCommerce – 4.9.0 Hiboutik: by Hiboutik & Murelh Ntyandi – 1.2.1 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.8.2 WooCommerce: by Automattic – 5.1.0 Woo Product Filter PRO: by WooBeWoo – 1.4.5 WooCommerce Product Filter by WooBeWoo: by WooBeWoo – 1.4.5 Yoast SEO Premium: by Team Yoast – 15.9 WP Extra File Types: by Davide Airaghi – 0.4.4.1 WP Super Cache: by Automattic – 1.7.1 WPCore Plugin Manager: by Stuart Starr – 1.9.1 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### Health Check Troubleshooting Mode: by – 1.7.2 ### Settings ### API Enabled: – Force SSL: – Currency: CHF (CHF) 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: #8 - /shop Cart: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block. Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block. My account: ? Page does not contain the [woocommerce_my_account] shortcode. Terms and conditions: #45 - /conditions-generales-de-vente ### Theme ### Name: Hello Elementor Child Version: 1.0.1 Author URL: https://elementor.com/ Child Theme: ? Parent Theme Name: Hello Elementor Parent Theme Version: 2.3.1 Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Complete: 11,193 Oldest: 2021-02-22 07:22:23 +0100 Newest: 2021-03-22 20:39:28 +0100 ### Status report information ### Generated at: 2021-03-22 20:49:41 +01:00
Hello Michael,
Also, another strange behaviour concerns variations’ dropdown (in a product page). Normally, when the stock of an attribute is 0, the dropdown is still showing the attribute (eg. XL). However, this is not the case in some of the products contained in the shop.
Nothing obvious stands out from the System Status Report, but this kind of problem is usually caused by a conflict with your theme or with another plugin.
?
The best way to determine this is to:- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.`
Hello Aashik,
thanks for answering. I’ve activated the Troubleshooting Mode. When I activate the Frontstore theme and I deactivate all the plugins but WooCommerce, here is the results:
Variations dropdown
One product is still showing only the attributes where stock is higher than 0 (see here)Stock management
In the product admin page, when I set all the variations’ stocks to 0, the product is tagged with “On Backorder”.
However, when I do the actions listed below, I succeed in putting the product “Out of stock”:
– activating the option “Enable stock management at product level”
– putting a stock quantity > 0 in “Stock quantity”
– publishing
– displaying the product in the catalog (admin side)
– putting the stock quantity to 0
– publishing
– displaying the product in the catalog (admin side)
– deactivating the option “Enable stock management at product level”
– publishing
– displaying the product in the catalog (admin side)Thanks to this process, I’v succeeded in modifying all the “On backorder” products to “Out of stock” ones.
Also, I’ve made a test using the Hiboutik plugin and manually synchronizing stocks (it’s a functionality of the plugin). Products with 0 stock are still tagged “Out of stock”. Hope it will be the same in the next sells (if a stock variations becomes 0).
To sum up, there is still a bug dealing with the variations’ dropdown menu.
Best regards,
MichaelHello Michael,
One product is still showing only the attributes where stock is higher than 0 (see here)
Not sure what exactly is causing this behavior. If you manually create a new copy of this product, do you see the same behavior on the copied, new product – too?
Hello Aashik,
thanks for your answer. I’ve manually create a new copy of the product but nothing change (I made the test in normal mode and troubleshooting mode). However, at the first secondes of loading, all the attributes are displayed in the dropdown menu (as you can see here). And when the page is entirely loaded, the dropdown menu only shows the in stock attribute(s).
I’m a bit confused with this behavior and don’t really know what to search…
Best regards,
MichaelHello Michael,
That doesn’t look like the stock Storefront Theme theme. Can you please try with that theme enabled?
If that doesn’t help as well, the next step would be to reach out to your WebHost and confirm if they’re caching your website files, and if yes, request them to temporarily disable caching and see if you can still replicate this behavior.
Hello Aashik,
I’ve enabled the Storefront Theme theme but the issue is still existing.
I’ve also contacted the web host and they doesn’t caching website files.best regrads,
MichaelHello Michael,
I’ve enabled the Storefront Theme theme but the issue is still existing.
I’ve also contacted the web host and they doesn’t caching website files.For further troubleshooting, can you please send an email to us directly to help [at] woocommerce.com so with a link to this forum thread and the outstanding issues you’re facing on your store along with your System Status Report?
To ensure there’s no loss of information by working in two different places, I’ll mark this topic as solved for now and we can continue working on this via email.
- The topic ‘On backorder VS Out of stock’ is closed to new replies.