Checkout state/country checkout optional
-
Dear support,
My State/Country section in my checkout page is stuck in optional, i tried many codes but it did not work. i need it to be required!!
i would really appreciate your help
The page I need help with: [log in to see the link]
-
Hi @ramzi27
Thanks for reaching out!
I checked your site and verified that the
State / Country
field on your Checkout page is optional.Image Link: https://snipboard.io/U3sbm9.jpg
By default, this is a required field as you can see on my test site here:
Image Link: https://snipboard.io/iBwJCR.jpg
You need to find if you have any custom code or third-party plugin which causes this issue.
Meanwhiel, I’d like to understand your site properly, can you please share your System Status Report, that will help us further troubleshoot.
You can find it via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.Hello @xue28 ,
Thank you for replying, yeah I know that by default it is required and it is making me wonder honestly. I would be happy to share the system report.
### WordPress Environment ### WordPress address (URL): https://fitnyum.com Site address (URL): https://fitnyum.com WC Version: 7.0.0 REST API Version: ? 7.0.0 WC Blocks Version: ? 8.5.1 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.28 PHP Post Max Size: 516 MB PHP Time Limit: 60 PHP Max Input Vars: 1000 cURL Version: 7.81.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.6.41-84.1 Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.0.0 WC Database Prefix: wp_ Total Database Size: 7.67MB Database Data Size: 6.98MB Database Index Size: 0.69MB wp_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB + 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.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + 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.00MB + 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 wp_actionscheduler_actions: Data: 0.12MB + Index: 0.06MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 0.07MB + Index: 0.06MB + Engine MyISAM wp_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 2.81MB + Index: 0.08MB + Engine MyISAM wp_postmeta: Data: 1.41MB + Index: 0.17MB + Engine MyISAM wp_posts: Data: 2.21MB + Index: 0.11MB + Engine MyISAM wp_revslider_css: Data: 0.09MB + Index: 0.01MB + Engine MyISAM wp_revslider_css_bkp: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_layer_animations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_navigations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_sliders: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_revslider_sliders_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_slides: Data: 0.11MB + Index: 0.00MB + Engine MyISAM wp_revslider_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_static_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_usermeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### apus_footer: 2 apus_testimonial: 7 attachment: 406 br_labels: 54 custom_css: 1 customize_changeset: 63 mc4wp-form: 1 nav_menu_item: 56 page: 36 post: 10 product: 26 revision: 336 wa-order-numbers: 1 whatsapp-accounts: 1 wp_global_styles: 1 wpcf7_contact_form: 4 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (17) ### WooCommerce Advanced Product Labels: by BeRocket – 1.2.3.9 Apus Framework: by Team ApusTheme – 2.2 Classic Widgets: by WordPress Contributors – 0.3 CMB2: by CMB2 team – 2.10.1 Code Snippets: by Code Snippets Pro – 3.2.1 Contact Form 7: by Takayuki Miyoshi – 5.6.4 Custom Currency For WooCommerce: by I am Programmer – 5.4.0 Duplicate Page: by mndpsingh287 – 4.4.9 WPBakery Page Builder: by Michael M - WPBakery.com – 6.9.0 MC4WP: Mailchimp for WordPress: by ibericode – 4.8.10 OneClick Chat to Order: by Walter Pinem – 1.0.4.1 Slider Revolution: by ThemePunch – 6.5.24 Under Construction: by WebFactory Ltd – 3.93 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.8.0 WPC Smart Quick View for WooCommerce: by WPClever – 3.2.0 WooCommerce: by Automattic – 7.0.0 (update to version 7.0.1 is available) WP Fastest Cache: by Emre Vona – 1.0.6 ### Inactive Plugins (2) ### Flexible Checkout Fields: by WP Desk – 3.4.3 WP Chat App: by NinjaTeam – 3.2 ### Must Use Plugins (1) ### SSO: by Garth Mortensen Mike Hansen – 0.4 ### Settings ### API Enabled: ? Force SSL: – Currency: AED (AED) Currency Position: left_space 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: #9 - /shop/ Cart: #10 - /cart/ Checkout: #6 - /checkout-2/ My account: #12 - /my-account/ Terms and conditions: #1518 - /terms-conditions/ ### Theme ### Name: Greenorganic Version: 2.25 Author URL: https://apusthemes.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: greenorganic/woocommerce/archive-product.php greenorganic/woocommerce/cart/cart.php greenorganic/woocommerce/cart/cross-sells.php greenorganic/woocommerce/cart/mini-cart.php greenorganic/woocommerce/cart/proceed-to-checkout-button.php greenorganic/woocommerce/checkout/form-billing.php greenorganic/woocommerce/checkout/form-checkout.php greenorganic/woocommerce/checkout/form-shipping.php greenorganic/woocommerce/checkout/payment.php greenorganic/woocommerce/checkout/thankyou.php greenorganic/woocommerce/content-product.php greenorganic/woocommerce/content-single-product.php greenorganic/woocommerce/global/breadcrumb.php greenorganic/woocommerce/loop/add-to-cart.php greenorganic/woocommerce/loop/loop-end.php greenorganic/woocommerce/loop/loop-start.php greenorganic/woocommerce/loop/orderby.php greenorganic/woocommerce/loop/pagination.php greenorganic/woocommerce/loop/rating.php greenorganic/woocommerce/myaccount/form-add-payment-method.php greenorganic/woocommerce/myaccount/form-edit-account.php greenorganic/woocommerce/myaccount/form-login.php version 4.1.0 is out of date. The core version is 6.0.0 greenorganic/woocommerce/myaccount/form-lost-password.php greenorganic/woocommerce/myaccount/my-address.php greenorganic/woocommerce/myaccount/my-orders.php greenorganic/woocommerce/single-product/add-to-cart/external.php greenorganic/woocommerce/single-product/add-to-cart/grouped.php greenorganic/woocommerce/single-product/add-to-cart/simple.php greenorganic/woocommerce/single-product/add-to-cart/variable.php version 3.5.5 is out of date. The core version is 6.1.0 greenorganic/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php greenorganic/woocommerce/single-product/related.php greenorganic/woocommerce/single-product/review.php greenorganic/woocommerce/single-product/tabs/additional-information.php greenorganic/woocommerce/single-product/tabs/description.php greenorganic/woocommerce/single-product/tabs/tabs.php greenorganic/woocommerce/single-product/up-sells.php greenorganic/woocommerce/single-product-reviews.php greenorganic/woocommerce/single-product.php greenorganic/woocommerce/content-product_cat.php Outdated Templates: ? Learn how to update ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ? Next scheduled: 2022-11-03 14:30:13 +00:00 Options: ? Notes: 64 Onboarding: skipped ### Action Scheduler ### Complete: 421 Oldest: 2022-10-03 08:29:52 +0000 Newest: 2022-11-03 07:14:57 +0000 Pending: 1 Oldest: 2022-11-03 09:00:15 +0000 Newest: 2022-11-03 09:00:15 +0000 ### Status report information ### Generated at: 2022-11-03 08:12:49 +00:00
hi @xue28 ,
never mind it was a problem with a code I entered, thank you for your time
Hi there @ramzi27 ??
never mind it was a problem with a code I entered, thank you for your time
I’m glad we were able to help! If you have a few minutes, we’d love if you could leave us a review: https://www.ads-software.com/support/plugin/woocommerce/reviews/
yes i did so
Thank you
- The topic ‘Checkout state/country checkout optional’ is closed to new replies.