• Resolved joni54321

    (@joni54321)


    Hello. The global Out of stock threshold function seems to not be working correctly. For example, if product stock is already 2 and you set the Out of stock threshold 2, it will still show in stock for the product, and only will go out of stock if you save the product again. I just tested it on local wp clean wp wooocmmerce install

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    I was checking, but I am unable to get the same result on my end. Can you provide a screenshot of your product backend settings, so that I can try to reproduce the same conditions on my end?

    Looking forward to hearing from you.

    Thread Starter joni54321

    (@joni54321)

    Hello. I made a quick video so it’s easier to understand
    https://www.loom.com/share/36b0dc985f1442158f2520e09bbe236b

    Hi,

    Sorry for the delay, and thanks for the video that is showing the issue.

    To take a closer look, can you please share a copy of your site’s System Status Report? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?That will help us to investigate.

    Thanks.

    Thread Starter joni54321

    (@joni54321)

    Its a brand new wp site. Also this problem is on other sites i test. You dont have the same priblem? 
    
    
    
    WordPress Environment
    
    WordPress address (URL): https://localhost:10019
    Site address (URL): https://localhost:10019
    WC Version: 7.5.1
    REST API Version: ?</img> 7.5.1
    WC Blocks Version: ?</img> 9.6.6
    Action Scheduler Version: ?</img> 3.5.4
    Log Directory Writable: ?</img>
    WP Version: 6.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?</img>
    Language: en_US
    External object cache: –
    
    Server Environment
    
    Server Info: nginx/1.16.0
    PHP Version: 8.1.9
    PHP Post Max Size: 1,000 MB
    PHP Time Limit: 1200
    PHP Max Input Vars: 4000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.16
    Max Upload Size: 300 MB
    Default Timezone is UTC: ?</img>
    fsockopen/cURL: ?</img>
    SoapClient: ?</img>
    DOMDocument: ?</img>
    GZip: ?</img>
    Multibyte String: ?</img>
    Remote Post: ?</img>
    Remote Get: ?</img>
    
    Database
    
    WC Database Version: 7.5.1
    WC Database Prefix: wp_
    Total Database Size: 3.42MB
    Database Data Size: 1.99MB
    Database Index Size: 1.43MB
    wp_woocommerce_sessions: Data: 0.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.02MB + Index: 0.03MB + Engine InnoDB
    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.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.02MB + 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.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 1.06MB + Index: 0.03MB + Engine InnoDB
    wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + 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_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    Post Type Counts
    
    attachment: 1
    page: 7
    post: 2
    product: 1
    product_variation: 2
    revision: 1
    
    Security
    
    Secure connection (HTTPS): ?</img>
    Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ?</img>
    
    Active Plugins (1)
    
    WooCommerce: by Automattic – 7.5.1 (update to version 7.6.0 is available)
    
    Inactive Plugins (0)
    
    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: –
    Enforce Approved Product Download Directories: ?</img>
    Order datastore: WC_Order_Data_Store_CPT
    
    WC Pages
    
    Shop base: #6 - /shop/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: ?</img> Page not set
    
    Theme
    
    Name: Storefront
    Version: 4.2.0
    Author URL: https://woocommerce.com/
    Child Theme: ?</img> – 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: ?</img>
    
    Templates
    
    Overrides: –
    
    Admin
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    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: minified-js
    new-product-management-experience
    product-variation-management
    settings
    
    Daily Cron: ?</img> Next scheduled: 2023-04-14 16:12:09 +00:00
    Options: ?</img>
    Notes: 42
    Onboarding: skipped
    
    Action Scheduler
    
    Complete: 32
    Oldest: 2023-04-03 16:13:22 +0000
    Newest: 2023-04-14 12:15:27 +0000
    
    Failed: 1
    Oldest: 2023-04-04 08:51:54 +0000
    Newest: 2023-04-04 08:51:54 +0000
    
    Pending: 2
    Oldest: 2023-04-14 12:15:54 +0000
    Newest: 2023-04-15 12:15:27 +0000
    
    Status report information
    
    Generated at: 2023-04-14 12:15:56 +00:00
    `
    Saif

    (@babylon1999)

    Hello @joni54321,

    Thank you for bringing this to our attention. I was able to replicate the issue on my own test site as well.

    I have opened a GitHub report about it here: https://github.com/woocommerce/woocommerce/issues/37747

    At the time being, we are unable to provide an estimate for when the team will review or address the issue, as bug reports are evaluated based on various criteria. I suggest you subscribe to the thread for further updates.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Out of stock threshold’ is closed to new replies.