• Resolved PaulH

    (@paulhuckstepp)


    Hi,

    I’ve tried to find a solution to this and have looked through previous posts (1yr+ age) but I can’t get it to work.

    I’m building a site that doesn’t require stock management of any kind so I disabled that in the main Inventory settings page.

    I then created a variable product, set up an attribute (Size) and 4 terms (mini, small, midi, large), I made the attribute available for variations. In variations I created a entry for each of the 4 sizes and assigned prices (only, I don’t need weight or dimensions) and set the status to ‘In Stock’. Saved the product and viewed it. It always returns Out of Stock.

    Why is this happening? and how can I fix it?

    I’ve tried setting it up as a simple product first (with a base price) and then switching it to variable and double checking all the options and prices, but nothing seems to work.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @paulhuckstepp ,

    That is strange! Can you please check if you have stock management enabled at the product inventory level, here’s the setting: https://d.pr/i/NR0djO

    If you have it enabled, you can disable it and check if that helps.

    If not, then can you send screenshots of the following:

    • Product Inventory setting
    • Variation setting
    • WooCommerce Inventory setting (under WooCommerce > Settings > Products > Inventory

    You can use https://snipboard.io to send us a screenshot link. Let me know so we can check this further.

    Thread Starter PaulH

    (@paulhuckstepp)

    Hi.

    Stock Management was turned off from the initial set up of the plugin.

    WooCommerce Inventory Settings: https://snipboard.io/5tCqGr.jpg
    Product Inventory: https://snipboard.io/61COJK.jpg
    Product Variation Setting: https://snipboard.io/wFRoiT.jpg
    Each variation has a price set.

    Front end (Lacks styling at present): https://snipboard.io/rqQZJY.jpg

    Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @paulhuckstepp ,

    Thank you for sending the screenshots. Looking at the screenshot, I do not see any issue with the settings or anything obvious that would cause the variations to always be out of stock. I’m wondering if this is caused by a conflict coming from another plugin or theme.

    Could you please send me a copy of your site’s System Status so I can see if there are any known conflicting plugins or issues I can spot? You can find it via WooCommerce > Status.
    Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here.

    • This reply was modified 4 years, 11 months ago by wpnomad a11n.
    Thread Starter PaulH

    (@paulhuckstepp)

    Here’s the system report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://ultimatefan.co.uk
    Site address (URL): https://ultimatefan.co.uk
    WC Version: 3.8.1
    REST API Version: ? 1.0.2
    Log Directory Writable: ?
    WP Version: 5.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.3.12
    PHP Post Max Size: 20 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 6000
    cURL Version: 7.67.0
    OpenSSL/1.0.2t
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.2.29-MariaDB
    Max Upload Size: 20 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.8.1
    WC Database Prefix: eb19_woo_
    MaxMind GeoIP Database: ?
    Total Database Size: 35.09MB
    Database Data Size: 25.48MB
    Database Index Size: 9.61MB
    eb19_woo_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf7_vdata: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf7_vdata_entry: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf_form_entries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf_form_entry_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf_form_entry_values: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf_pro_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf_queue_failures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf_queue_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf_tracking: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_cf_tracking_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_duplicator_packages: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_content_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_core_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_languages: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_icl_languages_translations: Data: 0.11MB + Index: 0.11MB + Engine MyISAM
    eb19_woo_icl_locale_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_message_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_mo_files_domains: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_icl_node: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_reminders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_strings: Data: 3.30MB + Index: 3.04MB + Engine MyISAM
    eb19_woo_icl_string_packages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_string_pages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_string_positions: Data: 1.35MB + Index: 0.54MB + Engine MyISAM
    eb19_woo_icl_string_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_string_translations: Data: 8.07MB + Index: 4.20MB + Engine MyISAM
    eb19_woo_icl_string_urls: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_translate: Data: 0.04MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_icl_translate_job: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_translations: Data: 0.18MB + Index: 0.38MB + Engine MyISAM
    eb19_woo_icl_translation_batches: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    eb19_woo_icl_translation_status: Data: 0.12MB + Index: 0.07MB + Engine MyISAM
    eb19_woo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_options: Data: 1.17MB + Index: 0.08MB + Engine MyISAM
    eb19_woo_pmxi_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_pmxi_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_pmxi_images: Data: 0.07MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_pmxi_posts: Data: 0.05MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_postmeta: Data: 9.45MB + Index: 0.63MB + Engine MyISAM
    eb19_woo_posts: Data: 1.31MB + Index: 0.34MB + Engine MyISAM
    eb19_woo_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    eb19_woo_term_relationships: Data: 0.01MB + Index: 0.03MB + Engine MyISAM
    eb19_woo_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_usermeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfconfig: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wffilemods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfhits: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    eb19_woo_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfknownfilelist: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wflogins: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    eb19_woo_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    eb19_woo_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wfstatus: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    eb19_woo_wftrafficrates: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_cf_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cf_form_entries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cf_form_entry_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cf_form_entry_values: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cf_queue_failures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cf_queue_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (27) ###
    
    WPML Multilingual CMS: by OnTheGoSystems – 4.3.5
    a3 Lazy Load: by a3rev Software – 2.0.0
    Absolute <> Relative URLs: by Andrew Patterson – 1.6.0
    Advanced Custom Fields Multilingual: by OnTheGoSystems – 1.5.0
    Advanced CF7 DB: by Vsourz Digital – 1.7.2
    Advanced Custom Fields: Font Awesome: by mattkeys – 3.1.1
    Advanced Custom Fields PRO: by Elliot Condon – 5.8.7
    AJAX Thumbnail Rebuild: by junkcoder
    ristoniinemets – 1.13
    
    Auto Upload Images: by Ali Irani – 3.2.2
    Honeypot for Contact Form 7: by Nocean – 1.14.1
    Contact Form 7 Multilingual: by OnTheGoSystems – 1.0.1
    Contact Form 7: by Takayuki Miyoshi – 5.1.6
    Crop Thumbnails: by Volkmar Kantor – 1.2.5
    DLynx Cookie Law Advanced: by Design Lynx Ltd – 1.3
    DLynx Under Construction: by Design Lynx Ltd – 5.2
    Duplicator: by Snap Creek – 1.3.24
    Sortable Word Count Reloaded: by <a href="https://apasionados.es">Apasionados</a> – 1.0.3
    WooCommerce Multilingual: by OnTheGoSystems – 4.7.5
    WooCommerce Product Add-ons: by WooCommerce – 3.0.20
    WooCommerce: by Automattic – 3.8.1
    Wordfence Security: by Wordfence – 7.4.1
    WP All Import Pro: by Soflyy – 4.5.8
    WP Rollback: by Impress.org – 1.7.0
    Smush: by WPMU DEV – 3.3.2
    WPML Media: by OnTheGoSystems – 2.5.5
    WPML String Translation: by OnTheGoSystems – 3.0.5
    WPML Translation Management: by OnTheGoSystems – 2.9.3
    
    ### Inactive Plugins (4) ###
    
    DLynx PageSpeed: by Design Lynx Ltd – 3.6
    WP All Import - ACF Add-On: by Soflyy – 3.2.4
    WP All Import - User Import Add-On Pro: by Soflyy – 1.1.2
    WPML All Import: by OnTheGoSystems – 2.1.1
    
    ### Dropin Plugins (1) ###
    
    maintenance.php: maintenance.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    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: #9 - /shop/
    Basket: #10 - /basket/
    Checkout: #11 - /checkout/
    My account: #12 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Website Framework
    Version: 2.0
    Author URL: https://designlynx.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: w/woocommerce/content-single-product.php
    w/woocommerce/single-product.php
    
    ### Action Scheduler ###
    
    Complete: 0
    Oldest: –
    Newest: –
    
    Pending: 1
    Oldest: 2019-11-22 12:22:11 +0000
    Newest: 2019-11-22 12:22:11 +0000
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    
    Thread Starter PaulH

    (@paulhuckstepp)

    Also, please note that the theme is my own built from scratch. And several of the plugins are my own (names start with DLynx) and I’ve never had any conflicts with those before.

    Thread Starter PaulH

    (@paulhuckstepp)

    Any update on a possible fix? I’m getting to a critical stage of development and need this issue resolved ASAP.

    Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @paulhuckstepp ,

    Thank you for sending the site status report. I do not see anything odd from the status report, and I’m not able to replicate this issue on my test site.

    I suspect the issue is caused by conflict from one of the plugins or the theme.

    I recommend following the steps here to test for a conflict: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    If you prefer not doing the conflict test on the production site, then you can create a staging copy of it using WP Staging.

    Please do a test for conflict and let me know if the issue persists even after conflict testing.

    Thread Starter PaulH

    (@paulhuckstepp)

    After carefully checking through my installed plugins I discovered that the WPML Translation Management plugin is causing the out of stock notification for variation products.

    I’m in the process of contacting WPML to find a solution.

    Plugin Support wpnomad a11n

    (@wpnomad)

    HI @paulhuckstepp ,

    Thank you for updating us about your findings! We hope WPML would be able to resolve this for you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Variable Product always out of stock’ is closed to new replies.