Support » Plugin: WooCommerce » WooCommerce variations stopped working

  • Resolved casparsmits

    (@casparsmits)


    Dear WooCommerce,

    We recently found out our variations are not working. Might have been this way for a few weeks. The problems seem similar to the variations problem people experienced with the 3.0.1 update, but none of our variations are trashed. Yet, all of the variations on the website aren’t working. We have a few thousand products with 5 to 50 variations each. We recently moved servers as well, but we did not notice any problems then (but did not test the variations). Might that have caused it?

    As an example, this product, which is relatively simple:
    https://www.straightdental.com/product/boren/prosthetic/long-life/v368/v368-020-b/

    The variations are in the list but the add-to-basket button doesn’t work. [see screenshot]

    In the backend, the variations are all there [see screenshot], as well as in the database [see screenshot].

    I hope you can help me with my problem. Below the system status report.


    ### WordPress Environment ###

    Home URL: https://www.straightdental.com
    Site URL: https://www.straightdental.com
    WC Version: 3.1.2
    Log Directory Writable: ✔
    WP Version: 4.8.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: nl_NL

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.1.9
    PHP Post Max Size: 32 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.54.0
    OpenSSL/1.0.2k

    SUHOSIN Installed: –
    Max Upload Size: 32 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 3.1.2
    WC Database Prefix: wp_
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    MaxMind GeoIP Database: ✔

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (45) ###

    Hide Admin Bar Toolbar: door sLaNGjI’s Team – 1.6.1.1
    Add From Server: door Dion Hulse – 3.3.3
    AntiVirus: door pluginkollektiv – 1.3.9
    Codefragmenten: door Shea Bunge – 2.9.4
    Contact Form 7: door Takayuki Miyoshi – 4.9
    Scroll Triggered Box: door Dreamgrow Digital – 2.3
    Easy FancyBox: door RavanH – 1.6
    Enhanced E-commerce for Woocommerce store: door Tatvic – 1.1.2
    Envato WordPress Toolkit: door Envato – 1.7.3
    GetBowtied Tools: door GetBowtied – 2.1
    Anti-Malware Security and Brute-Force Firewall: door Eli Scheetz – 4.17.29
    Head, Footer and Post Injections: door Stefano Lissa – 3.0.7
    WPBakery Page Builder: door Michael M – WPBakery.com – 5.3
    Page scroll to id: door malihu – 1.6.2
    PDF Viewer: door Envigeek Web Services – 0.1
    Product CSV Import Export (BASIC): door XAdapter – 1.3.8
    Quick Featured Images: door Martin Stehle – 13.2.2
    Regenerate Thumbnails: door Alex Mills (Viper007Bond) – 2.3.1
    Show Hide Author: door Marios Alexandrou – 2.3
    Simple 301 Redirects: door Scott Nellé – 1.07
    Huge IT Slider: door Huge-IT – 4.0.6
    Speed Booster Pack: door SpeedWorks – 3.5
    SSH SFTP Updater Support: door TerraFrost – 0.7.1
    SSL Insecure Content Fixer: door WebAware – 2.4.0
    String Locator: door Clorith – 2.2.0
    TC Team Members: door themesCode – 1.7
    Term Management Tools: door scribu – 1.1.4
    Varnish HTTP Purge: door Mika Epstein – 4.2.0
    W3 Total Cache: door Frederick Townes – 0.9.5.4
    WC Fields Factory: door Saravana Kumar K – 1.4.0
    Abandoned Cart Lite for WooCommerce: door Tyche Softwares – 4.3
    Woocommerce CSV import variable products: door Allaerd Mensonides – 3.1.0
    Woocommerce CSV Import: door Allaerd Mensonides – 3.3.6
    WooCommerce AdWords Conversion Tracking: door Wolf+Bär GmbH – 1.4.3
    WooCommerce Header Category Image: door Get Bowtied – 1.0.0
    WooCommerce: door Automattic – 3.1.2
    iDEAL Checkout: door iDEAL Checkout – 1.0
    Wordfence Security: door Wordfence – 6.3.19
    WordPress Importeerder: door wordpressdotorg – 0.6.3
    Hustle: door WPMU DEV – 5.1.5.1
    Yoast SEO: door Team Yoast – 5.4.2
    WordPress Database Backup: door Austin Matzko – 2.3.1
    WP-Mail-SMTP: door Callum Macdonald – 0.10.1
    WP Smush: door WPMU DEV – 2.7.4.1
    WP Video Lightbox: door Tips and Tricks HQ
    Ruhul Amin – 1.8.4

    ### Settings ###

    API Enabled: ✔
    Force SSL: –
    Currency: EUR (€)
    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)

    ### WC Pages ###

    Winkelbasis: ❌ Pagina niet ingesteld
    Winkelmand: #434 – /winkelwagen/
    Afrekenen: #435 – /afrekenen/
    Mijn account: #436 – /my-account/

    ### Theme ###

    Name: Shopkeeper Child
    Version: 1.0.0
    Author URL: http://casparsmits.nl
    Child Theme: ✔
    Parent Theme Name: Shopkeeper
    Parent Theme Version: 2.2.5
    Parent Theme Author URL: https://www.getbowtied.com/
    WooCommerce Support: ✔

    ### Templates ###

    Overrides: shopkeeper/woocommerce/archive-product.php
    shopkeeper-child/woocommerce/cart/cart-empty.php versie 2.0.0 is verouderd. De hoofdversie is 3.1.0
    shopkeeper/woocommerce/cart/mini-cart.php
    shopkeeper/woocommerce/checkout/form-coupon.php
    shopkeeper/woocommerce/checkout/form-login.php
    shopkeeper-child/woocommerce/checkout/thankyou.php versie 2.2.0 is verouderd. De hoofdversie is 3.0.0
    shopkeeper-child/woocommerce/content-product.php versie 2.6.1 is verouderd. De hoofdversie is 3.0.0
    shopkeeper-child/woocommerce/content-product_cat.php
    shopkeeper-child/woocommerce/content-single-product.php versie 1.6.4 is verouderd. De hoofdversie is 3.0.0
    shopkeeper-child/woocommerce/emails/customer-on-hold-order.php
    shopkeeper-child/woocommerce/emails/plain/customer-on-hold-order.php
    shopkeeper-child/woocommerce/emails/plain/customer-processing-order.php versie – is verouderd. De hoofdversie is 2.5.0
    shopkeeper/woocommerce/global/quantity-input.php
    shopkeeper/woocommerce/global/sidebar.php
    shopkeeper/woocommerce/global/wrapper-end.php
    shopkeeper/woocommerce/global/wrapper-start.php
    shopkeeper/woocommerce/loop/loop-end.php
    shopkeeper/woocommerce/loop/loop-start.php
    shopkeeper/woocommerce/loop/no-products-found.php
    shopkeeper/woocommerce/myaccount/form-login.php
    shopkeeper/woocommerce/myaccount/my-downloads.php
    shopkeeper/woocommerce/order/form-tracking.php
    shopkeeper/woocommerce/single-product/product-image.php
    shopkeeper/woocommerce/single-product/product-thumbnails.php
    shopkeeper/woocommerce/single-product/tabs/tabs.php
    shopkeeper/woocommerce/single-product-reviews.php
    shopkeeper/woocommerce/single-product.php

    Outdated Templates: ❌Leer hoe te updaten
    `

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Same problem. First set of variations are working, the rest are not. Keep getting invalid value and if I reorder them same thing happens. The first of the variations works, the rest not. So there are no concerns that the variations are not valid, the problem lies in something else.

    Esto es causado por otro plugin con la version antigua de select.js causando conflicto con la version de woocommerce select.js v4

    Lo que yo hice fue desactivar el plugin que me causaba problemas y use otro plugin parecido segun indica este enlace:

    https://wordpress.org/support/topic/3-0-error-option-ajax-is-not-allowed-for-select2/

    En mi caso el plugin desactualizado era ACF Pro, tambien esta la opcion de actualizar el archivo select.js del plugin desactualizado

    Ingrid Chester

    (@mailingridchestercomau)

    I have just updated to Woo Commerce 3.2.0 and my variations all worked fine before the update, now they’ve suddenly stopped working. They all show up on the Products page but when the Add To Cart button is clicked I get a message to say “Please choose product option”.

    Selecting the option doesn’t work.

    Can you help?

    Nothing seems to work, and everything in the back end seems to be correct. Is there anything I might have overlooked?

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi all @casparsmits @ne3po0t @nitromax30 @mailingridchestercomau

    Similar issues to this has been resolved by fully updating the WooCommerce core files, and ensuring any template overrides are not conflicting.

    You can read more about plugin and theme conflicts in the documentation here: https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    • This reply was modified 2 years, 3 months ago by dougaitken. Reason: clarified that I'm resolving thread
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WooCommerce variations stopped working’ is closed to new replies.