• wordcatcherpublishingstaff

    (@wordcatcherpublishingstaff)


    Hi there,

    We are having some issues with our WooCommerce store. Single products are fine, but for our variable products, the ‘Add to basket’ button disappears and the PayPal and credit/debit card buttons are greyed out. When you click on either one of them, you get this error message:

    Please select some product options before adding this product to your basket.

    Here is an example (broken) variable product: [ redundant link removed ]

    However, for some products, the PayPal and credit/debit card buttons do not appear at all, for example: /product/night-hawker/

    Here is an example (working) single product: /product/astounding-bedtime-stories/

    I see others have previously had this same issue. They were asked if it could be related to plugin or theme conflicts. I disabled all plugins except WooCommerce and switched to the Storefront theme. This did not resolve the issue. Therefore, it does not seem to be a theme or plugin issue.

    It was mentioned there could be an issue with a plugin managing the cache. The prime candidate on our site would be WP-Optimize. I would assume even after deactivating it, as I have already tried, due to the nature of cache, this issue would persist.

    Of course, our problem could still be something else entirely.

    Please find a status report from WooCommerce below:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://wordcatcher.com
    Site address (URL): https://wordcatcher.com
    WC Version: 4.8.0
    REST API Version: ? 4.8.0
    WC Blocks Version: ? 3.8.1
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 1.7.3
    Log Directory Writable: ?
    WP Version: 5.6
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.3.24-3+ubuntu18.04.1+deb.sury.org+1
    PHP Post Max Size: 100 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.58.0
    OpenSSL/1.1.1g
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.31-34-log
    Max Upload Size: 50 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 4.8.0
    WC Database Prefix: wp_
    Total Database Size: 83.17MB
    Database Data Size: 61.77MB
    Database Index Size: 21.40MB
    wp_woocommerce_sessions: Data: 8.02MB + Index: 1.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.05MB + 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: 1.02MB + Index: 0.59MB + 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.39MB + Index: 0.30MB + Engine InnoDB
    wp_commentmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_comments: Data: 1.52MB + Index: 0.16MB + Engine InnoDB
    wp_gdpr_cc_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 9.09MB + Index: 1.45MB + Engine InnoDB
    wp_postmeta: Data: 10.52MB + Index: 5.03MB + Engine InnoDB
    wp_posts: Data: 5.52MB + Index: 0.66MB + Engine InnoDB
    wp_redirection_404: Data: 17.52MB + Index: 8.55MB + Engine InnoDB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_redirection_logs: Data: 2.52MB + Index: 0.31MB + Engine InnoDB
    wp_termmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_term_relationships: Data: 0.42MB + Index: 0.31MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.11MB + Index: 0.11MB + Engine InnoDB
    wp_tm_taskmeta: Data: 0.16MB + Index: 0.06MB + Engine InnoDB
    wp_tm_tasks: Data: 0.14MB + Index: 0.02MB + Engine InnoDB
    wp_usermeta: Data: 1.52MB + Index: 0.75MB + Engine InnoDB
    wp_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + 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_meta_lookup: Data: 0.13MB + Index: 0.16MB + 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
    wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforms_entry_fields: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wpforms_entry_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.52MB + Index: 0.45MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.08MB + Index: 0.16MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.30MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 1657
    conductor_qb_queries: 1
    customize_changeset: 3
    elementor_icons: 1
    elementor_library: 13
    event: 3
    feedzy_categories: 1
    jetpack_migration: 2
    jp_img_sitemap: 3
    jp_sitemap: 3
    jp_sitemap_master: 3
    location: 2
    mec_calendars: 11
    mec-events: 97
    nav_menu_item: 194
    oembed_cache: 36
    page: 78
    post: 237
    product: 295
    product_variation: 550
    revision: 1
    shop_coupon: 1
    shop_order: 22
    shop_order_refund: 4
    vgse_editors: 1
    wc_membership_plan: 3
    wc_user_membership: 1
    wpforms: 20
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (25) ###
    
    Akismet Anti-Spam: by Automattic – 4.1.7
    Authors List: by WPKube – 1.2.0
    Co-Authors Plus: by Mohammad Jangda
    Daniel Bachhuber
    Automattic – 3.4.3
    
    Conductor: by Slocum Studio – 1.5.4
    Conductor - Query Builder Add-On: by Slocum Studio – 1.0.6
    Elementor Pro: by Elementor.com – 3.0.8
    Elementor: by Elementor.com – 3.0.14
    GDPR Cookie Compliance (CCPA, PIPEDA ready): by Moove Agency – 4.4.3
    Health Check & Troubleshooting: by The www.ads-software.com community – 1.4.5
    Jetpack by WordPress.com: by Automattic – 9.2.1
    Mailchimp for WooCommerce: by Mailchimp – 2.5.0
    Redirection: by John Godley – 4.9.2
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.42
    
    WProofreader: by WebSpellChecker – 2.6.4
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.1
    WooCommerce Stripe Gateway: by WooCommerce – 4.6.0
    Booster for WooCommerce: by Pluggabl LLC – 5.3.5
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.7.3
    WooCommerce: by Automattic – 4.8.0
    Yoast SEO: by Team Yoast – 15.5
    WP Author Slug: by Konstantin Obenland – 3
    WP Crontrol: by John Blackbourn & contributors – 1.8.5
    WP-Optimize - Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.1.4
    
    WP User Avatar: by ProfilePress – 2.2.8
    WPForms: by WPForms – 1.6.3.1
    
    ### Inactive Plugins (1) ###
    
    UserPro: by Deluxe Themes – 4.9.36
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (5) ###
    
    Force Strong Passwords - WPE Edition: by Jason Cosper – 1.6.4
    Health Check Troubleshooting Mode: by  – 1.7.2
    WP Engine Seamless Login Plugin: by WP Engine – 1.5.5
    WP Engine Security Auditor: by wpengine – 1.0.9
    WP Engine System: by WP Engine – 4.1.0
    
    ### 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: #7 - /shop/
    Basket: #8 - /shop/cart/
    Checkout: #9 - /shop/checkout/
    My account: #10 - /shop/my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Hello Elementor
    Version: 2.3.0
    Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    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: –
    
    ### Action Scheduler ###
    
    Complete: 1,887
    Oldest: 2020-11-16 11:53:56 +0000
    Newest: 2020-12-16 10:44:10 +0000
    
    Pending: 4
    Oldest: 2020-12-16 11:08:44 +0000
    Newest: 2020-12-21 13:19:05 +0000
    
    

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wordcatcherpublishingstaff

    (@wordcatcherpublishingstaff)

    I am using a Windows 10 PC. The problem also exists on my Android phone and my colleague’s Mac computer. It is not isolated, at least for our site, to any one platform.

    Plugin Support Senff

    (@senff)

    Hey @wordcatcherpublishingstaff

    For this product, that you gave as an example of a variable product, it doesn’t seem to show any variations at all, and it appears to be a single product at first glance.

    Can you temporarily switch to the Storefront theme and deactivate Elementor, and send us a screenshot of what it would look like (and see if it’s then possible to add the product to the cart)?

    Thread Starter wordcatcherpublishingstaff

    (@wordcatcherpublishingstaff)

    Hi Senff,

    Thanks for your reply. Regarding The Flying Pig, it is listed as a variable product. I’m not 100% sure why, as my colleague is the one who adds the book entries to the site. I will ask him when he’s back working later what that’s about.

    I have taken a screenshot. Elementor and Elementor Pro have been disabled, and the Storefront theme is in use (Incognito mode in the Google Chrome browser on Windows 10). Following this advice, it is still not possible to add the product to the basket.

    Here is the screenshot.

    The same error remains:

    Please select some product options before adding this product to your basket.

    E: Just to note, the no-buy-button issue seems to be related to the product being out of stock.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Variable Products Error: ‘Please select some product options before adding…’’ is closed to new replies.