Variable Product, Virtual selected BUT shipping still asked at checkout. Why?
-
In Woocommerce, I have setup a VARIABLE PRODUCT. It contains a few variations. Each Variation is ENABLED, ticked as DOWNLOADABLE and VIRTUAL.
My problem is that even though VIRTUAL is ticked, SHIPPING still appears in the LEFT PRODUCT TABS OPTIONS. This causes Woocommerce CHECKOUT to ask the customer for his shipping info. I tested it myself, with ordering only this one product, and shipping info is always requested.
I tried setting up a SIMPLE PRODUCT, and when I tick VIRTUAL the shipping tab disappears from the left options of the product.
MY QUESTIONS:
why does ticking VIRTUAL in all VARIATIONS of a VARIABLE PRODUCT not disable SHIPPING TAB like it does for a SIMPLE PRODUCT?
how can I fix the issue and disable shipping at checkout when a user orders only a VIRTUAL product from a VARIATION?
thanks for your help!Martin
-
Hi @martinperreault ,
Thanks for reaching out!
By default, WooCommerce does not trigger shipping on virtual/downloadable products.
In order for a better understanding of your site setup, could you please share a copy of your sites System Status, which you can find via?WooCommerce > Status. Select ‘Get system report’ and then ‘Copy for support’. Once you do this, you can paste your response here.
Additionally, if you could share a screenshot showing your product setup, that would be helpful. We recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.
Thanks!
Thank you for your reply! This is appreciated!
Below is the System Status as requested, and a screenshot of the product setup.
SCREENSHOT:
https://snipboard.io/9ow2XG.jpgSYSTEM STATUS:
### WordPress Environment ### WordPress address (URL): https://www.ilovebianca.com Site address (URL): https://www.ilovebianca.com WC Version: 6.5.1 REST API Version: ? 6.5.1 WC Blocks Version: ? 7.4.3 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: ? 5.9.2 - There is a newer version of WordPress available (5.9.3) WP Multisite: – WP Memory Limit: 8 GB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.33 PHP Post Max Size: 10 GB PHP Time Limit: 80000 PHP Max Input Vars: 5000 cURL Version: 7.83.1 OpenSSL/1.1.1o SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.35-MariaDB Max Upload Size: 10 GB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.4.1 WC Database Prefix: wp_ Total Database Size: 222.36MB Database Data Size: 160.17MB Database Index Size: 62.19MB wp_woocommerce_sessions: Data: 3.86MB + Index: 0.06MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.05MB + Index: 0.06MB + Engine MyISAM wp_woocommerce_order_items: Data: 1.51MB + Index: 0.61MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 10.76MB + Index: 5.11MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ip2nation: Data: 2.52MB + Index: 1.52MB + Engine InnoDB ip2nationCountries: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.16MB + Index: 0.20MB + 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.13MB + Index: 0.09MB + Engine InnoDB wp_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_aiowps_failed_logins: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_aiowps_login_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_aiowps_login_lockdown: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_bwf_contact: Data: 0.48MB + Index: 0.39MB + Engine InnoDB wp_bwf_contact_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_bwf_wc_customers: Data: 0.30MB + Index: 0.11MB + Engine InnoDB wp_commentmeta: Data: 0.83MB + Index: 0.60MB + Engine MyISAM wp_comments: Data: 7.66MB + Index: 2.72MB + Engine MyISAM wp_eemail_newsletter: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_eemail_newsletter_sub: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wp_eshop_base_products: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_eshop_countries: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_eshop_discount_codes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_eshop_downloads: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_eshop_download_orders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_eshop_emails: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_eshop_option_names: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_eshop_option_sets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_eshop_orders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_eshop_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_eshop_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_eshop_states: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_eshop_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ewwwio_images: Data: 4.91MB + Index: 1.48MB + Engine MyISAM wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_lockdowns: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_login_fails: Data: 0.40MB + Index: 0.14MB + Engine MyISAM wp_looksee2_core: Data: 0.14MB + Index: 0.11MB + Engine MyISAM wp_looksee2_files: Data: 16.69MB + Index: 8.13MB + Engine MyISAM wp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nextend2_section_storage: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nextend2_smartslider3_sliders: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nextend2_smartslider3_slides: Data: 0.13MB + Index: 0.11MB + Engine InnoDB wp_nm_personalized: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 4.58MB + Index: 0.57MB + Engine MyISAM wp_pluginSL_shorturl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxe_exports: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxe_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxe_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_popularpostsdata: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_popularpostsdatacache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_postmeta: Data: 46.02MB + Index: 15.41MB + Engine MyISAM wp_posts: Data: 4.17MB + Index: 2.48MB + Engine MyISAM wp_redirection_404: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_redirection_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_redirection_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_redirection_modules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_css: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_shareyourcart_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_shareyourcart_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sm_advanced_search_temp: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_sm_views: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sr_woo_order_items: Data: 1.39MB + Index: 0.30MB + Engine MyISAM wp_tcb_api_error_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_td_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_td_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_termmeta: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_term_relationships: Data: 0.12MB + Index: 0.22MB + Engine MyISAM wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_tm_taskmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tpcmem_checkpoints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tpcmem_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tve_leads_contacts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tve_leads_contact_download: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tve_leads_event_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tve_leads_form_variations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tve_leads_group_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tve_leads_saved_group_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tve_leads_split_test: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tve_leads_split_test_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_usermeta: Data: 17.14MB + Index: 10.10MB + Engine MyISAM wp_users: Data: 1.93MB + Index: 1.13MB + Engine MyISAM wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.38MB + Index: 0.22MB + Engine InnoDB wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp_wc_order_product_lookup: Data: 1.52MB + Index: 0.84MB + Engine InnoDB wp_wc_order_stats: Data: 1.52MB + Index: 0.48MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.44MB + Index: 0.34MB + 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.10MB + Index: 0.12MB + Engine MyISAM 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.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_websitez_stats: Data: 0.15MB + Index: 0.00MB + Engine MyISAM wp_wfBlockedIPLog: Data: 0.03MB + Index: 0.02MB + Engine MyISAM wp_wfBlocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfConfig: Data: 2.42MB + Index: 0.01MB + Engine MyISAM wp_wfco_report_views: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfCrawlers: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wfFileChanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfFileMods: Data: 6.59MB + Index: 0.76MB + Engine MyISAM wp_wfHits: Data: 0.90MB + Index: 0.13MB + Engine MyISAM wp_wfHoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfIssues: Data: 0.08MB + Index: 0.01MB + Engine MyISAM wp_wfKnownFileList: Data: 4.82MB + Index: 0.23MB + Engine MyISAM wp_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfLocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfLogins: Data: 0.34MB + Index: 0.08MB + Engine MyISAM wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfNotifications: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_wfocu_event: Data: 0.23MB + Index: 0.27MB + Engine InnoDB wp_wfocu_event_meta: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wp_wfocu_session: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_wfPendingIssues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfStatus: Data: 0.12MB + Index: 0.06MB + Engine MyISAM wp_wfTrafficRates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woo_sr_cart_items: Data: 1.67MB + Index: 1.42MB + Engine MyISAM wp_woo_sr_orders: Data: 0.77MB + Index: 0.28MB + Engine MyISAM wp_woo_sr_order_items: Data: 0.43MB + Index: 0.31MB + Engine MyISAM wp_wow_countdowns_free: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpda_contdown_extend_theme: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_contdown_extend_timer: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wppa_albums: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wppa_comments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wppa_exif: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wppa_iptc: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wppa_photos: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wppa_rating: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wp_email_capture_registered_members: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wp_email_capture_temp_members: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wp_quiz_play_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wsal_metadata: Data: 0.65MB + Index: 0.37MB + Engine MyISAM wp_wsal_occurrences: Data: 0.05MB + Index: 0.07MB + Engine MyISAM wp_wsal_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wsluserscontacts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wslusersprofiles: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wtbp_tables: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wysija_campaign: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wysija_campaign_list: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wysija_email: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_wysija_email_user_stat: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wysija_email_user_url: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wysija_list: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wysija_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wysija_url: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wysija_url_mail: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wysija_user: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wysija_user_field: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wysija_user_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wysija_user_list: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yapbimage: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_indexable: Data: 8.52MB + Index: 3.27MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.11MB + 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.41MB + Index: 0.23MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.09MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 3656 custom_css: 2 elementor_library: 6 gp_elements: 3 landing-page: 2 nav_menu_item: 148 notificationx: 1 oembed_cache: 4 optionsframework: 3 page: 41 post: 57 product: 714 product_variation: 734 pwbf_event: 1 revision: 4 shop_coupon: 6 shop_order: 6436 shop_order_refund: 125 tabs_responsive: 1 tve_lead_group: 1 wafs: 1 wcct_countdown: 19 wcssm-sales: 4 wcst_trigger: 10 wfocu_funnel: 8 wfocu_offer: 14 wooframework: 100 wp_quiz: 1 wpcf7_contact_form: 1 wphb_minify_group: 42 wysijap: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (68) ### Akismet Anti-Spam: by Automattic – 4.2.4 Autoptimize: by Frank Goossens (futtta) – 3.0.4 Auto tweet woocommerce sales: by Esaul – 1.1.4 Better Search Replace: by Delicious Brains – 1.4 BIALTY - Bulk Image Alt Text (Alt tag, Alt Attribute) with Yoast SEO + WooCommerce: by Pagup – 1.4.3 Classic Editor: by WordPress Contributors – 1.6.2 Classic Widgets: by WordPress Contributors – 0.3 Contact Form 7: by Takayuki Miyoshi – 5.5.6.1 GDPR Cookie Consent: by WebToffee – 2.1.2 Custom Content by Country (from iControlWP): by One Dollar Plugin – 2.19.200520 Customer Reviews for WooCommerce: by CusRev – 4.39 Disable Admin Notices Individually: by Creative Motion – 1.2.9 Disable Comments: by WPDeveloper – 2.3.5 Elementor: by Elementor.com – 3.6.5 Email Users: by Mike Walsh & MarvinLabs – 4.8.8 Enable Media Replace: by ShortPixel – 3.6.3 Enhanced Text Widget: by Clever Widgets – 1.5.3 EWWW Image Optimizer: by Exactly WWW – 6.5.2 Finale - WooCommerce Sales Countdown Timer & Discount Plugin: by XLPlugins – 2.16.1 Flexible Shipping: by WP Desk – 4.11.7 Fruitful Shortcodes: by fruitfulcode – 2.1 GAinWP Google Analytics Integration for WordPress: by IntelligenceWP – 5.4.6 Google XML Sitemaps: by Auctollo – 4.1.1 GP Premium: by Tom Usborne – 2.1.2 Health Check & Troubleshooting: by The www.ads-software.com community – 1.4.5 Insert Headers and Footers: by WPBeginner – 1.6.2 Manage Notification E-mails: by Virgial Berveling – 1.8.2 OneSignal Push Notifications: by OneSignal – 2.2.7 OneSignal Sender: by Marc Bou Sleiman – 1.4 Page Management Dropdown: by Jascha Ephraim – 2.7 PayPal for WooCommerce: by Angell EYE – 1.5.7 WooCommerce Donation Or Tip On Cart And Checkout: by Magerips – 1.5 Simple Masonry Gallery: by Katsushi Kawamori – 7.02 Smart Manager - WooCommerce Inventory Management, Bulk Edit & more...: by StoreApps – 6.0.0 Smart Reporter for e-commerce: by StoreApps – 2.9.15 Smart Slider 3: by Nextend – 3.5.1.4 WP WooCommerce Best Selling Products by Category: by WP Online Support – 1.2 Super Socializer: by Team Heateor – 7.13.34 Tabs Responsive: by wpshopmart – 2.3.1 Temporary Login Without Password: by StoreApps – 1.7.2 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 2.22.12.25 Import Export WordPress Users and WooCommerce Customers: by WebToffee – 2.3.0 Woo Out Of Stock Products: by Andrew Gunn – 2.3 WooCommerce Canada Post Shipping API for Admin: by Alexander – 1.1.1 WooCommerce Currency Converter: by WooCommerce – 1.6.27 Print Invoice & Delivery Notes for WooCommerce: by Tyche Softwares – 4.6.5 Woocommerce Dropdown Cart Widget.: by Andrew Benbow – 1.1 WooCommerce Dynamic Pricing: by Element Stark – 3.1.27 WooCommerce - Facebook Tab: by WooThemes – 1.2.0 WooCommerce New Product Badge: by jameskoster – 0.3.0 WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 2.14.5 PPOM for WooCommerce by N-MEDIA: by Najeeb Ahmad – 24.8 WooCommerce Product Add-ons: by WooCommerce – 4.9.0 Woocommerce Products Per Page: by Jeroen Sormani – 1.2.6 WooCommerce Sale Flash Pro: by WooCommerce – 1.2.22 WooCommerce Sales by Country: by MH Mithu – 1.5 Scheduled Sale Manager for WooCommerce: by Berend de Jong – 1.8.3 WooCommerce Sequential Order Numbers: by SkyVerge – 1.9.6 WooCommerce Canada Post Shipping: by WooCommerce – 2.5.27 WooCommerce: by Automattic – 6.5.1 UpStroke: WooCommerce One Click Upsells: by buildwoofunnels – 3.3.6 Wordfence Security: by Wordfence – 7.5.10 WordPress Importer: by wordpressdotorg – 0.7 Yoast SEO: by Team Yoast – 18.9 WP Fastest Cache: by Emre Vona – 1.0.1 WP File Manager: by mndpsingh287 – 7.1.5 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.2.3 XL WooCommerce Sales Triggers: by XLPlugins – 2.10.0 ### Inactive Plugins (9) ### Elementor Button Extended: by InternetCSS – 1.0.2 Essential Addons for Elementor: by WPDeveloper – 5.1.2 Google Website Translator: by Prisna – 1.4.5 Show Stock Status for WooCommerce: by Bright Plugins – 1.0.3 WooCommerce Payment Gateway - CCBill: by CCBill – 1.4.0 WooCommerce Sales By Location Report: by ChuckMac Development – 1.3.2 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.22 WP Crontrol: by John Blackbourn & crontributors – 1.12.1 WP Google Analytics Events: by PineWise – 2.7.1 ### 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: 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: – ### WC Pages ### Shop base: #15 - /shop/ Cart: #16 - /cart/ Checkout: #8 - /shopping-cart/checkout/ My account: #18 - /my-account/ Terms and conditions: #163 - /privacy-policy/ ### Theme ### Name: GeneratePress Child Version: 0.1 Author URL: https://tomusborne.com Child Theme: ? Parent Theme Name: GeneratePress Parent Theme Version: 3.1.3 Parent Theme Author URL: https://tomusborne.com WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Complete: 485 Oldest: 2022-05-11 13:21:32 -0400 Newest: 2022-05-24 10:34:14 -0400 ### Status report information ### Generated at: 2022-05-24 10:35:49 -04:00
Hello,
Thank you for sharing your system status and screenshot. Before troubleshooting further, I’d recommend updating below so your site can function properly:
WP Version: ? 5.9.2 – You’ll also want to make sure your theme and plugins are up to date
PHP Version: 7.3.33 – If you are not sure how to update your PHP version, your hosting provider can help you with this. In case you haven’t checked, here are our server recommendations: https://woocommerce.com/document/server-requirements/#section-2
WC Database Version: 6.4.1 – Database version has to match your current WooCommerce version which is 6.5.1. I’d first recommend making a backup of your site, and then update your database from WooCommerce > Status > Tools.
If all updated but your virtual/downloadable products still don’t work properly, the next thing you’ll want to do is to check if another plugin or your theme is interfering the default functionality. The best way to do this is to temporarily deactivate all plugins except WooCommerce and switch theme to Storefront. If that resolves the issue, then re-enable plugins one-by-one until you find the one that’s causing the conflict.
You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
Hi @martinperreault ,
Thanks for providing the System Status.
I have been able to replicate your issue on my staging site, which has the default Storefront theme, and uses updated versions of WooCommerce, and WordPress.
With this being said, I have found a snippet which I have tested on my site and can confirm that it is working.
Please see the custom PHP below:
add_filter( 'woocommerce_checkout_fields' , 'bbloomer_simplify_checkout_virtual' ); function bbloomer_simplify_checkout_virtual( $fields ) { $only_virtual = true; foreach( WC()->cart->get_cart() as $cart_item_key => $cart_item ) { // Check if there are non-virtual products if ( ! $cart_item['data']->is_virtual() ) $only_virtual = false; } if( $only_virtual ) { unset($fields['billing']['billing_company']); unset($fields['billing']['billing_address_1']); unset($fields['billing']['billing_address_2']); unset($fields['billing']['billing_city']); unset($fields['billing']['billing_postcode']); unset($fields['billing']['billing_country']); unset($fields['billing']['billing_state']); unset($fields['billing']['billing_phone']); add_filter( 'woocommerce_enable_order_notes_field', '__return_false' ); } return $fields; }
The best way to make changes like this to a theme is to use a child theme, so your tweaks won’t be overwritten when updating the theme.
Let me know how this goes!
@roxannestoltz THANK YOU THANK YOU THANK YOU! This snipped works like a charm! I tested it with my variation products that are ticked Virtual, and now checkout does not ask for shipping info anymore. I further tested by then adding a second product, this time a product that does require shipping, and checkout asks for shipping info like it should. So there doesn’t seem to be any conflict when the cart contains both type of products.
This problem was driving me crazy. I’m grateful for your help!
Hi @martinperreault ,
Happy to hear that your issue is now resolved, and everything is working on your end.
You are most welcome ?? Glad I could help!
Please would you mark this topic as resolved in the sidebar if you feel this issue has been resolved adequately?
Thanks!
- The topic ‘Variable Product, Virtual selected BUT shipping still asked at checkout. Why?’ is closed to new replies.