Force user to select shipping method before checkout
-
I want the default shipping method to be deselected by default but woocommerce is selecting by default the shipping method. I want to force the user to select from the available shipping methods. I have read this thread (https://www.ads-software.com/support/topic/force-user-to-select-shipping-method-before-checkout/) but it is not working. Can you please help me achieve it?
-
Hi @saadkkhan
The filter does work. Are you logged in when checking? If so, clear your sessions etc. and have another go, or use incognito mode and see.
Cheers!
Hi
I have checked in incognito browser window but it doesn’t work. can you check here please https://www.shaniflowers.co.il/%d7%aa%d7%a9%d7%9c%d7%95%d7%9d/.
I am stuck with it.Hi @saadkkhan.
By default, the shipping options should be radio buttons and not an option dropdown as on your site, and that is why the filter isn’t working.
With that said, are you using any plugins to modify the shipping or checkout page in any way? Could you please paste your system status back here so I can take a closer look? You’ll find that under “WooCommerce > Status” page.
Cheers!
Yes I am using the plugin to make it select instead of radio buttons. Here is the plugin “Shipping Method Display Style for WooCommerce”.
Status report:
### WordPress Environment ### WordPress address (URL): https://www.shaniflowers.co.il Site address (URL): https://www.shaniflowers.co.il WC Version: 6.5.1 REST API Version: ? 6.5.1 WC Blocks Version: ? 7.8.1 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: he_IL External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.3.33 PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 5000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.5.15-MariaDB-cll-lve Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.4.1 WC Database Prefix: wp_ Total Database Size: 233.85MB Database Data Size: 226.97MB Database Index Size: 6.88MB wp_woocommerce_sessions: Data: 0.17MB + 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.17MB + Index: 0.14MB + 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.06MB + Index: 0.13MB + 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.06MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_myCRED_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nm_personalized: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 4.52MB + Index: 0.13MB + Engine InnoDB wp_postmeta: Data: 177.52MB + Index: 3.03MB + Engine InnoDB wp_posts: Data: 21.52MB + Index: 0.84MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + 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_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + 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_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_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.05MB + 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 wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblockediplog: Data: 0.16MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 12.55MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 1.52MB + Index: 0.17MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 6.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.11MB + Index: 0.03MB + Engine InnoDB 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 InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.16MB + Index: 0.11MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 523 custom_css: 2 custom-css-js: 2 elementor_font: 2 elementor_library: 19 elementor_snippet: 1 mycred_rank: 1 nav_menu_item: 27 page: 15 post: 3 product: 38 product_variation: 39 revision: 3428 shop_order: 79 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (31) ### All-in-One WP Migration: by ServMask – 7.61 Cities Shipping Zones for WooCommerce: by Condless – 1.1.8 Click to Chat: by HoliThemes – 3.9.6 Simple Custom CSS and JS: by SilkyPress.com – 3.40 Elementor Pro: by Elementor.com – 3.7.1 Elementor: by Elementor.com – 3.6.6 Essential Addons for Elementor: by WPDeveloper – 5.1.4 F4 Shipping Phone and E-Mail for WooCommerce: by FAKTOR VIER – 1.0.15 Flexible Shipping: by WP Desk – 4.11.9 Float To Top Button: by Rolf van Gelder – 2.3.6 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.5.3 Happy Elementor Addons: by weDevs – 3.6.1 Image Hover Effects - Elementor Addon: by Blocksera – 1.3.6 Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.3 LiteSpeed Cache: by LiteSpeed Technologies – 4.6 MouseWheel Smooth Scroll: by KubiQ – 5.9 myCred: by myCred – 2.4.6.1 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.22.12 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.6.1 Woo Discount Rules: by Flycart – 2.4.1 WooCommerce Blocks: by Automattic – 7.8.1 Shipping Method Display Style for WooCommerce: by theDotstore – 3.7.5 Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.0 ????? - ????? ??????? ????????: by ????? ???? – 4.2.3 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3 PPOM for WooCommerce by N-MEDIA: by Najeeb Ahmad – 24.9 WooCommerce: by Automattic – 6.5.1 (update to version 6.6.0 is available) Wordfence Security: by Wordfence – 7.5.10 WP Google Fonts: by Noah Kagan – 3.1.5 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.2.5 ### Inactive Plugins (3) ### Flexible Checkout Fields: by WP Desk – 3.2.3 MultiStep Checkout for WooCommerce: by ThemeHigh – 2.0.8 WooCommerce PayPal Payments: by WooCommerce – 1.8.1 ### Dropin Plugins (1) ### maintenance.php: maintenance.php ### Must Use Plugins (1) ### installatron_hide_status_test.php: by – ### Settings ### API Enabled: – Force SSL: – Currency: ILS (?) 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: #29 - /items/ Cart: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block. Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block. My account: #32 - /my-account/ Terms and conditions: #3386 - /%d7%aa%d7%a0%d7%90%d7%99-%d7%a9%d7%99%d7%9e%d7%95%d7%a9-%d7%90%d7%9c%d7%9e%d7%a0%d7%98%d7%95%d7%a8/ ### Theme ### Name: ShaniFlowers Version: 2.5.8 Author URL: https://woocommerce.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: – ### Action Scheduler ### Canceled: 1 Oldest: 2022-06-14 21:34:16 +0300 Newest: 2022-06-14 21:34:16 +0300 Complete: 117 Oldest: 2022-05-22 04:53:48 +0300 Newest: 2022-06-21 09:15:00 +0300 Pending: 1 Oldest: 2022-06-21 11:10:38 +0300 Newest: 2022-06-21 11:10:38 +0300 ### Status report information ### Generated at: 2022-06-21 09:51:37 +03:00
-
This reply was modified 2 years, 8 months ago by
saadkkhan.
Thanks, @saadkkhan for getting back.
I can see that you have the plugin Shipping Method Display Style for WooCommerce: by theDotstore – 3.7.5.
This might be changing how the shipping methods appear, making them dropdowns instead of radio buttons as my colleague explained above. I also see this on the plugin’s description page:
Link to image: https://d.pr/i/5MF6pdThat said, could you try disabling this plugin? From there, could you kindly check whether the shipping methods are shown as radio buttons and if the filter to deselect a shipping method by default also works?
Let us know how it goes.
Thanks.Hi @abwaita
I have disabled the plugin now it works good but it is working when plugin is activated. Thanks for your help. Looking forward to get this resolved.Thanks for the update!
I’ve checked your site and it seems that a default shipping method is now not being selected, which is the expectation after using the filter:
Link to image: https://d.pr/i/NPuWcXJust to mention, you may want to clear your browser cache or test using an incognito window to see if everything is okay on your end.
Let us know if we can assist with anything else.
Thanks.
Thanks for the added clarification.
Regarding the dropdown, you might want to check with the authors of this plugin whether have such an accommodation when the filter is applied. – Ask them if no shipping method is selected by default, they can have “no shipping method” selected by default.
Here’s their support forum – https://www.ads-software.com/support/plugin/woo-shipping-display-mode/
Lastly, I see that indeed you have quite a number of shipping methods. Since these seem to be shipping methods for different regions in Israel, could you set up different shipping zones for the different regions?
Also, note that from WooCommerce → Settings → Shipping, you can also choose to hide shipping costs until the customer enters an address.
Thanks for your help.
-
This reply was modified 2 years, 8 months ago by
- The topic ‘Force user to select shipping method before checkout’ is closed to new replies.